| 34 | namespace colmap { |
| 35 | |
| 36 | void SparseCholeskyWithFallbackSolver::AnalyzePattern( |
| 37 | const Eigen::SparseMatrix<double>& A) { |
| 38 | supernodal_.analyzePattern(A); |
| 39 | // LDLT pattern is analyzed lazily on first fallback, since the common case |
| 40 | // never needs it. |
| 41 | } |
| 42 | |
| 43 | bool SparseCholeskyWithFallbackSolver::Factorize( |
| 44 | const Eigen::SparseMatrix<double>& A) { |