15 :
public bp::def_visitor<SparseSolverVisitor<SparseSolver>> {
16 typedef Eigen::VectorXd VectorType;
18 template <
class PyClass>
19 void visit(PyClass& cl)
const {
20 cl.def(
"solve", &solve, bp::arg(
"b"),
21 "Returns the solution x of Ax = b using the current decomposition " 26 static VectorType solve(SparseSolver& self,
const VectorType& b) {