| 109 | } |
| 110 | |
| 111 | bool IsNestedDissectionAvailable(SparseLinearAlgebraLibraryType type) { |
| 112 | return (((type == SUITE_SPARSE) && |
| 113 | internal::SuiteSparse::IsNestedDissectionAvailable()) || |
| 114 | (type == ACCELERATE_SPARSE) || |
| 115 | ((type == EIGEN_SPARSE) && |
| 116 | internal::EigenSparse::IsNestedDissectionAvailable())); |
| 117 | } |
| 118 | |
| 119 | bool IsIterativeSolver(LinearSolverType type) { |
| 120 | return (type == CGNR || type == ITERATIVE_SCHUR); |
no outgoing calls
no test coverage detected