Template Struct eigen_from_py_impl< TensorType, Eigen::TensorBase< TensorType > >

Struct Documentation

template<typename TensorType>
struct eigen_from_py_impl<TensorType, Eigen::TensorBase<TensorType>>

Public Types

typedef TensorType::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()