Lines Matching refs:solver
9 %Eigen currently provides a wide set of built-in solvers, as well as wrappers to external solver li…
86 \section TutorialSparseSolverConcept Sparse solver concept
98 SolverClassName<SparseMatrix<double> > solver;
99 solver.compute(A);
100 if(solver.info()!=Success) {
104 x = solver.solve(b);
105 if(solver.info()!=Success) {
110 x1 = solver.solve(b1);
118 ConjugateGradient<SparseMatrix<double>, Eigen::Upper> solver;
119 x = solver.compute(A).solve(b);
125 SolverClassName<SparseMatrix<double> > solver;
126 solver.analyzePattern(A); // for this step the numerical values of A are not used
127 solver.factorize(A);
128 x1 = solver.solve(b1);
129 x2 = solver.solve(b2);
132 solver.factorize(A);
133 x1 = solver.solve(b1);
134 x2 = solver.solve(b2);
139 Each solver provides some specific features, such as determinant, access to the factors, controls o…
149 …(COLAMD, AMD) or external (METIS). These methods are set in template parameter list of the solver :
151 DirectSolverClassName<SparseMatrix<double>, OrderingMethod<IndexType> > solver;
158 …solver should always be used with a preconditioner. In Eigen, a preconditioner is selected by sim…
160 IterativeSolverClassName<SparseMatrix<double>, PreconditionerName<SparseMatrix<double> > solver;
168 X = solver.solve(B);
172 x1 = solver.solve(b1);
174 x2 = solver.solve(b2);
180 …will take to solve your system, and hopefully, what is the most suitable solver. In Eigen, we prov…