#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 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, m) | |
using MatrixXdR = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> |
Definition at line 22 of file test_eigen.cpp.
Eigen::MatrixXd adjust_matrix | ( | MatrixArgType | m | ) |
Definition at line 65 of file test_eigen.cpp.
Eigen::MatrixXd& get_cm | ( | ) |
Definition at line 36 of file test_eigen.cpp.
double get_elem | ( | const Eigen::Ref< const Eigen::MatrixXd > & | m | ) |
Definition at line 60 of file test_eigen.cpp.
MatrixXdR& get_rm | ( | ) |
Definition at line 45 of file test_eigen.cpp.
void reset_ref | ( | M & | x | ) |
Definition at line 27 of file test_eigen.cpp.
void reset_refs | ( | ) |
Definition at line 54 of file test_eigen.cpp.
TEST_SUBMODULE | ( | eigen | , |
m | |||
) |
Definition at line 84 of file test_eigen.cpp.