Return a list of ndarray data types to which a provided ndarray data type can be safely cast and, for floating-point data types, can be downcast.
List of ndarray casting modes.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast or cast within the same kind.
Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.
Multidimensional arrays.
Determine if an ndarray data type can be safely cast to another ndarray data type.
Return an object mapping supported data type strings to data type objects.
Return a data type from a string representing the type
Determine whether a scalar value can be safely cast or, for floating-point data types, downcast to specified ndarray data type.
Return the number of bytes per element for a provided underlying ndarray data type.
Test if an input value is a supported ndarray data type.
Compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.
Return the data type string associated with a supported ndarray data type value.
Return the data type string associated with an ndarray data type enumeration constant.
Test if an input value is an ndarray data type object.
List of ndarray data types.
Multidimensional array constructor.
Test if a value is ndarray-like.
Return the enumeration constant associated with a supported ndarray data type value.
Convert an ndarray-like object to an object likely to have the same "shape".
Base multidimensional array.
Restrict an index to the interval [0,max].
Return the alignment (in bytes) for an underlying array data type.