Skip to main content

asdf_ndarray_read_at

Function asdf_ndarray_read_at 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn asdf_ndarray_read_at( ndarray: *mut asdf_ndarray_t, indices: *const u64, dst_t: ScalarTypeAbi, dst: *mut c_void, ) -> NdarrayErr
Expand description

Read one element, converting to dst_t.

ยงSafety

ndarray must be a valid asdf_ndarray_t; indices must point to ndim values; dst must have room for one value of dst_t. dst need not be aligned.