Skip to main content

get_array_slice

Function get_array_slice 

Source
pub fn get_array_slice<'a, T>(
    arr: &'a ArrayView1<'_, T>,
    context: &str,
) -> Result<&'a [T], SciRS2Error>
where T: NdFloat,
Expand description

Helper function to safely get array slice with context