Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
eigenpy::ScipyType Struct Reference

#include <scipy-type.hpp>

Static Public Member Functions

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

Protected Member Functions

 ScipyType ()
 

Protected Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ScipyType()

eigenpy::ScipyType::ScipyType ( )
protected

Definition at line 30 of file scipy-type.cpp.

Member Function Documentation

◆ get_numpy_type_num()

static 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 >
static 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 >
static bp::object eigenpy::ScipyType::get_pytype_object ( const Eigen::SparseMatrixBase< SparseMatrix > *  ptr = nullptr)
inlinestatic

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

◆ getInstance()

ScipyType & eigenpy::ScipyType::getInstance ( )
static

Definition at line 11 of file scipy-type.cpp.

◆ getScipyCSCMatrixType()

const PyTypeObject * eigenpy::ScipyType::getScipyCSCMatrixType ( )
static

Definition at line 26 of file scipy-type.cpp.

◆ getScipyCSRMatrixType()

const PyTypeObject * eigenpy::ScipyType::getScipyCSRMatrixType ( )
static

Definition at line 22 of file scipy-type.cpp.

◆ getScipyType()

static bp::object eigenpy::ScipyType::getScipyType ( )
static

◆ sharedMemory() [1/2]

bool eigenpy::ScipyType::sharedMemory ( )
static

Definition at line 20 of file scipy-type.cpp.

◆ sharedMemory() [2/2]

void eigenpy::ScipyType::sharedMemory ( const bool  value)
static

Definition at line 16 of file scipy-type.cpp.

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 files:


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Apr 26 2024 02:17:35