@Name(value="PyArrayObject_fields") @Properties(inherit=numpy.class) public class PyArrayObject extends PyObject
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PyArrayObject()
Default native constructor.
|
PyArrayObject(long size)
Native array allocator.
|
PyArrayObject(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
PyObject |
base() |
PyArrayObject |
base(PyObject setter) |
BytePointer |
data() |
PyArrayObject |
data(BytePointer setter) |
PyArray_Descr |
descr() |
PyArrayObject |
descr(PyArray_Descr setter) |
SizeTPointer |
dimensions() |
PyArrayObject |
dimensions(SizeTPointer setter) |
int |
flags() |
PyArrayObject |
flags(int setter) |
int |
nd() |
PyArrayObject |
nd(int setter) |
PyObject |
ob_base() |
PyArrayObject |
ob_base(PyObject setter) |
PyArrayObject |
position(long position) |
SizeTPointer |
strides() |
PyArrayObject |
strides(SizeTPointer setter) |
PyObject |
weakreflist() |
PyArrayObject |
weakreflist(PyObject setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public PyArrayObject()
public PyArrayObject(long size)
Pointer.position(long)
.public PyArrayObject(Pointer p)
Pointer.Pointer(Pointer)
.public PyArrayObject position(long position)
public PyArrayObject ob_base(PyObject setter)
@Cast(value="char*") public BytePointer data()
public PyArrayObject data(BytePointer setter)
public int nd()
public PyArrayObject nd(int setter)
@Cast(value="npy_intp*") public SizeTPointer dimensions()
public PyArrayObject dimensions(SizeTPointer setter)
@Cast(value="npy_intp*") public SizeTPointer strides()
public PyArrayObject strides(SizeTPointer setter)
public PyObject base()
public PyArrayObject base(PyObject setter)
public PyArray_Descr descr()
public PyArrayObject descr(PyArray_Descr setter)
public int flags()
public PyArrayObject flags(int setter)
public PyObject weakreflist()
public PyArrayObject weakreflist(PyObject setter)
Copyright © 2020. All rights reserved.