17 #ifndef __eigenpy_least_square_conjugate_gradient_hpp__ 18 #define __eigenpy_least_square_conjugate_gradient_hpp__ 20 #include <Eigen/IterativeLinearSolvers> 27 template <
typename LeastSquaresConjugateGradient>
29 :
public boost::python::def_visitor<LeastSquaresConjugateGradientVisitor<
30 LeastSquaresConjugateGradient> > {
33 template <
class PyClass>
35 cl.def(bp::init<>(
"Default constructor"))
36 .def(bp::init<MatrixType>(
38 "Initialize the solver with matrix A for further || Ax - b || " 40 "This constructor is a shortcut for the default constructor " 41 "followed by a call to compute()."));
45 bp::class_<LeastSquaresConjugateGradient, boost::noncopyable>(
46 "LeastSquaresConjugateGradient", bp::no_init)
49 LeastSquaresConjugateGradient>());
55 #endif // ifndef __eigenpy_least_square_conjugate_gradient_hpp__ Eigen::MatrixXd MatrixType
void visit(PyClass &cl) const