Matrix used in linear algebra
More...
Matrix used in linear algebra
Definition at line 32 of file Matrix.cs.
Utilities.DataTypes.Matrix.Matrix |
( |
int |
Width, |
|
|
int |
Height, |
|
|
double |
Values[,] = null |
|
) |
| |
Constructor
- Parameters
-
Width | Width of the matrix |
Height | Height of the matrix |
Values | Values to use in the matrix |
Definition at line 40 of file Matrix.cs.
virtual double Utilities.DataTypes.Matrix.Determinant |
( |
| ) |
|
|
virtual |
Gets the determinant of a square matrix
- Returns
- The determinant of a square matrix
Definition at line 269 of file Matrix.cs.
override bool Utilities.DataTypes.Matrix.Equals |
( |
object |
obj | ) |
|
Determines if the objects are equal
- Parameters
-
- Returns
- True if they are, false otherwise
Definition at line 305 of file Matrix.cs.
override int Utilities.DataTypes.Matrix.GetHashCode |
( |
| ) |
|
Gets the hash code for the object
- Returns
- The hash code for the object
Definition at line 315 of file Matrix.cs.
static bool Utilities.DataTypes.Matrix.operator!= |
( |
Matrix |
M1, |
|
|
Matrix |
M2 |
|
) |
| |
|
static |
Determines if two matrices are unequal
- Parameters
-
- Returns
- True if they are not equal, false otherwise
Definition at line 138 of file Matrix.cs.
Multiplies two matrices
- Parameters
-
- Returns
- The result
Definition at line 149 of file Matrix.cs.
static Matrix Utilities.DataTypes.Matrix.operator* |
( |
Matrix |
M1, |
|
|
double |
D |
|
) |
| |
|
static |
Multiplies a matrix by a value
- Parameters
-
M1 | Matrix 1 |
D | Value to multiply by |
- Returns
- The result
Definition at line 174 of file Matrix.cs.
static Matrix Utilities.DataTypes.Matrix.operator* |
( |
double |
D, |
|
|
Matrix |
M1 |
|
) |
| |
|
static |
Multiplies a matrix by a value
- Parameters
-
M1 | Matrix 1 |
D | Value to multiply by |
- Returns
- The result
Definition at line 190 of file Matrix.cs.
Adds two matrices
- Parameters
-
- Returns
- The result
Definition at line 230 of file Matrix.cs.
Subtracts two matrices
- Parameters
-
- Returns
- The result
Definition at line 105 of file Matrix.cs.
static Matrix Utilities.DataTypes.Matrix.operator- |
( |
Matrix |
M1 | ) |
|
|
static |
Negates a matrix
- Parameters
-
- Returns
- The result
Definition at line 122 of file Matrix.cs.
static Matrix Utilities.DataTypes.Matrix.operator/ |
( |
Matrix |
M1, |
|
|
double |
D |
|
) |
| |
|
static |
Divides a matrix by a value
- Parameters
-
M1 | Matrix 1 |
D | Value to divide by |
- Returns
- The result
Definition at line 206 of file Matrix.cs.
static Matrix Utilities.DataTypes.Matrix.operator/ |
( |
double |
D, |
|
|
Matrix |
M1 |
|
) |
| |
|
static |
Divides a matrix by a value
- Parameters
-
M1 | Matrix 1 |
D | Value to divide by |
- Returns
- The result
Definition at line 218 of file Matrix.cs.
static bool Utilities.DataTypes.Matrix.operator== |
( |
Matrix |
M1, |
|
|
Matrix |
M2 |
|
) |
| |
|
static |
Determines if two matrices are equal
- Parameters
-
- Returns
- True if they are equal, false otherwise
Definition at line 248 of file Matrix.cs.
override string Utilities.DataTypes.Matrix.ToString |
( |
| ) |
|
Gets the string representation of the matrix
- Returns
- The matrix as a string
Definition at line 328 of file Matrix.cs.
virtual Matrix Utilities.DataTypes.Matrix.Transpose |
( |
| ) |
|
|
virtual |
Transposes the matrix
- Returns
- Returns a new transposed matrix
Definition at line 352 of file Matrix.cs.
virtual int Utilities.DataTypes.Matrix.Height |
|
getset |
Height of the matrix
Definition at line 51 of file Matrix.cs.
virtual double Utilities.DataTypes.Matrix.this[int X, int Y] |
|
getset |
Sets the values of the matrix
- Parameters
-
- Returns
- the value at a point in the matrix
Definition at line 77 of file Matrix.cs.
virtual double [,] Utilities.DataTypes.Matrix.Values |
|
getset |
Values for the matrix
Definition at line 59 of file Matrix.cs.
virtual int Utilities.DataTypes.Matrix.Width |
|
getset |
Width of the matrix
Definition at line 65 of file Matrix.cs.
The documentation for this class was generated from the following file: