Home | History | Annotate | Download | only in ceres

Lines Matching refs:options

59   void TestSolver(const LinearSolver::Options& options) {
60 scoped_ptr<LinearSolver> solver(LinearSolver::Create(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;
122 LinearSolver::Options options;
123 options.type = DENSE_QR;
124 options.dense_linear_algebra_library_type = EIGEN;
125 TestSolver(options);
129 LinearSolver::Options options;
130 options.dense_linear_algebra_library_type = EIGEN;
131 options.type = DENSE_NORMAL_CHOLESKY;
132 TestSolver(options);
137 LinearSolver::Options options;
138 options.type = DENSE_QR;
139 options.dense_linear_algebra_library_type = LAPACK;
140 TestSolver(options);
144 LinearSolver::Options options;
145 options.dense_linear_algebra_library_type = LAPACK;
146 options.type = DENSE_NORMAL_CHOLESKY;
147 TestSolver(options);
154 LinearSolver::Options options;
155 options.sparse_linear_algebra_library_type = SUITE_SPARSE;
156 options.type = SPARSE_NORMAL_CHOLESKY;
157 options.use_postordering = false;
158 TestSolver(options);
163 LinearSolver::Options options;
164 options.sparse_linear_algebra_library_type = SUITE_SPARSE;
165 options.type = SPARSE_NORMAL_CHOLESKY;
166 options.use_postordering = true;
167 TestSolver(options);
174 LinearSolver::Options options;
175 options.sparse_linear_algebra_library_type = CX_SPARSE;
176 options.type = SPARSE_NORMAL_CHOLESKY;
177 options.use_postordering = false;
178 TestSolver(options);
183 LinearSolver::Options options;
184 options.sparse_linear_algebra_library_type = CX_SPARSE;
185 options.type = SPARSE_NORMAL_CHOLESKY;
186 options.use_postordering = true;
187 TestSolver(options);