rbc.stdlib.data_type_functions#

Description

Array API specification for data type functions.

https://data-apis.org/array-api/latest/API_specification/data_type_functions.html

Functions

astype(x, dtype[, copy])

Copies an array to a specified data type irrespective of Type Promotion Rules rules.

broadcast_arrays(*arrays)

❌ Not implemented

broadcast_to(x, shape)

❌ Not implemented

can_cast(from_, to)

Determines if one data type can be cast to another data type according Type Promotion Rules rules.

finfo(type)

Machine limits for floating-point data types.

iinfo(type)

Machine limits for integer data types.

isdtype(dtype, kind)

❌ Not implemented

ol_str(type)

result_type(*arrays_and_dtypes)

Returns the dtype that results from applying the type promotion rules (see Type Promotion Rules) to the arguments.