μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Functions
test_eigen_matrix.cpp File Reference
#include <pybind11/eigen/matrix.h>
#include <pybind11/stl.h>
#include "constructor_stats.h"
#include "pybind11_tests.h"
#include <Eigen/Cholesky>
Include dependency graph for test_eigen_matrix.cpp:

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 ()
 
MatrixXdRget_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_matrix, m)
 

Typedef Documentation

◆ MatrixXdR

using MatrixXdR = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>

Definition at line 20 of file test_eigen_matrix.cpp.

Function Documentation

◆ adjust_matrix()

template<typename MatrixArgType >
Eigen::MatrixXd adjust_matrix ( MatrixArgType  m)

Definition at line 63 of file test_eigen_matrix.cpp.

Referenced by TEST_SUBMODULE().

◆ get_cm()

Eigen::MatrixXd & get_cm ( )

Definition at line 34 of file test_eigen_matrix.cpp.

References reset_ref().

Referenced by reset_refs(), and TEST_SUBMODULE().

◆ get_elem()

double get_elem ( const Eigen::Ref< const Eigen::MatrixXd > &  m)

Definition at line 58 of file test_eigen_matrix.cpp.

Referenced by TEST_SUBMODULE().

◆ get_rm()

MatrixXdR & get_rm ( )

Definition at line 43 of file test_eigen_matrix.cpp.

References reset_ref().

Referenced by reset_refs(), and TEST_SUBMODULE().

◆ reset_ref()

template<typename M >
void reset_ref ( M &  x)

Definition at line 25 of file test_eigen_matrix.cpp.

Referenced by get_cm(), get_rm(), and reset_refs().

◆ reset_refs()

void reset_refs ( )

Definition at line 52 of file test_eigen_matrix.cpp.

References get_cm(), get_rm(), and reset_ref().

Referenced by TEST_SUBMODULE().

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( eigen_matrix  ,
 
)