Skip to main content

diffsol_host_array_dim

Function diffsol_host_array_dim 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn diffsol_host_array_dim( array: *const HostArray, index: usize, ) -> usize
Expand description

Return the size of a single dimension in a host array.

ยงSafety

array must be a valid pointer to a HostArray created by this library. index must be in bounds for the array shape.