1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod convert;
mod init;
mod iter;

pub use iter::*;

use crate::vector::Vector;

/// Matrix with fixed dimensions.
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq)]
pub struct Matrix<T, const M: usize, const N: usize> {
    data: Vector<Vector<T, N>, M>,
}