Adds another vector to this vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Add ( _ vector As Vector _ ) As Vector |
| C# |
|---|
public Vector Add ( Vector vector ) |
| C++ |
|---|
public: Vector^ Add ( Vector^ vector ) |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- The Vector to add.
Return Value
A reference to this instance.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr |
| DimensionMismatchException | The length of vector does not equal the length of this instance. |