Table of Contents

Struct Mat33

Namespace
Alis.Core.Physic.Common
Assembly
Alis.dll

A 3-by-3 matrix. Stored in column-major order.

public struct Mat33

Inherited Members

Constructors

Mat33(Vector3, Vector3, Vector3)

Construct this matrix using columns.

public Mat33(Vector3 c1, Vector3 c2, Vector3 c3)

Parameters

c1 Vector3

The c1.

c2 Vector3

The c2.

c3 Vector3

The c3.

Fields

Ex

The ez

public Vector3 Ex

Field Value

Vector3

Ey

The ez

public Vector3 Ey

Field Value

Vector3

Ez

The ez

public Vector3 Ez

Field Value

Vector3

Methods

GetInverse22(ref Mat33)

public void GetInverse22(ref Mat33 m)

Parameters

m Mat33

GetSymInverse33(ref Mat33)

public void GetSymInverse33(ref Mat33 m)

Parameters

m Mat33

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

b Vector2

The b.

Returns

Vector2

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

b Vector3

The b.

Returns

Vector3