Click or drag to resize

DoubleVectorSubtraction(DoubleVector, DoubleVector) Operator

Subtracts a vector from another vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleVector operator -(
	DoubleVector v,
	DoubleVector w
)

Parameters

v  DoubleVector
The left-hand vector.
w  DoubleVector
The right-hand vector.

Return Value

DoubleVector
A new vector containing the difference.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two vectors are not the same length.
Remarks
u[i] = v[i] - w[i]
See Also