ArrayType

Extends the basic ArgumentType spec to handle array types of possibly fixed size. To start, we’re only adding in proper support for numpy arrays. Other flavors might come, but given the use case, it’s unlikely.

 

__init__(self, base_type, shape=None, ctypes_spec=None): 

 

@property
ctypes_type(self): 

 

@property
cpp_type(self): 

 

@property
types(self): 

 

@property
dtypes(self): 

 

@property
typechar(self): 

 

isinstance(self, arg): 

 

cast(self, arg): 

 

c_cast(self, arg): 

 

__repr__(self): 

Feedback

Examples

Templates

Documentation