array_view_mutd_to_mat_mut

Function array_view_mutd_to_mat_mut 

Source
pub fn array_view_mutd_to_mat_mut<'a, T: Field>(
    arr: &'a mut ArrayViewMutD<'a, T>,
) -> Option<MatMut<'a, T>>
Expand description

Creates a MatMut view from an ndarray ArrayViewMutD.

ยงReturns

  • Some(MatMut) if the array is 2D and in column-major order
  • None if the array is not 2D or layout is incompatible