Subtracts another Vector from this Vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Subtract ( _ vector As Vector _ ) As Vector |
| C# |
|---|
public Vector Subtract ( Vector vector ) |
| C++ |
|---|
public: Vector^ Subtract ( Vector^ vector ) |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- The Vector to subtract.
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. |