into_mdarray

Function into_mdarray 

Source
pub fn into_mdarray<T: Clone>(mat: Mat<T>) -> DTensor<T, 2>
Expand description

Converts a faer::Mat<T> into a DTensor<T, 2> (from mdarray) by constructing a strided view over the matrix memory. This function does not copy any data.