Module gfx.math.mat
Matrix linear algebra module
Functions
Name | Description |
---|---|
gaussianInverse(mat)
|
Compute the inverse of a matrix with Gaussian elimination method. Complexity O(n3). |
mat(rows)
|
Build a matrix whose component type and size is inferred from arguments. Arguments must be rows or matrices with consistent column count. |
transpose(mat)
|
Give the transposed form of a matrix. |
Structs
Name | Description |
---|---|
Mat
|
Matrix type for linear algebra |
Manifest constants
Name | Type | Description |
---|---|---|
areMat
|
Check if all types of MatSeq are instantiation of Mat with R rows and C columns | |
areMat
|
Check if all types of MatSeq are instantiation of Mat | |
isMat
|
Check whether MatT is a Mat | |
isMat
|
Check whether MatT is a Mat with R rows and C columns | |
isMat2
|
Check whether M is 2x2 matrix | |
isMat3
|
Check whether M is 3x3 matrix | |
isMat4
|
Check whether M is 4x4 matrix |
Aliases
Name | Type | Description |
---|---|---|
DMat
|
Mat!(double,R,C)
|
|
DMat2
|
Mat!(double,2L,2L)
|
|
DMat2x2
|
Mat!(double,2L,2L)
|
|
DMat2x3
|
Mat!(double,2L,3L)
|
|
DMat2x4
|
Mat!(double,2L,4L)
|
|
DMat3
|
Mat!(double,3L,3L)
|
|
DMat3x2
|
Mat!(double,3L,2L)
|
|
DMat3x3
|
Mat!(double,3L,3L)
|
|
DMat3x4
|
Mat!(double,3L,4L)
|
|
DMat4
|
Mat!(double,4L,4L)
|
|
DMat4x2
|
Mat!(double,4L,2L)
|
|
DMat4x3
|
Mat!(double,4L,3L)
|
|
DMat4x4
|
Mat!(double,4L,4L)
|
|
FMat
|
Mat!(float,R,C)
|
|
FMat2
|
Mat!(float,2L,2L)
|
|
FMat2x2
|
Mat!(float,2L,2L)
|
|
FMat2x3
|
Mat!(float,2L,3L)
|
|
FMat2x4
|
Mat!(float,2L,4L)
|
|
FMat3
|
Mat!(float,3L,3L)
|
|
FMat3x2
|
Mat!(float,3L,2L)
|
|
FMat3x3
|
Mat!(float,3L,3L)
|
|
FMat3x4
|
Mat!(float,3L,4L)
|
|
FMat4
|
Mat!(float,4L,4L)
|
|
FMat4x2
|
Mat!(float,4L,2L)
|
|
FMat4x3
|
Mat!(float,4L,3L)
|
|
FMat4x4
|
Mat!(float,4L,4L)
|
|
IMat
|
Mat!(int,R,C)
|
|
IMat2
|
Mat!(int,2L,2L)
|
|
IMat2x2
|
Mat!(int,2L,2L)
|
|
IMat2x3
|
Mat!(int,2L,3L)
|
|
IMat2x4
|
Mat!(int,2L,4L)
|
|
IMat3
|
Mat!(int,3L,3L)
|
|
IMat3x2
|
Mat!(int,3L,2L)
|
|
IMat3x3
|
Mat!(int,3L,3L)
|
|
IMat3x4
|
Mat!(int,3L,4L)
|
|
IMat4
|
Mat!(int,4L,4L)
|
|
IMat4x2
|
Mat!(int,4L,2L)
|
|
IMat4x3
|
Mat!(int,4L,3L)
|
|
IMat4x4
|
Mat!(int,4L,4L)
|
|
Mat2
|
Mat2x2!T
|
|
Mat2x2
|
Mat!(T,2,2)
|
|
Mat2x3
|
Mat!(T,2,3)
|
|
Mat2x4
|
Mat!(T,2,4)
|
|
Mat3
|
Mat3x3!T
|
|
Mat3x2
|
Mat!(T,3,2)
|
|
Mat3x3
|
Mat!(T,3,3)
|
|
Mat3x4
|
Mat!(T,3,4)
|
|
Mat4
|
Mat4x4!T
|
|
Mat4x2
|
Mat!(T,4,2)
|
|
Mat4x3
|
Mat!(T,4,3)
|
|
Mat4x4
|
Mat!(T,4,4)
|