Struct rs_math3d::matrix::Matrix2 [−][src]
Fields
col: [Vector2<T>; 2]
Implementations
impl<T: Scalar> Matrix2<T>
[src]
impl<T: Scalar> Matrix2<T>
[src]pub fn new(m0: T, m1: T, m2: T, m3: T) -> Self
[src]
pub fn identity() -> Self
[src]
pub fn determinant(&self) -> T
[src]
pub fn transpose(&self) -> Self
[src]
pub fn inverse(&self) -> Self
[src]
pub fn mul_matrix_matrix(l: &Self, r: &Self) -> Self
[src]
pub fn mul_matrix_vector(l: &Self, r: &Vector2<T>) -> Vector2<T>
[src]
pub fn mul_vector_matrix(l: &Vector2<T>, r: &Self) -> Vector2<T>
[src]
pub fn add_matrix_matrix(l: &Self, r: &Self) -> Self
[src]
pub fn sub_matrix_matrix(l: &Self, r: &Self) -> Self
[src]
Trait Implementations
impl<T: Copy + Scalar> Copy for Matrix2<T>
[src]
Auto Trait Implementations
impl<T> Send for Matrix2<T> where
T: Send,
T: Send,
impl<T> Sync for Matrix2<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Matrix2<T> where
T: Unpin,
T: Unpin,