| MatrixD Class |
Namespace: DigitalRune.Mathematics.Algebra
The MatrixD type exposes the following members.
| Name | Description | |
|---|---|---|
| MatrixD |
Initializes a new instance of the MatrixD class with 4 x 4 matrix elements.
| |
| MatrixD(Double) |
Initializes a new instance of the MatrixD class.
| |
| MatrixD(Double) |
Initializes a new instance of the MatrixD class.
| |
| MatrixD(Int32, Int32) |
Initializes a new instance of the MatrixD class.
| |
| MatrixD(SerializationInfo, StreamingContext) |
Initializes a new instance of the MatrixD class with serialized data.
| |
| MatrixD(Int32, Int32, Double) |
Initializes a new instance of the MatrixD class.
Each element is set to value.
| |
| MatrixD(Int32, Int32, IListDouble, MatrixOrder) |
Initializes a new instance of the MatrixD class.
| |
| MatrixD(Int32, Int32, Double, MatrixOrder) |
Initializes a new instance of the MatrixD class.
|
| Name | Description | |
|---|---|---|
| Absolute |
Sets each matrix element to its absolute value.
| |
| Absolute(MatrixD) |
Returns a matrix with the absolute values of the elements of the given matrix.
| |
| Add |
Adds two matrices.
| |
| AreNumericallyEqual(MatrixD, MatrixD) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonD).
| |
| AreNumericallyEqual(MatrixD, MatrixD, 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(MatrixD) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
| ClampToZero(MatrixD, Double) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
| Clone |
Clones this instance.
| |
| CreateIdentity |
Creates an identity matrix.
| |
| Divide |
Divides a matrix by a scalar.
| |
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ObjectEquals(Object).) | |
| Equals(MatrixD) |
Indicates whether the current object is equal to another object of the same type.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetColumn |
Gets the column with the given index.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.) | |
| GetMinor |
Gets the minor matrix.
| |
| GetObjectData |
Populates a SerializationInfo with the data needed to serialize the target
object.
| |
| GetRow |
Gets the row with the given index.
| |
| GetSchema |
This property is reserved, apply the XmlSchemaProviderAttribute to the class
instead.
| |
| GetSubmatrix(Int32, Int32) |
Gets a submatrix of this matrix.
| |
| GetSubmatrix(Int32, Int32, Int32) |
Gets a submatrix of this matrix.
| |
| GetSubmatrix(Int32, Int32, Int32) |
Gets a submatrix of this matrix.
| |
| GetSubmatrix(Int32, Int32, Int32, Int32) |
Gets a submatrix of this matrix.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invert |
Inverts the matrix.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Multiply(Double, MatrixD) |
Multiplies a matrix by a scalar.
| |
| Multiply(MatrixD, MatrixD) |
Multiplies two matrices.
| |
| Multiply(MatrixD, VectorD) |
Multiplies a matrix with a column vector.
| |
| Negate |
Negates a matrix.
| |
| ReadXml |
Generates an object from its XML representation.
| |
| Set(Double) |
Sets the matrix elements to the specified value.
| |
| Set(Double) |
Sets the matrix elements to the values of the array.
| |
| Set(Double) |
Sets the matrix elements to the values of the array.
| |
| Set(MatrixD) |
Sets the elements of this matrix.
| |
| Set(IListDouble, MatrixOrder) |
Sets the matrix elements to the values of the list.
| |
| Set(Double, MatrixOrder) |
Sets the matrix elements to the values of the array.
| |
| SetColumn |
Sets a column.
| |
| SetIdentity |
Sets this matrix to an identity matrix.
| |
| SetRow |
Sets a row.
| |
| SetSubmatrix |
Sets a submatrix of this matrix.
| |
| SolveLinearEquations(MatrixD, MatrixD) |
Solves the linear set of equations A * X = B.
| |
| SolveLinearEquations(MatrixD, VectorD) |
Solves the linear set of equations A * x = b.
| |
| Subtract |
Subtracts two matrices.
| |
| ToArray1D |
Converts this matrix to an array of double values.
| |
| ToArray2D |
Converts this MatrixD to a 2-dimensional double array.
| |
| ToArrayJagged |
Converts this MatrixD to a jagged double array.
| |
| ToList |
Converts this matrix to a list of double values.
| |
| ToMatrix22D |
Converts this MatrixD to Matrix22D.
| |
| ToMatrix33D |
Converts this MatrixD to Matrix33D.
| |
| ToMatrix44D |
Converts this MatrixD to Matrix44D.
| |
| ToMatrixF |
Converts this MatrixD to MatrixF.
| |
| ToString |
Returns the string representation of this matrix.
(Overrides ObjectToString.) | |
| 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.
| |
| WriteXml |
Converts an object into its XML representation.
|
| Name | Description | |
|---|---|---|
| Addition |
Adds two matrices.
| |
| Division |
Divides a matrix by a scalar.
| |
| Equality |
Tests if two matrices are equal.
| |
| (MatrixD to Double) |
Performs an explicit conversion from MatrixD to a 2-dimensional
double array.
| |
| (MatrixD to Double) |
Performs an explicit conversion from MatrixD to jagged
double array.
| |
| (MatrixD to Matrix22D) |
Performs an explicit conversion from MatrixD to Matrix22D.
| |
| (MatrixD to Matrix33D) |
Performs an explicit conversion from MatrixD to Matrix33D.
| |
| (MatrixD to Matrix44D) |
Performs an explicit conversion from MatrixD to Matrix44D.
| |
| (MatrixD to MatrixF) |
Performs an explicit conversion from MatrixD to MatrixF.
| |
| Inequality |
Tests if two matrices are not equal.
| |
| Multiply(Double, MatrixD) |
Multiplies a matrix by a scalar.
| |
| Multiply(MatrixD, MatrixD) |
Multiplies two matrices.
| |
| Multiply(MatrixD, VectorD) |
Multiplies a matrix with a column vector.
| |
| Multiply(MatrixD, Double) |
Multiplies a matrix and a scalar.
| |
| Subtraction |
Subtracts two matrices.
| |
| UnaryNegation |
Negates a matrix.
|
| Name | Description | |
|---|---|---|
| Determinant |
Returns the determinant of this matrix.
| |
| Inverse |
Returns the inverse or pseudo-inverse of this matrix.
| |
| IsNaN |
Gets a value indicating whether a component of the vector is NaN.
| |
| IsSquare |
Gets a value indicating whether this matrix is a square matrix (number of rows is equal to
number of columns).
| |
| 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.
| |
| Norm1 |
Gets the one norm of this matrix.
| |
| NormFrobenius |
Gets the Frobenius norm of this matrix.
| |
| NormInfinity |
Gets the infinity norm of this matrix.
| |
| NumberOfColumns |
Gets the number of columns n.
| |
| NumberOfRows |
Gets the number of rows m.
| |
| Trace |
Gets the matrix trace (the sum of the diagonal elements).
| |
| Transposed |
Returns the transposed of this matrix.
|
All indices are zero-based. The first index is the row, the second is the column:
[0,0] [0,1] [0,2] ... [1,0] [1,1] [1,2] ... [2,0] [2,1] [2,2] ... ... ... ... ...