Template Struct EigenFromPy< Eigen::Matrix< ::casadi::Matrix< CasadiScalar >, Rows, Cols, Options, MaxRows, MaxCols > >

Struct Documentation

template<typename CasadiScalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols>
struct EigenFromPy<Eigen::Matrix<::casadi::Matrix<CasadiScalar>, Rows, Cols, Options, MaxRows, MaxCols>>

Public Types

typedef ::casadi::Matrix<CasadiScalar> CasadiMatrix
typedef Eigen::Matrix<::casadi::Matrix<CasadiScalar>, Rows, Cols, Options, MaxRows, MaxCols> MatType

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()