Matrix22D Methods |
The Matrix22D type exposes the following members.
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 | ||
ToMatrixD | ||
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.
|