@@ -29,14 +29,22 @@ struct BDCSVDVisitor
2929 bp::args (" self" , " rows" , " cols" ),
3030 " Default Constructor with memory preallocation. " ))
3131 .def (bp::init<Eigen::DenseIndex, Eigen::DenseIndex, unsigned int >(
32- bp::args (" self" , " rows" , " cols" , " computationOptions" ),
33- " Default Constructor with memory preallocation. " ))
32+ bp::args (" self" , " rows" , " cols" , " computationOptions " ),
33+ " Default Constructor with memory preallocation. \n\n "
34+ " Like the default constructor but with preallocation of the "
35+ " internal "
36+ " data according to the specified problem size and the "
37+ " computationOptions. " ))
3438 .def (bp::init<MatrixType>(
3539 bp::args (" self" , " matrix" ),
3640 " Constructor performing the decomposition of given matrix. " ))
3741 .def (bp::init<MatrixType, unsigned int >(
38- bp::args (" self" , " matrix" , " computationOptions" ),
39- " Constructor performing the decomposition of given matrix. " ))
42+ bp::args (" self" , " matrix" , " computationOptions " ),
43+ " Constructor performing the decomposition of given matrix. \n\n "
44+ " One cannot request unitiaries using both the Options template "
45+ " parameter "
46+ " and the constructor. If possible, prefer using the Options "
47+ " template parameter." ))
4048
4149 .def (" cols" , &Solver::cols, bp::arg (" self" ),
4250 " Returns the number of columns. " )
@@ -52,7 +60,7 @@ struct BDCSVDVisitor
5260 (Solver & (Solver::*)(const MatrixType &matrix,
5361 unsigned int computationOptions)) &
5462 Solver::compute,
55- bp::args (" self" , " matrix" ),
63+ bp::args (" self" , " matrix" , " computationOptions " ),
5664 " Method performing the decomposition of given matrix, as "
5765 " specified by the computationOptions parameter. " ,
5866 bp::return_self<>())
0 commit comments