pub fn from_row_flat(data: [T; 4]) -> Mat2<T> {
        Mat2 {
            a11: data[0],  a12: data[1],
            a21: data[2],  a22: data[3],
        }
    }
/// Creates a new matrix from a flat array
Creates a new matrix from a flat array
Creates a new matrix from a flat array
pub fn from_row_flat(data: [T; 4]) -> Mat2<T> {
        Mat2 {
            a11: data[0],  a12: data[1],
            a21: data[2],  a22: data[3],
        }
    }
pub fn from_row_flat ( data : [ T ; 4 ] ) -> Mat2 < T > { Mat2 { a11 : data [ 0 ] , a12 : data [ 1 ] , a21 : data [ 2 ] , a22 : data [ 3 ] , } }
Creates a new matrix from a flat array
Creates a new matrix from a flat array
data
[T; 4]
data
[T; 4]