5 #ifndef __eigenpy_least_square_conjugate_gradient_hpp__
6 #define __eigenpy_least_square_conjugate_gradient_hpp__
8 #include <Eigen/IterativeLinearSolvers>
15 template <
typename LeastSquaresConjugateGradient>
17 :
public boost::python::def_visitor<LeastSquaresConjugateGradientVisitor<
18 LeastSquaresConjugateGradient> > {
21 template <
class PyClass>
23 cl.def(bp::init<>(
"Default constructor"))
24 .def(bp::init<MatrixType>(
26 "Initialize the solver with matrix A for further || Ax - b || "
28 "This constructor is a shortcut for the default constructor "
29 "followed by a call to compute()."));
33 bp::class_<LeastSquaresConjugateGradient, boost::noncopyable>(
34 "LeastSquaresConjugateGradient", bp::no_init)
37 LeastSquaresConjugateGradient>())
44 #endif // ifndef __eigenpy_least_square_conjugate_gradient_hpp__