Click or drag to resize

NMathFunctionsDot(DoubleComplexVector, DoubleComplexVector) Method

Calculates the dot product of two vectors.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleComplex Dot(
	DoubleComplexVector v,
	DoubleComplexVector w
)

Parameters

v  DoubleComplexVector
A vector.
w  DoubleComplexVector
A vector.

Return Value

DoubleComplex
The dot product of v and w.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if v and w have different lengths.
InvalidArgumentException Thrown if v or w has zero length.
Remarks
d = v[0]w[0] + v[1]w[1]...
See Also