coordax.register_ndarray¶ coordax.register_ndarray(array_type: type[T], is_matching_numpy_array: Callable[[ndarray], bool], to_numpy: Callable[[T], ndarray], from_numpy: Callable[[ndarray], T]) → type[T][source]¶ Registers a new duck-typed array type corresponding to a numpy dtype. See also coordax.experimental.NDArray