ndarray functions for assignment.
- Each file contains a set of related ndarray functions. The file name matches the ndarray function name suffix for input and output ndarray dtypes.
- The implemented functions which perform conversions are not exhaustive and that is intentional. Namely, functions which would perform "unsafe" conversions are not included (e.g., converting
double
toint32
). If users want to perform "unsafe" conversions, that should be a conscious decision. All the machinery (e.g., macros, typedefs, etc) is available for implementing ndarray functions which perform "unsafe" conversions, but we should not make this overly easy or be proactive in promoting "unsafe" conversion use.