Click or drag to resize

DoubleVectorAddition(DoubleVector, DoubleVector) Operator

Adds two vectors.

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 sum.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two vectors are not the same length.
Remarks
u[i] = v[i] + w[i]
See Also