Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Static Private Member Functions | List of all members
npy_api Struct Reference

#include <numpy.h>

Classes

struct  PyArray_Dims
 

Public Types

enum  constants {
  NPY_ARRAY_C_CONTIGUOUS_ = 0x0001, NPY_ARRAY_F_CONTIGUOUS_ = 0x0002, NPY_ARRAY_OWNDATA_ = 0x0004, NPY_ARRAY_FORCECAST_ = 0x0010,
  NPY_ARRAY_ENSUREARRAY_ = 0x0040, NPY_ARRAY_ALIGNED_ = 0x0100, NPY_ARRAY_WRITEABLE_ = 0x0400, NPY_BOOL_ = 0,
  NPY_BYTE_, NPY_UBYTE_, NPY_SHORT_, NPY_USHORT_,
  NPY_INT_, NPY_UINT_, NPY_LONG_, NPY_ULONG_,
  NPY_LONGLONG_, NPY_ULONGLONG_, NPY_FLOAT_, NPY_DOUBLE_,
  NPY_LONGDOUBLE_, NPY_CFLOAT_, NPY_CDOUBLE_, NPY_CLONGDOUBLE_,
  NPY_OBJECT_ = 17, NPY_STRING_, NPY_UNICODE_, NPY_VOID_,
  NPY_INT8_ = NPY_BYTE_, NPY_UINT8_ = NPY_UBYTE_, NPY_INT16_ = NPY_SHORT_, NPY_UINT16_ = NPY_USHORT_,
  NPY_INT32_, NPY_UINT32_, NPY_INT64_, NPY_UINT64_
}
 

Public Member Functions

bool PyArray_Check_ (PyObject *obj) const
 
bool PyArrayDescr_Check_ (PyObject *obj) const
 

Static Public Member Functions

static npy_apiget ()
 

Public Attributes

int(* PyArray_CopyInto_ )(PyObject *, PyObject *)
 
int(* PyArray_DescrConverter_ )(PyObject *, PyObject **)
 
PyObject *(* PyArray_DescrFromScalar_ )(PyObject *)
 
PyObject *(* PyArray_DescrFromType_ )(int)
 
PyObject *(* PyArray_DescrNewFromType_ )(int)
 
bool(* PyArray_EquivTypes_ )(PyObject *, PyObject *)
 
PyObject *(* PyArray_FromAny_ )(PyObject *, PyObject *, int, int, int, PyObject *)
 
int(* PyArray_GetArrayParamsFromObject_ )(PyObject *, PyObject *, unsigned char, PyObject **, int *, Py_intptr_t *, PyObject **, PyObject *)
 
unsigned int(* PyArray_GetNDArrayCFeatureVersion_ )()
 
PyObject *(* PyArray_NewCopy_ )(PyObject *, int)
 
PyObject *(* PyArray_NewFromDescr_ )(PyTypeObject *, PyObject *, int, Py_intptr_t const *, Py_intptr_t const *, void *, int, PyObject *)
 
PyObject *(* PyArray_Resize_ )(PyObject *, PyArray_Dims *, int, int)
 
int(* PyArray_SetBaseObject_ )(PyObject *, PyObject *)
 
PyObject *(* PyArray_Squeeze_ )(PyObject *)
 
PyTypeObject * PyArray_Type_
 
PyTypeObject * PyArrayDescr_Type_
 
PyTypeObject * PyVoidArrType_Type_
 

Private Types

enum  functions {
  API_PyArray_GetNDArrayCFeatureVersion = 211, API_PyArray_Type = 2, API_PyArrayDescr_Type = 3, API_PyVoidArrType_Type = 39,
  API_PyArray_DescrFromType = 45, API_PyArray_DescrFromScalar = 57, API_PyArray_FromAny = 69, API_PyArray_Resize = 80,
  API_PyArray_CopyInto = 82, API_PyArray_NewCopy = 85, API_PyArray_NewFromDescr = 94, API_PyArray_DescrNewFromType = 96,
  API_PyArray_DescrConverter = 174, API_PyArray_EquivTypes = 182, API_PyArray_GetArrayParamsFromObject = 278, API_PyArray_Squeeze = 136,
  API_PyArray_SetBaseObject = 282
}
 

Static Private Member Functions

static npy_api lookup ()
 

Detailed Description

Definition at line 127 of file numpy.h.

Member Enumeration Documentation

Enumerator
NPY_ARRAY_C_CONTIGUOUS_ 
NPY_ARRAY_F_CONTIGUOUS_ 
NPY_ARRAY_OWNDATA_ 
NPY_ARRAY_FORCECAST_ 
NPY_ARRAY_ENSUREARRAY_ 
NPY_ARRAY_ALIGNED_ 
NPY_ARRAY_WRITEABLE_ 
NPY_BOOL_ 
NPY_BYTE_ 
NPY_UBYTE_ 
NPY_SHORT_ 
NPY_USHORT_ 
NPY_INT_ 
NPY_UINT_ 
NPY_LONG_ 
NPY_ULONG_ 
NPY_LONGLONG_ 
NPY_ULONGLONG_ 
NPY_FLOAT_ 
NPY_DOUBLE_ 
NPY_LONGDOUBLE_ 
NPY_CFLOAT_ 
NPY_CDOUBLE_ 
NPY_CLONGDOUBLE_ 
NPY_OBJECT_ 
NPY_STRING_ 
NPY_UNICODE_ 
NPY_VOID_ 
NPY_INT8_ 
NPY_UINT8_ 
NPY_INT16_ 
NPY_UINT16_ 
NPY_INT32_ 
NPY_UINT32_ 
NPY_INT64_ 
NPY_UINT64_ 

Definition at line 128 of file numpy.h.

enum npy_api::functions
private
Enumerator
API_PyArray_GetNDArrayCFeatureVersion 
API_PyArray_Type 
API_PyArrayDescr_Type 
API_PyVoidArrType_Type 
API_PyArray_DescrFromType 
API_PyArray_DescrFromScalar 
API_PyArray_FromAny 
API_PyArray_Resize 
API_PyArray_CopyInto 
API_PyArray_NewCopy 
API_PyArray_NewFromDescr 
API_PyArray_DescrNewFromType 
API_PyArray_DescrConverter 
API_PyArray_EquivTypes 
API_PyArray_GetArrayParamsFromObject 
API_PyArray_Squeeze 
API_PyArray_SetBaseObject 

Definition at line 204 of file numpy.h.

Member Function Documentation

static npy_api& npy_api::get ( )
inlinestatic

Definition at line 169 of file numpy.h.

static npy_api npy_api::lookup ( )
inlinestaticprivate

Definition at line 224 of file numpy.h.

bool npy_api::PyArray_Check_ ( PyObject *  obj) const
inline

Definition at line 174 of file numpy.h.

bool npy_api::PyArrayDescr_Check_ ( PyObject *  obj) const
inline

Definition at line 177 of file numpy.h.

Member Data Documentation

int(* npy_api::PyArray_CopyInto_) (PyObject *, PyObject *)

Definition at line 188 of file numpy.h.

int(* npy_api::PyArray_DescrConverter_) (PyObject *, PyObject **)

Definition at line 195 of file numpy.h.

PyObject*(* npy_api::PyArray_DescrFromScalar_) (PyObject *)

Definition at line 193 of file numpy.h.

PyObject*(* npy_api::PyArray_DescrFromType_) (int)

Definition at line 182 of file numpy.h.

PyObject*(* npy_api::PyArray_DescrNewFromType_) (int)

Definition at line 187 of file numpy.h.

bool(* npy_api::PyArray_EquivTypes_) (PyObject *, PyObject *)

Definition at line 196 of file numpy.h.

PyObject*(* npy_api::PyArray_FromAny_) (PyObject *, PyObject *, int, int, int, PyObject *)

Definition at line 194 of file numpy.h.

int(* npy_api::PyArray_GetArrayParamsFromObject_) (PyObject *, PyObject *, unsigned char, PyObject **, int *, Py_intptr_t *, PyObject **, PyObject *)

Definition at line 197 of file numpy.h.

unsigned int(* npy_api::PyArray_GetNDArrayCFeatureVersion_) ()

Definition at line 181 of file numpy.h.

PyObject*(* npy_api::PyArray_NewCopy_) (PyObject *, int)

Definition at line 189 of file numpy.h.

PyObject*(* npy_api::PyArray_NewFromDescr_) (PyTypeObject *, PyObject *, int, Py_intptr_t const *, Py_intptr_t const *, void *, int, PyObject *)

Definition at line 184 of file numpy.h.

PyObject*(* npy_api::PyArray_Resize_) (PyObject *, PyArray_Dims *, int, int)

Definition at line 202 of file numpy.h.

int(* npy_api::PyArray_SetBaseObject_) (PyObject *, PyObject *)

Definition at line 201 of file numpy.h.

PyObject*(* npy_api::PyArray_Squeeze_) (PyObject *)

Definition at line 199 of file numpy.h.

PyTypeObject* npy_api::PyArray_Type_

Definition at line 190 of file numpy.h.

PyTypeObject* npy_api::PyArrayDescr_Type_

Definition at line 192 of file numpy.h.

PyTypeObject* npy_api::PyVoidArrType_Type_

Definition at line 191 of file numpy.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48