Lines Matching defs:partial_lu_impl
216 struct partial_lu_impl struct
223 typedef Map<Matrix<Scalar, Dynamic, Dynamic, StorageOrder> > MapLU;
224 typedef Block<MapLU, Dynamic, Dynamic> MatrixType;
225 typedef Block<MatrixType,Dynamic,Dynamic> BlockType;
226 typedef typename MatrixType::RealScalar RealScalar;
227 typedef typename MatrixType::Index Index;
239 …tatic Index unblocked_lu(MatrixType& lu, PivIndex* row_transpositions, PivIndex& nb_transpositions) in unblocked_lu()
303 const Index size = (std::min)(rows,cols);
313 Index blockSize;
321 Index first_zero_pivot = -1;
322 for(Index k = 0; k < size; k+=blockSize)
324 Index bs = (std::min)(size-k,blockSize); // actual size of the block
325 Index trows = rows - k - bs; // trailing rows
326 Index tsize = size - k - bs; // trailing size
339 PivIndex nb_transpositions_in_panel;
342 Index ret = blocked_lu(trows+bs, bs, &lu.coeffRef(k,k), luStride,
349 for(Index i=k; i<k+bs; ++i)
351 Index piv = (row_transpositions[i] += k);
379 partial_lu_impl in partial_lu_inplace() argument