pub fn into_mdarray<T: Clone>(mat: Mat<T>) -> DTensor<T, 2>
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.
faer::Mat<T>
DTensor<T, 2>
mdarray