\brief Analyze and factorize the matrix so the solver is ready to solve. * * Compute the symbolic and numeric factorization of the input sparse matrix. * The input matrix should be in column-major storage, otherwise analyzePattern() * will do a heavy copy. * * Call analyzePattern() followed by factorize() * * \sa analyzePattern(), factorize() */
| 208 | * \sa analyzePattern(), factorize() |
| 209 | */ |
| 210 | void compute(const MatrixType& matrix) { |
| 211 | // Analyze |
| 212 | analyzePattern(matrix); |
| 213 | // Factorize |
| 214 | factorize(matrix); |
| 215 | } |
| 216 | |
| 217 | /** \brief Return a solver for the transposed matrix. |
| 218 | * |