Matrix22F Structure |
Namespace: DigitalRune.Mathematics.Algebra
The Matrix22F type exposes the following members.
Name | Description | |
---|---|---|
Matrix22F(Single) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix22F(Single) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix22F(Single) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix22F(IListSingle, MatrixOrder) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix22F(Single, MatrixOrder) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix22F(Single, Single, Single, Single) |
Initializes a new instance of the Matrix22F class.
|
Name | Description | |
---|---|---|
Absolute |
Sets each matrix element to its absolute value.
| |
Absolute(Matrix22F) |
Returns a matrix with the absolute values of the elements of the given matrix.
| |
Add |
Adds two matrices.
| |
AreNumericallyEqual(Matrix22F, Matrix22F) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonF).
| |
AreNumericallyEqual(Matrix22F, Matrix22F, Single) |
Determines whether two matrices are equal (regarding a specific tolerance).
| |
ClampToZero |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Single) |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Matrix22F) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
ClampToZero(Matrix22F, Single) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
CreateRotation |
Creates a rotation matrix.
| |
CreateScale(Single) |
Creates a uniform scaling matrix.
| |
CreateScale(Vector2F) |
Creates a scaling matrix.
| |
CreateScale(Single, Single) |
Creates a scaling matrix.
| |
Divide |
Divides a matrix by a scalar.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(Matrix22F) |
Indicates whether the current object is equal to another object of the same type.
| |
GetColumn |
Gets a column as Vector2F.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetRow |
Gets a row as Vector2F.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invert |
Inverts the matrix.
| |
Multiply(Single, Matrix22F) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix22F, Matrix22F) |
Multiplies two matrices.
| |
Multiply(Matrix22F, Vector2F) |
Multiplies a matrix with a column vector.
| |
Negate |
Negates a matrix.
| |
SetColumn |
Sets a column from a Vector2F.
| |
SetRow |
Sets a row from a Vector2F.
| |
Subtract |
Subtracts two matrices.
| |
ToArray1D |
Converts this matrix to an array of float values.
| |
ToArray2D |
Converts this Matrix22F to a 2-dimensional float array.
| |
ToArrayJagged |
Converts this Matrix22F to a jagged float array.
| |
ToList |
Converts this matrix to a list of float values.
| |
ToMatrix22D |
Converts this Matrix22F to Matrix22D.
| |
ToMatrixF |
Converts this Matrix22F to MatrixF.
| |
ToString |
Returns the string representation of this matrix.
(Overrides ValueTypeToString.) | |
ToString(IFormatProvider) |
Returns the string representation of this matrix using the specified culture-specific format
information.
| |
Transpose |
Transposes this matrix.
| |
TryInvert |
Inverts the matrix if it is invertible.
|
Name | Description | |
---|---|---|
Addition |
Adds two matrices.
| |
Division |
Divides a matrix by a scalar.
| |
Equality |
Tests if two matrices are equal.
| |
(Matrix22F to Single) |
Performs an explicit conversion from Matrix22F to a 2-dimensional
float array.
| |
(Matrix22F to Single) |
Performs an explicit conversion from Matrix22F
to a jagged float array.
| |
(Matrix22F to MatrixF) |
Performs an implicit conversion from Matrix22F to MatrixF.
| |
(Matrix22F to Matrix22D) |
Performs an implicit conversion from Matrix22F to Matrix22D.
| |
Inequality |
Tests if two matrices are not equal.
| |
Multiply(Single, Matrix22F) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix22F, Matrix22F) |
Multiplies two matrices.
| |
Multiply(Matrix22F, Vector2F) |
Multiplies a matrix with a column vector.
| |
Multiply(Matrix22F, Single) |
Multiplies a matrix and a scalar.
| |
Subtraction |
Subtracts two matrices.
| |
UnaryNegation |
Negates a matrix.
|
Name | Description | |
---|---|---|
Identity |
Returns the 2 x 2 identity matrix.
| |
M00 |
The element in first row, first column.
| |
M01 |
The element in first row, second column.
| |
M10 |
The element in second row, first column.
| |
M11 |
The element in second row, second column.
| |
One |
Returns a Matrix22F with all of its components set to one.
| |
Zero |
Returns a Matrix22F with all of its components set to zero.
|
Name | Description | |
---|---|---|
Determinant |
Returns the determinant of this matrix.
| |
Inverse |
Returns the inverse of this matrix.
| |
IsNaN |
Gets a value indicating whether an element of the matrix is NaN.
| |
IsSymmetric |
Gets a value indicating whether this matrix is symmetric.
| |
ItemInt32 |
Gets or sets the element at the specified index.
| |
ItemInt32, Int32 |
Gets or sets the element at the specified index.
| |
Trace |
Gets the matrix trace (the sum of the diagonal elements).
| |
Transposed |
Returns the transposed of this matrix.
|
All indices are zero-based. The matrix looks like this:
M00 M01 M10 M11