Lines Matching defs:nb_transpositions
360 * of columns of the matrix \a lu, and an integer \a nb_transpositions
365 static Index unblocked_lu(MatrixType& lu, PivIndex* row_transpositions, PivIndex& nb_transpositions)
372 nb_transpositions = 0;
391 ++nb_transpositions;
417 * of columns of the matrix \a lu, and an integer \a nb_transpositions
426 static Index blocked_lu(Index rows, Index cols, Scalar* lu_data, Index luStride, PivIndex* row_transpositions, PivIndex& nb_transpositions, Index maxBlockSize=256)
436 return unblocked_lu(lu, row_transpositions, nb_transpositions);
448 nb_transpositions = 0;
475 nb_transpositions += nb_transpositions_in_panel;
502 void partial_lu_inplace(MatrixType& lu, TranspositionType& row_transpositions, typename TranspositionType::StorageIndex& nb_transpositions)
509 ::blocked_lu(lu.rows(), lu.cols(), &lu.coeffRef(0,0), lu.outerStride(), &row_transpositions.coeffRef(0), nb_transpositions);
529 typename TranspositionType::StorageIndex nb_transpositions;
530 internal::partial_lu_inplace(m_lu, m_rowsTranspositions, nb_transpositions);
531 m_det_p = (nb_transpositions%2) ? -1 : 1;