Skip to content
Snippets Groups Projects
Commit 7477f35e authored by jcarpent's avatar jcarpent
Browse files

[Solvers] Expose factorize method for preconditioners

parent 78c4cf72
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,9 @@ namespace eigenpy
.def("compute",&Preconditioner::template compute<MatrixType>,bp::arg("mat"),
"Initialize the preconditioner from the matrix value.",
bp::return_value_policy<bp::reference_existing_object>())
.def("factorize",&Preconditioner::template factorize<MatrixType>,bp::arg("mat"),
"Initialize the preconditioner from the matrix value, i.e factorize the mat given as input to approximate its inverse.",
bp::return_value_policy<bp::reference_existing_object>())
;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment