eigenpy 3.12.0
Bindings between Numpy and Eigen using Boost.Python
Loading...
Searching...
No Matches
eigenpy::ScipyType Struct Reference

Static Public Member Functions

static ScipyTypegetInstance ()
static void sharedMemory (const bool value)
static bool sharedMemory ()
static bp::object getScipyType ()
static const PyTypeObject * getScipyCSRMatrixType ()
static const PyTypeObject * getScipyCSCMatrixType ()
template<typename SparseMatrix>
static bp::object get_pytype_object (const Eigen::SparseMatrixBase< SparseMatrix > *ptr=nullptr)
template<typename SparseMatrix>
static PyTypeObject const * get_pytype (const Eigen::SparseMatrixBase< SparseMatrix > *ptr=nullptr)
static int get_numpy_type_num (const bp::object &obj)

Protected Attributes

bp::object sparse_module
bp::object csr_matrix_obj
bp::object csc_matrix_obj
PyTypeObject * csr_matrix_type
PyTypeObject * csc_matrix_type
bool shared_memory

Detailed Description

Definition at line 15 of file scipy-type.hpp.

Member Function Documentation

◆ get_numpy_type_num()

int eigenpy::ScipyType::get_numpy_type_num(const bp::object &obj)
inlinestatic

Definition at line 43 of file scipy-type.hpp.

◆ get_pytype()

template<typename SparseMatrix>
PyTypeObject const * eigenpy::ScipyType::get_pytype(const Eigen::SparseMatrixBase< SparseMatrix > *ptr = nullptr)
inlinestatic

Definition at line 36 of file scipy-type.hpp.

◆ get_pytype_object()

template<typename SparseMatrix>
bp::object eigenpy::ScipyType::get_pytype_object(const Eigen::SparseMatrixBase< SparseMatrix > *ptr = nullptr)
inlinestatic

Definition at line 28 of file scipy-type.hpp.

Member Data Documentation

◆ csc_matrix_obj

bp::object eigenpy::ScipyType::csc_matrix_obj
protected

Definition at line 62 of file scipy-type.hpp.

◆ csc_matrix_type

PyTypeObject * eigenpy::ScipyType::csc_matrix_type
protected

Definition at line 63 of file scipy-type.hpp.

◆ csr_matrix_obj

bp::object eigenpy::ScipyType::csr_matrix_obj
protected

Definition at line 62 of file scipy-type.hpp.

◆ csr_matrix_type

PyTypeObject* eigenpy::ScipyType::csr_matrix_type
protected

Definition at line 63 of file scipy-type.hpp.

◆ shared_memory

bool eigenpy::ScipyType::shared_memory
protected

Definition at line 65 of file scipy-type.hpp.

◆ sparse_module

bp::object eigenpy::ScipyType::sparse_module
protected

Definition at line 59 of file scipy-type.hpp.


The documentation for this struct was generated from the following file: