Skip to content
Snippets Groups Projects
Commit 938d2983 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

decompositions: use EigenBaseVisitor

parent 56dc2f74
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
#define __eigenpy_decomposition_sparse_simplicial_cholesky_hpp__
#include "eigenpy/eigenpy.hpp"
#include "eigenpy/eigen/EigenBase.hpp"
#include <Eigen/SparseCholesky>
......@@ -35,10 +36,7 @@ struct SimplicialCholeskyVisitor
"This function is particularly useful when solving for several "
"problems having the same structure.")
.def("cols", &Solver::cols, bp::arg("self"),
"Returns the number of columns.")
.def("rows", &Solver::rows, bp::arg("self"),
"Returns the number of rows.")
.def(EigenBaseVisitor<Solver>())
.def("matrixL", &matrixL, bp::arg("self"),
"Returns the lower triangular matrix L.")
......
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