FieldDescriptor#

class numpy::FieldDescriptor#

numpy C++ class.

Example#

#include <numpy/np_ndarray.h>
using namespace numpy;

// Use FieldDescriptor
FieldDescriptor obj;
// ... operations ...

Constructors#

Signature

Location

Example

FieldDescriptor(const std::string &field_name, DTypefield_dtype, size_tfield_offset = 0, const std::vector<size_t>&field_shape = {})

NP_STRUCTURED_DTYPE.H:21

Indexing / Selection#

Signature

Return Type

Location

Example

size_t getDTypeSize(DTypedtype)

size_t

NP_STRUCTURED_DTYPE.H:34

size_t getTotalSize()

size_t

NP_STRUCTURED_DTYPE.H:26