12 void seed(
unsigned int seed_value)
31 using namespace Eigen;
37 bp::arg(
"Numpy type (np.ndarray or np.matrix)"),
38 "Change the Numpy type returned by the converters from an Eigen object.");
41 "Get the Numpy type returned by the converters from an Eigen object.");
44 "Set the conversion from Eigen::Matrix to numpy.ndarray.");
47 "Set the conversion from Eigen::Matrix to numpy.matrix.");
49 bp::def(
"sharedMemory",
52 "Share the memory when converting from Eigen to Numpy.");
54 bp::def(
"sharedMemory",
55 (
bool (*)())NumpyType::sharedMemory,
56 "Status of the shared memory when converting from Eigen to Numpy.\n" 57 "If True, the memory is shared when converting an Eigen::Matrix to a numpy.array.\n" 58 "Otherwise, a deep copy of the Eigen::Matrix is performed.");
60 bp::def(
"seed",&
seed,bp::arg(
"seed_value"),
61 "Initialize the pseudo-random number generator with the argument seed_value.");
void seed(unsigned int seed_value)
static bool sharedMemory()
void exposeMatrixDouble()
void EIGENPY_DLLAPI enableEigenPy()
static void switchToNumpyMatrix()
void EIGENPY_DLLAPI import_numpy()
static bp::object getNumpyType()
static void setNumpyType(bp::object &obj)
void exposeMatrixLongDouble()
void exposeMatrixComplexFloat()
void exposeMatrixComplexLongDouble()
static void switchToNumpyArray()
void exposeMatrixComplexDouble()
static void registerException()