Matrix2x2
Public Functions
| Name | |
|---|---|
| Matrix2x2() | |
| Matrix2x2(float m00, float m01, float m10, float m11) | |
| Matrix2x2(Matrix2x2 m) | |
| Matrix2x2(float m00, float m11) | |
| void | LoadIdentity() | 
| void | SetValue(float m00, float m01, float m10, float m11) | 
| void | SetValue(float m00, float m11) | 
| void | SetValue(Matrix2x2 m) | 
| void | SetValue(float value) | 
| void | Normalize() | 
| float | Determinant() | 
| Matrix2x2 | Transpose() | 
| Matrix2x2 | Inverse() | 
| Matrix2x2 | Cofactor() | 
| float | FrobeniusInnerProduct(Matrix2x2 m) | 
| void | SVD(ref Matrix2x2 w, ref Matrix2x2 e, ref Matrix2x2 v) Singular Value Decomposition | 
| void | DiagProduct(Vector2 v) | 
| void | DiagProductInv(Vector2 v) | 
| void | DiagDifference(float c) | 
| void | DiagDifference(Vector2 v) | 
| void | DiagSum(float c) | 
| void | DiagSum(Vector2 v) | 
| override string | ToString() | 
| Matrix2x2 | operator+(Matrix2x2 l, float r) | 
| Matrix2x2 | operator+(float l, Matrix2x2 r) | 
| Matrix2x2 | operator-(Matrix2x2 l, float r) | 
| Matrix2x2 | operator*(Matrix2x2 l, float r) | 
| Matrix2x2 | operator*(float l, Matrix2x2 r) | 
| Matrix2x2 | operator/(Matrix2x2 l, float r) | 
| Matrix2x2 | operator+(Matrix2x2 l, Matrix2x2 r) | 
| Matrix2x2 | operator-(Matrix2x2 l, Matrix2x2 r) | 
| Matrix2x2 | operator*(Matrix2x2 l, Matrix2x2 r) | 
| Vector2 | operator*(Matrix2x2 l, Vector2 r) | 
Public Properties
| Name | |
|---|---|
| float | this[int row, int column] | 
| float | this[int index] | 
Public Attributes
| Name | |
|---|---|
| float | m00 | 
| float | MATRIX_EPSILON | 
Public Functions Documentation
function Matrix2x2
Matrix2x2()
function Matrix2x2
Matrix2x2(
    float m00,
    float m01,
    float m10,
    float m11
)
function Matrix2x2
Matrix2x2(
    Matrix2x2 m
)
function Matrix2x2
Matrix2x2(
    float m00,
    float m11
)
function LoadIdentity
void LoadIdentity()
function SetValue
void SetValue(
    float m00,
    float m01,
    float m10,
    float m11
)
function SetValue
void SetValue(
    float m00,
    float m11
)
function SetValue
void SetValue(
    Matrix2x2 m
)
function SetValue
void SetValue(
    float value
)
function Normalize
void Normalize()
function Determinant
float Determinant()
function Transpose
Matrix2x2 Transpose()
function Inverse
Matrix2x2 Inverse()
function Cofactor
Matrix2x2 Cofactor()
function FrobeniusInnerProduct
float FrobeniusInnerProduct(
    Matrix2x2 m
)
function SVD
void SVD(
    ref Matrix2x2 w,
    ref Matrix2x2 e,
    ref Matrix2x2 v
)
Singular Value Decomposition
Parameters:
- w Returns rotation matrix
- e Returns sigma matrix
- v Returns (not transposed)
function DiagProduct
void DiagProduct(
    Vector2 v
)
function DiagProductInv
void DiagProductInv(
    Vector2 v
)
function DiagDifference
void DiagDifference(
    float c
)
function DiagDifference
void DiagDifference(
    Vector2 v
)
function DiagSum
void DiagSum(
    float c
)
function DiagSum
void DiagSum(
    Vector2 v
)
function ToString
override string ToString()
function operator+
static Matrix2x2 operator+(
    Matrix2x2 l,
    float r
)
function operator+
static Matrix2x2 operator+(
    float l,
    Matrix2x2 r
)
function operator-
static Matrix2x2 operator-(
    Matrix2x2 l,
    float r
)
function operator*
static Matrix2x2 operator*(
    Matrix2x2 l,
    float r
)
function operator*
static Matrix2x2 operator*(
    float l,
    Matrix2x2 r
)
function operator/
static Matrix2x2 operator/(
    Matrix2x2 l,
    float r
)
function operator+
static Matrix2x2 operator+(
    Matrix2x2 l,
    Matrix2x2 r
)
function operator-
static Matrix2x2 operator-(
    Matrix2x2 l,
    Matrix2x2 r
)
function operator*
static Matrix2x2 operator*(
    Matrix2x2 l,
    Matrix2x2 r
)
function operator*
static Vector2 operator*(
    Matrix2x2 l,
    Vector2 r
)
Public Property Documentation
property this[int row, int column]
float this[int row, int column];
property this[int index]
float this[int index];
Public Attributes Documentation
variable m00
float m00;
variable MATRIX_EPSILON
static float MATRIX_EPSILON = 1e-6f;