Adds a Matrix to this
GeneralMatrix.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Add ( _ matrix As Matrix _ ) As GeneralMatrix |
| C# |
|---|
public GeneralMatrix Add ( Matrix matrix ) |
| C++ |
|---|
public: GeneralMatrix^ Add ( Matrix^ matrix ) |
Parameters
- matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
- The Matrix to add to this GeneralMatrix.
Return Value
A reference to this GeneralMatrix.
Exceptions
| Exception | Condition |
|---|---|
| DimensionMismatchException | The dimensions of the matrix matrix do not match the dimensions of this GeneralMatrix. |