This class contains methods that perform mathematical operations on matrices. Operations currently supported are matrix multiplication and scalar multiplication.
@author Jean-Francois Larcher-Pelland
This class contains methods that perform mathematical operations on matrices. Operations currently supported are matrix multiplication and scalar multiplication.
@author Jean-Francois Larcher-Pelland
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| MatrixMult | 1 | Multiplies matrices a and b using the brute-force algorithm. |
| ScalarMult | 1 | Performs a scalar multiplication on matrix a using scalar value b. |
03 Members
Double()(), Double()())Multiplies matrices a and b using the brute-force algorithm.
| Name | Type | Description |
|---|---|---|
a | Double()() | The matrix on the left. |
b | Double()() | The matrix on the right. |
The product of the two matrices.
Double()(), Double)Performs a scalar multiplication on matrix a using scalar value b.
| Name | Type | Description |
|---|---|---|
a | Double()() | The matrix to be multiplied. |
b | Double | Scalar value used in the multiplication. |
The result of the scalar multiplication.