[]
Define a class that represents the matrix in mathematics.
public class Matrix : ICloneable
Name | Description |
---|---|
Matrix() | Initializes a new instance of Matrix class. |
Matrix(bool, params Vector[]) | Initializes a new instance of Matrix class. |
Matrix(double[,]) | Initializes a new instance of Matrix class. |
Matrix(int, int) | Initializes a new instance of Matrix class. |
Name | Description |
---|---|
_data | A two dimension double array used to save the data. |
Name | Description |
---|---|
Columns | Get the vectors from the column direction. |
Elements | Gets the elements of the matrix. |
Height | Get the row number of the matrix. |
IsIdentity | Gets a value indicating whether this Matrix object is the identity matrix. |
this[int, int] | Gets or sets the value of element at special location. |
Rows | Get the vectors from the row direction.. |
Value | Gets the value of the current matrix. |
Width | Get the column number of the matrix. |
Name | Description |
---|---|
Add(Matrix) | |
Clone() | Create a new object that is a copy of this Matrix. |
Equals(object) | Determines whether the specified System.Object is equal to the current System.Object. |
GetHashCode() | Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
LeftMultiply(Matrix) | |
RightMultiply(Matrix) | |
ToString() | Returns a string that represents the current matrix. |
Transpose() | Convertes this Matrix to it's transpose matrix. |
Transpose(Matrix) | Defines the transpose operator for Matrix class. |
Name | Description |
---|---|
operator +(Matrix, Matrix) | Defines the + operator for Matrix class. |
operator ==(Matrix, Matrix) | Defines the == operator for vector. |
explicit operator double(Matrix) | Use the explicit convertion to get a value of matrix. |
operator !=(Matrix, Matrix) | Defines the == operator for vector. |
operator *(Matrix, Matrix) | Defines the * operator for Matrix class. |
operator -(Matrix, Matrix) | Defines the binary - operator for Matrix class. |
operator -(Matrix) | Defines the binary - operator for Matrix class. |