Class NumpyHelper.NumpyArrayInterface
Represents a NumPy array interface for interacting with Python.Runtime.PyObject representing NumPy arrays.
public class NumpyHelper.NumpyArrayInterface
- Inheritance
-
NumpyHelper.NumpyArrayInterface
- Inherited Members
Constructors
NumpyArrayInterface(PyObject)
Initializes a new instance of the NumpyHelper.NumpyArrayInterface class.
public NumpyArrayInterface(PyObject obj)
Parameters
obj
PyObject
Fields
Address
The memory address of the NumPy array data.
public readonly IntPtr Address
Field Value
DataType
The C# data type representing the elements of the NumPy array.
public readonly Type DataType
Field Value
IsCStyleContiguous
A value indicating whether the NumPy array is C-style contiguous.
public readonly bool IsCStyleContiguous
Field Value
NBytes
The number of bytes in the NumPy array.
public readonly int NBytes
Field Value
Shape
The shape of the NumPy array.
public readonly long[] Shape
Field Value
- long[]