Struct Mat33
- Namespace
- Alis.Core.Physic.Common
- Assembly
- Alis.dll
A 3-by-3 matrix. Stored in column-major order.
public struct Mat33Inherited Members
Constructors
Mat33(Vector3, Vector3, Vector3)
Construct this matrix using columns.
public Mat33(Vector3 c1, Vector3 c2, Vector3 c3)Parameters
Fields
Ex
The ez
public Vector3 ExField Value
Ey
The ez
public Vector3 EyField Value
Ez
The ez
public Vector3 EzField Value
Methods
GetInverse22(ref Mat33)
public void GetInverse22(ref Mat33 m)Parameters
mMat33
GetSymInverse33(ref Mat33)
public void GetSymInverse33(ref Mat33 m)Parameters
mMat33
SetZero()
Set this matrix to all zeros.
public void SetZero()Solve22(Vector2)
Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.
public Vector2 Solve22(Vector2 b)Parameters
bVector2-
The b.
Returns
Solve33(Vector3)
Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Vector3 Solve33(Vector3 b)Parameters
bVector3-
The b.