Scarab  v2.9.0
Project 8 C++ Utility Library
Classes | Typedefs | Functions | Variables
test_eigen.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <pybind11/eigen.h>
#include <pybind11/stl.h>
#include <Eigen/Cholesky>
Include dependency graph for test_eigen.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 (Eigen::Ref< const Eigen::MatrixXd > m)
 
template<typename MatrixArgType >
Eigen::MatrixXd adjust_matrix (MatrixArgType m)
 
void test_submodule_eigen (py::module &)
 

Variables

test_initializer eigen ("eigen", test_submodule_eigen)
 

Typedef Documentation

◆ MatrixXdR

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

Definition at line 21 of file test_eigen.cpp.

Function Documentation

◆ adjust_matrix()

Eigen::MatrixXd adjust_matrix ( MatrixArgType  m)

Definition at line 62 of file test_eigen.cpp.

◆ get_cm()

Eigen::MatrixXd& get_cm ( )

Definition at line 33 of file test_eigen.cpp.

◆ get_elem()

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

Definition at line 57 of file test_eigen.cpp.

◆ get_rm()

MatrixXdR& get_rm ( )

Definition at line 42 of file test_eigen.cpp.

◆ reset_ref()

void reset_ref ( M &  x)

Definition at line 27 of file test_eigen.cpp.

◆ reset_refs()

void reset_refs ( )

Definition at line 51 of file test_eigen.cpp.

◆ test_submodule_eigen()

void test_submodule_eigen ( py::module m)

Definition at line 78 of file test_eigen.cpp.

Variable Documentation

◆ eigen

test_initializer eigen("eigen", test_submodule_eigen)