#include <pybind11/eigen.h>#include <pybind11/stl.h>#include "constructor_stats.h"#include "pybind11_tests.h"#include <Eigen/Cholesky>Go to the source code of this file.
Classes | |
| struct | CustomOperatorNew |
Typedefs | |
| using | MatrixXdR = Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > |
Functions | |
| template<typename M > | |
| void | reset_ref (M &x) |
| Eigen::MatrixXd & | get_cm () |
| MatrixXdR & | get_rm () |
| void | reset_refs () |
| double | get_elem (const Eigen::Ref< const Eigen::MatrixXd > &m) |
| template<typename MatrixArgType > | |
| Eigen::MatrixXd | adjust_matrix (MatrixArgType m) |
| TEST_SUBMODULE (eigen, m) | |
| using MatrixXdR = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> |
Definition at line 25 of file test_eigen.cpp.
| Eigen::MatrixXd adjust_matrix | ( | MatrixArgType | m | ) |
Definition at line 68 of file test_eigen.cpp.
Referenced by TEST_SUBMODULE().
| Eigen::MatrixXd & get_cm | ( | ) |
Definition at line 39 of file test_eigen.cpp.
References reset_ref().
Referenced by reset_refs(), and TEST_SUBMODULE().
| double get_elem | ( | const Eigen::Ref< const Eigen::MatrixXd > & | m | ) |
Definition at line 63 of file test_eigen.cpp.
Referenced by TEST_SUBMODULE().
| MatrixXdR & get_rm | ( | ) |
Definition at line 48 of file test_eigen.cpp.
References reset_ref().
Referenced by reset_refs(), and TEST_SUBMODULE().
| void reset_ref | ( | M & | x | ) |
Definition at line 30 of file test_eigen.cpp.
Referenced by get_cm(), get_rm(), and reset_refs().
| void reset_refs | ( | ) |
Definition at line 57 of file test_eigen.cpp.
References get_cm(), get_rm(), and reset_ref().
Referenced by TEST_SUBMODULE().
| TEST_SUBMODULE | ( | eigen | , |
| m | |||
| ) |
Definition at line 87 of file test_eigen.cpp.
References CustomOperatorNew::a, adjust_matrix(), CustomOperatorNew::b, get_cm(), get_elem(), get_rm(), print_created(), print_destroyed(), and reset_refs().