The MatrixOperation enumeration contains operations that must be carried out for the source matrix.
It is used by the following properties and methods:
Follow the rules when executing operations with matrices:
Matrices should be equal in size during summation and subtraction.
The number of columns in the A matrix should match the number of rows in the B matrix during multiplication.
When dividing the A matrix into the B matrix:
The B matrix should contain equal number of rows and columns.
The number of columns in the A matrix should match the number of rows in the B matrix.
Determinant of the B matrix should be greater than zero.
Value | Brief description |
0 | None. Do not perform any actions. |
1 | Assign. Set structure and values in accordance with the matrix passed as a parameter. |
2 | Append. Add values from the matrix passed as a parameter, to the current matrix (values are added to the beginning of the matrix, source data is replaced). |
3 | Add. Summation. |
4 | Subtract. Substraction. |
5 | Mul. Multiplication. |
6 | Division. Division. |
See also: