Home | History | Annotate | Download | only in ceres

Lines Matching defs:options

59   void TestSolver(const LinearSolver::Options& options) {
70 if (options.type == DENSE_QR ||
71 options.type == DENSE_NORMAL_CHOLESKY) {
73 } else if (options.type == SPARSE_NORMAL_CHOLESKY) {
85 LOG(FATAL) << "Unknown linear solver : " << options.type;
89 scoped_ptr<LinearSolver> solver(LinearSolver::Create(options));
97 solver.reset(LinearSolver::Create(options));
134 LinearSolver::Options options;
135 options.type = DENSE_QR;
136 options.dense_linear_algebra_library_type = EIGEN;
137 TestSolver(options);
141 LinearSolver::Options options;
142 options.dense_linear_algebra_library_type = EIGEN;
143 options.type = DENSE_NORMAL_CHOLESKY;
144 TestSolver(options);
149 LinearSolver::Options options;
150 options.type = DENSE_QR;
151 options.dense_linear_algebra_library_type = LAPACK;
152 TestSolver(options);
156 LinearSolver::Options options;
157 options.dense_linear_algebra_library_type = LAPACK;
158 options.type = DENSE_NORMAL_CHOLESKY;
159 TestSolver(options);
166 LinearSolver::Options options;
167 options.sparse_linear_algebra_library_type = SUITE_SPARSE;
168 options.type = SPARSE_NORMAL_CHOLESKY;
169 options.use_postordering = false;
170 TestSolver(options);
175 LinearSolver::Options options;
176 options.sparse_linear_algebra_library_type = SUITE_SPARSE;
177 options.type = SPARSE_NORMAL_CHOLESKY;
178 options.use_postordering = true;
179 TestSolver(options);
184 LinearSolver::Options options;
185 options.sparse_linear_algebra_library_type = SUITE_SPARSE;
186 options.type = SPARSE_NORMAL_CHOLESKY;
187 options.dynamic_sparsity = true;
188 TestSolver(options);
195 LinearSolver::Options options;
196 options.sparse_linear_algebra_library_type = CX_SPARSE;
197 options.type = SPARSE_NORMAL_CHOLESKY;
198 options.use_postordering = false;
199 TestSolver(options);
204 LinearSolver::Options options;
205 options.sparse_linear_algebra_library_type = CX_SPARSE;
206 options.type = SPARSE_NORMAL_CHOLESKY;
207 options.use_postordering = true;
208 TestSolver(options);
213 LinearSolver::Options options;
214 options.sparse_linear_algebra_library_type = CX_SPARSE;
215 options.type = SPARSE_NORMAL_CHOLESKY;
216 options.dynamic_sparsity = true;
217 TestSolver(options);
224 LinearSolver::Options options;
225 options.sparse_linear_algebra_library_type = EIGEN_SPARSE;
226 options.type = SPARSE_NORMAL_CHOLESKY;
227 options.use_postordering = false;
228 TestSolver(options);
233 LinearSolver::Options options;
234 options.sparse_linear_algebra_library_type = EIGEN_SPARSE;
235 options.type = SPARSE_NORMAL_CHOLESKY;
236 options.use_postordering = true;
237 TestSolver(options);
242 LinearSolver::Options options;
243 options.sparse_linear_algebra_library_type = EIGEN_SPARSE;
244 options.type = SPARSE_NORMAL_CHOLESKY;
245 options.dynamic_sparsity = true;
246 TestSolver(options);