Searched refs:EigenDRef (Results 1 – 3 of 3) sorted by relevance
/external/python/pybind11/tests/ |
D | test_eigen.cpp | 95 m.def("double_threec", [](py::EigenDRef<Eigen::Vector3f> x) { x *= 2; }); in TEST_SUBMODULE() 96 m.def("double_threer", [](py::EigenDRef<Eigen::RowVector3f> x) { x *= 2; }); in TEST_SUBMODULE() 124 m.def("add_any", [](py::EigenDRef<Eigen::MatrixXd> x, int r, int c, double v) { x(r,c) += v; }); in TEST_SUBMODULE() 142 m.def("incr_matrix_any", [](py::EigenDRef<Eigen::MatrixXd> m, double v) { in TEST_SUBMODULE() 148 m.def("even_rows", [](py::EigenDRef<Eigen::MatrixXd> m) { in TEST_SUBMODULE() 155 m.def("even_cols", [](py::EigenDRef<Eigen::MatrixXd> m) { in TEST_SUBMODULE() 252 m.def("fixed_mutator_a", [](py::EigenDRef<FixedMatrixC>) {}); in TEST_SUBMODULE() 274 … m.def("cpp_ref_any", [](py::handle m) { return m.cast<py::EigenDRef<Eigen::MatrixXd>>()(1, 0); }); in TEST_SUBMODULE() 305 …m.def("matrix_multiply", [](const py::EigenDRef<const Eigen::MatrixXd> A, const py::EigenDRef<cons… in TEST_SUBMODULE()
|
/external/python/pybind11/docs/advanced/cast/ |
D | eigen.rst | 163 provides a ``py::EigenDRef<MatrixType>`` type alias for your convenience (along 181 m.def("scale", [](py::EigenDRef<Eigen::MatrixXd> m, double c) { m *= c; });
|
/external/python/pybind11/include/pybind11/ |
D | eigen.h | 48 template <typename MatrixType> using EigenDRef = Eigen::Ref<MatrixType, 0, EigenDStride>; variable
|