17 template<
typename MatrixType>
27 using namespace Eigen;
33 #ifndef PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
35 "computeLargestEigenvector",
37 const context::MatrixXs &,
const int,
39 (bp::arg(
"mat"), bp::arg(
"max_it") = 10, bp::arg(
"rel_tol") = 1e-8),
40 "Compute the lagest eigenvector of a given matrix according to a given eigenvector "
44 "retrieveLargestEigenvalue", &retrieveLargestEigenvalue<context::MatrixXs>,
45 bp::arg(
"eigenvector"),
46 "Compute the lagest eigenvalue of a given matrix. This is taking the eigenvector "
47 "computed by the function computeLargestEigenvector.");
48 #endif // PINOCCHIO_PYTHON_SKIP_CASADI_UNSUPPORTED
50 bp::def(
"inv", &inv<context::MatrixXs>,
"Computes the inverse of a matrix.");
51 #ifdef PINOCCHIO_PYTHON_INTERFACE_MAIN_MODULE
53 "inv", &inv<Matrix<long double, Dynamic, Dynamic>>,
"Computes the inverse of a matrix.");