[−][src]Trait static_math::traits::LinearAlgebra
Generic Trait for Matrix operations and Linear Algebra methods
Required methods
fn rows(&self) -> usize
get the rows of the matrix
fn cols(&self) -> usize
get the columns of the matrix
fn transpose(&self) -> Self where
Self: Sized,
Self: Sized,
transpose dimentions of the matrix
fn trace(&self) -> T
get the trace of the matrix
fn norm2(&self) -> T
compute the euclidean norm of the matrix
fn det(&self) -> T
compute the determinant of the matrix
fn inverse(&self) -> Option<Self> where
Self: Sized,
Self: Sized,
compute the inverse of the matrix
fn qr(&self) -> Option<(Self, Self)> where
Self: Sized,
Self: Sized,
compute the QR factorization of the matrix(if has inverse)
Provided methods
Loading content...Implementors
impl<T: Float + Sum> LinearAlgebra<T> for M22<T>
[src]
fn rows(&self) -> usize
[src]
fn cols(&self) -> usize
[src]
fn det(&self) -> T
[src]
fn transpose(&self) -> M22<T>
[src]
fn trace(&self) -> T
[src]
fn norm2(&self) -> T
[src]
fn inverse(&self) -> Option<Self>
[src]
fn qr(&self) -> Option<(Self, Self)>
[src]
Calculate de QR factorization of the M22 via gram-schmidt orthogonalization process
impl<T: Float + Sum> LinearAlgebra<T> for M33<T>
[src]
fn rows(&self) -> usize
[src]
fn cols(&self) -> usize
[src]
fn transpose(&self) -> M33<T>
[src]
fn trace(&self) -> T
[src]
fn norm2(&self) -> T
[src]
fn det(&self) -> T
[src]
Calculate the determiant of the matrix
fn inverse(&self) -> Option<Self>
[src]
Calculate the inverse
fn qr(&self) -> Option<(Self, Self)>
[src]
Calculate de QR factorization of the M33 via gram-schmidt orthogonalization process
impl<T: Float + Sum> LinearAlgebra<T> for M44<T>
[src]
fn rows(&self) -> usize
[src]
fn cols(&self) -> usize
[src]
fn transpose(&self) -> M44<T>
[src]
fn trace(&self) -> T
[src]
fn norm2(&self) -> T
[src]
fn det(&self) -> T
[src]
fn inverse(&self) -> Option<Self>
[src]
Calculate the inverse
fn qr(&self) -> Option<(Self, Self)>
[src]
Calculate de QR factorization of the M44 via gram-schmidt orthogonalization process
impl<T: Float + Sum> LinearAlgebra<T> for M55<T>
[src]
fn rows(&self) -> usize
[src]
fn cols(&self) -> usize
[src]
fn transpose(&self) -> Self
[src]
fn trace(&self) -> T
[src]
fn norm2(&self) -> T
[src]
fn det(&self) -> T
[src]
fn inverse(&self) -> Option<Self>
[src]
Calculate the inverse of the Matrix6x6 via tha Adjoint Matrix: A^(-1) = 1/det Adj where Adj = Cofactor.Transpose() Cofactor = (-1)^(i+j) M(i, j).det()
fn qr(&self) -> Option<(Self, Self)>
[src]
Calculate de QR factorization of the M55 via gram-schmidt orthogonalization process
impl<T: Float + Sum> LinearAlgebra<T> for M66<T>
[src]
fn rows(&self) -> usize
[src]
fn cols(&self) -> usize
[src]
fn transpose(&self) -> Self
[src]
fn trace(&self) -> T
[src]
fn norm2(&self) -> T
[src]
fn det(&self) -> T
[src]
fn inverse(&self) -> Option<Self>
[src]
Calculate the inverse of the M66 via tha Adjoint Matrix:
A^(-1) = (1/det) * Adj
where: Adj = Cofactor.Transpose()
Cofactor = (-1)^(i+j) * M(i, j).det()
fn qr(&self) -> Option<(Self, Self)>
[src]
Calculate de QR factorization of the M66 via gram-schmidt orthogonalization process