| Matrix22D Structure |
Namespace: DigitalRune.Mathematics.Algebra
The Matrix22D type exposes the following members.
| Name | Description | |
|---|---|---|
| Matrix22D(Double) |
Initializes a new instance of the Matrix22D struct.
| |
| Matrix22D(Double) |
Initializes a new instance of the Matrix22D struct.
| |
| Matrix22D(Double) |
Initializes a new instance of the Matrix22D struct.
| |
| Matrix22D(IListDouble, MatrixOrder) |
Initializes a new instance of the Matrix22D struct.
| |
| Matrix22D(Double, MatrixOrder) |
Initializes a new instance of the Matrix22D struct.
| |
| Matrix22D(Double, Double, Double, Double) |
Initializes a new instance of the Matrix22D class.
|
| Name | Description | |
|---|---|---|
| Absolute |
Sets each matrix element to its absolute value.
| |
| Absolute(Matrix22D) |
Returns a matrix with the absolute values of the elements of the given matrix.
| |
| Add |
Adds two matrices.
| |
| AreNumericallyEqual(Matrix22D, Matrix22D) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonD).
| |
| AreNumericallyEqual(Matrix22D, Matrix22D, Double) |
Determines whether two matrices are equal (regarding a specific tolerance).
| |
| ClampToZero |
Clamps near-zero matrix elements to zero.
| |
| ClampToZero(Double) |
Clamps near-zero matrix elements to zero.
| |
| ClampToZero(Matrix22D) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
| ClampToZero(Matrix22D, Double) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
| CreateRotation |
Creates a rotation matrix.
| |
| CreateScale(Double) |
Creates a uniform scaling matrix.
| |
| CreateScale(Vector2D) |
Creates a scaling matrix.
| |
| CreateScale(Double, Double) |
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(Matrix22D) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetColumn |
Gets a column as Vector2D.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetRow |
Gets a row as Vector2D.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invert |
Inverts the matrix.
| |
| Multiply(Double, Matrix22D) |
Multiplies a matrix by a scalar.
| |
| Multiply(Matrix22D, Matrix22D) |
Multiplies two matrices.
| |
| Multiply(Matrix22D, Vector2D) |
Multiplies a matrix with a column vector.
| |
| Negate |
Negates a matrix.
| |
| SetColumn |
Sets a column from a Vector2D.
| |
| SetRow |
Sets a row from a Vector2D.
| |
| Subtract |
Subtracts two matrices.
| |
| ToArray1D |
Converts this matrix to an array of double values.
| |
| ToArray2D |
Converts this Matrix22D to a 2-dimensional double array.
| |
| ToArrayJagged |
Converts this Matrix22D to a jagged double array.
| |
| ToList |
Converts this matrix to a list of double values.
| |
| ToMatrix22F |
Converts this Matrix22D to Matrix22F.
| |
| ToMatrixD |
Converts this Matrix22D to MatrixD.
| |
| 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.
| |
| (Matrix22D to Double) |
Performs an explicit conversion from Matrix22D to a 2-dimensional
double array.
| |
| (Matrix22D to Double) |
Performs an explicit conversion from Matrix22D
to a jagged double array.
| |
| (Matrix22D to Matrix22F) |
Performs an explicit conversion from Matrix22D to Matrix22F.
| |
| (Matrix22D to MatrixD) |
Performs an implicit conversion from Matrix22D to MatrixD.
| |
| Inequality |
Tests if two matrices are not equal.
| |
| Multiply(Double, Matrix22D) |
Multiplies a matrix by a scalar.
| |
| Multiply(Matrix22D, Matrix22D) |
Multiplies two matrices.
| |
| Multiply(Matrix22D, Vector2D) |
Multiplies a matrix with a column vector.
| |
| Multiply(Matrix22D, Double) |
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 Matrix22D with all of its components set to one.
| |
| Zero |
Returns a Matrix22D 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