Click or drag to resize

DoubleComplexVectorAdd(DoubleComplexVector, DoubleComplex, DoubleComplexVector) Method

Adds a vector and a complex number and puts the result into another vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static void Add(
	DoubleComplexVector u,
	DoubleComplex s,
	DoubleComplexVector v
)

Parameters

u  DoubleComplexVector
A vector.
s  DoubleComplex
A complex number.
v  DoubleComplexVector
A vector to hold the result.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two vectors are not of the same length.
Remarks
u[i] = v[i] + s
See Also