The Matrix type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Matrix( Double ) |
Creates a new instance of Matrix.
| |
Matrix(Int32) |
Creates a new instance of Matrix.
| |
Matrix(Int32, Int32) |
Creates a new instance of Matrix.
|
Methods
Name | Description | |
---|---|---|
Det |
Calculates the determinant of the matrix.
| |
Display |
Output the matrix to System.Console.
| |
Display(String) |
Output the matrix to System.Console.
| |
Equals |
Determines whether the specified System.Object is equal to the Matrix.
(Overrides Object Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Gets the hash code of this object.
(Overrides Object GetHashCode .) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Inverse |
Calculates the inverse of the matrix.
| |
LinSolve | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transpose |
Transposes the rows and columns of the matrix.
| |
Zeros(Int32) |
Creates a new matrix, setting each element to zero.
| |
Zeros(Int32, Int32) |
Creates a new matrix, setting each element to zero.
|
Operators
Name | Description | |
---|---|---|
Addition |
Adds a matrix to another matrix.
| |
Division |
Divides the components of a matrix by a scalar.
| |
Equality |
Compares a matrix for equality with another matrix.
| |
Inequality |
Tests a matrix for inequality with another matrix.
| |
Multiply |
Multiplies a matrix by another matrix.
| |
Subtraction |
Subtracts a matrix from another matrix.
|
Fields
Name | Description | |
---|---|---|
Data |
The data contained within the matrix.
|
Properties
Name | Description | |
---|---|---|
cols |
Gets the number of columns in the matrix.
| |
Identity |
Gets a 4x4 identity matrix.
| |
IsSingular |
Indicates whether the matrix is singular.
| |
IsSquare |
Indicates whether the matrix is square.
| |
Item |
Gets or sets an entry in the matrix.
| |
rows |
Gets the number of rows in the matrix.
|
See Also