Click or drag to resize

NMathFunctionsDot(FloatComplexVector, FloatComplexVector) Method

Calculates the dot product of two vectors.

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

Parameters

v  FloatComplexVector
A vector.
w  FloatComplexVector
A vector.

Return Value

FloatComplex
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