casa
5.7.0-16
|
#include <PycArray.h>
Static Public Member Functions | |
static ValueHolder | makeArray (PyObject *obj_ptr, Bool copyData=False) |
Constructs an Array from a Python object. More... | |
static ValueHolder | makeArrayFromDict (PyObject *obj_ptr) |
Construct an Array<String> from a special Python dict object. More... | |
static ValueHolder | makeScalar (PyObject *obj_ptr) |
Construct a scalar from an array scalar (i.e. More... | |
Definition at line 67 of file PycArray.h.
|
static |
Constructs an Array from a Python object.
If copyData=False, the array data is only copied if needed meaning that the Array object in the ValueHolder can reference the data in Python array. That should only be used if the ValueHolder and its Array will be destructed before the Python array.
|
static |
Construct an Array<String> from a special Python dict object.
|
static |
Construct a scalar from an array scalar (i.e.
element in array).