Lines Matching refs:options

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