* Compute the symbolic and numeric factorization of the input sparse matrix. * The input matrix should be in column-major storage. */
| 122 | * The input matrix should be in column-major storage. |
| 123 | */ |
| 124 | void compute (const MatrixType& matrix) |
| 125 | { |
| 126 | // Analyze |
| 127 | analyzePattern(matrix); |
| 128 | //Factorize |
| 129 | factorize(matrix); |
| 130 | } |
| 131 | |
| 132 | inline Index rows() const { return m_mat.rows(); } |
| 133 | inline Index cols() const { return m_mat.cols(); } |