Determine if an ndarray data type can be safely cast to another ndarray data type.
Return the underlying data buffer of a provided ndarray.
Test if an input value is an ndarray order.
Return the underlying data buffer of a provided ndarray.
Return the shape of a provided ndarray.
Test whether an input value is the string representing column-major order.
Generate a stride array from an array shape.
Determine if a buffer length is compatible with provided ndarray meta data.
Return the number of elements in an array.
Normalize an index to the interval [0,max].
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
TypeScript definitions for ndarray
Given a stride array, determine array iteration order.
Compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.
Determine the order of a multidimensional array based on a provided stride array.
Determine the minimum array data type for storing a provided signed integer value.
Return the layout order of a provided ndarray.
Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.
Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.
Restrict an index to the interval [0,max].
Convert an ndarray buffer to a generic array.
Test if an input value is a supported ndarray complex-valued floating-point data type.
Return the number of ndarray dimensions.
Convert an ndarray-like object to an object likely to have the same "shape".