Template Struct eigen_from_py_impl< SparseMatrixType, Eigen::SparseMatrixBase< SparseMatrixType > >

Struct Documentation

template<typename SparseMatrixType>
struct eigen_from_py_impl<SparseMatrixType, Eigen::SparseMatrixBase<SparseMatrixType>>

Public Types

typedef SparseMatrixType::Scalar Scalar

Public Static Functions

static void *convertible(PyObject *pyObj)

Determine if pyObj can be converted into a MatType object.

static void construct(PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory)

Allocate memory and copy pyObj in the new storage.

static void registration()