Click or drag to resize
FloatMatrix Class
A class for row-major float matrices of any order.
Inheritance Hierarchy
SystemObject
  CandlelightFloatMatrix

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public class FloatMatrix

The FloatMatrix type exposes the following members.

Constructors
  NameDescription
Public methodFloatMatrix(IListSingle)
Initializes a new Nx1 instance of the FloatMatrix class.
Public methodFloatMatrix(IListQuaternion)
Initializes a new Nx4 instance of the FloatMatrix class.
Public methodFloatMatrix(IListVector2)
Initializes a new Nx2 instance of the FloatMatrix class.
Public methodFloatMatrix(IListVector3)
Initializes a new Nx3 instance of the FloatMatrix class.
Public methodFloatMatrix(IListVector4)
Initializes a new Nx4 instance of the FloatMatrix class.
Public methodFloatMatrix(Single)
Initializes a new instance of the FloatMatrix class.
Public methodFloatMatrix(Matrix4x4)
Initializes a new 4x4 instance of the FloatMatrix class by copying an existing Matrix4x4.
Public methodFloatMatrix(FloatMatrix)
Initializes a new instance of the FloatMatrix class by copying an existing FloatMatrix.
Public methodFloatMatrix(Int32, Int32)
Initializes a new instance of the FloatMatrix class.
Top
Methods
  NameDescription
Public methodGetTranspose
Gets the transpose. For example, the transpose of MxN is NxM.
Public methodToString
Returns a String that represents the current FloatMatrix.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberDivision
Divides the specified FloatMatrix by the specified scalar value.
Public operatorStatic memberMultiply(FloatMatrix, FloatMatrix)
Multiplies two matrices by one another. The column count in the second matrix must match the row count in the first matrix.
Public operatorStatic memberMultiply(FloatMatrix, Single)
Multiplies the specified FloatMatrix by the specified scalar value.
Top
Properties
  NameDescription
Public propertyColumns
Gets the column count.
Public propertyDeterminant
Gets the determinant.
Public propertyStatic memberIdentity2x2
Gets a 2x2 identity matrix.
Public propertyStatic memberIdentity3x3
Gets a 3x3 identity matrix.
Public propertyStatic memberIdentity4x4
Gets a 4x4 identity matrix.
Public propertyIsSquare
Gets a value indicating whether this FloatMatrix is square.
Public propertyItem
Gets or sets the element with the specified row and column indices.
Public propertyRows
Gets the row count.
Public propertyTrace
Gets the trace.
Top
Remarks
Because this class allows for matrix of arbitrary order, you should make sure you catch exceptions as needed in your own code.
See Also