[]
Define a class that represents the matrix in mathematics.
public class Matrix<T> : ICloneable
Name | Description |
---|---|
T |
Name | Description |
---|---|
Matrix() | Initializes a new instance of Matrix class. |
Matrix(bool, params Vector<T>[]) | Initializes a new instance of Matrix class. |
Matrix(int, int) | Initializes a new instance of Matrix class. |
Matrix(T[,]) | Initializes a new instance of Matrix class. |
Name | Description |
---|---|
_T | Saves the type of T. |
_data | A two dimension T 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<T>) | |
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<T>) | |
RightMultiply(Matrix<T>) | |
ToString() | Returns a string that represents the current matrix. |
Transpose() | Convertes this Matrix to it's transpose matrix. |
Transpose(Matrix<T>) | Defines the transpose operator for Matrix class. |
Name | Description |
---|---|
operator +(Matrix<T>, Matrix<T>) | Defines the + operator for Matrix class. |
operator ==(Matrix<T>, Matrix<T>) | Defines the == operator for vector. |
explicit operator T(Matrix<T>) | Use the explicit convertion to get a value of matrix. |
operator !=(Matrix<T>, Matrix<T>) | Defines the == operator for vector. |
operator *(Matrix<T>, Matrix<T>) | Defines the * operator for Matrix class. |
operator -(Matrix<T>, Matrix<T>) | Defines the binary - operator for Matrix class. |
operator -(Matrix<T>) | Defines the binary - operator for Matrix class. |