#include <pybind11/eigen/matrix.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 MatrixArgType > | |
Eigen::MatrixXd | adjust_matrix (MatrixArgType m) |
Eigen::MatrixXd & | get_cm () |
double | get_elem (const Eigen::Ref< const Eigen::MatrixXd > &m) |
MatrixXdR & | get_rm () |
template<typename M > | |
void | reset_ref (M &x) |
void | reset_refs () |
TEST_SUBMODULE (eigen_matrix, m) | |
using MatrixXdR = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> |
Definition at line 20 of file test_eigen_matrix.cpp.
Eigen::MatrixXd adjust_matrix | ( | MatrixArgType | m | ) |
Definition at line 63 of file test_eigen_matrix.cpp.
Eigen::MatrixXd& get_cm | ( | ) |
Definition at line 34 of file test_eigen_matrix.cpp.
double get_elem | ( | const Eigen::Ref< const Eigen::MatrixXd > & | m | ) |
Definition at line 58 of file test_eigen_matrix.cpp.
MatrixXdR& get_rm | ( | ) |
Definition at line 43 of file test_eigen_matrix.cpp.
void reset_ref | ( | M & | x | ) |
Definition at line 25 of file test_eigen_matrix.cpp.
void reset_refs | ( | ) |
Definition at line 52 of file test_eigen_matrix.cpp.
TEST_SUBMODULE | ( | eigen_matrix | , |
m | |||
) |
Definition at line 82 of file test_eigen_matrix.cpp.