Click or drag to resize

DoubleVectorMultiply(DoubleVector, DoubleVector) Operator

Multiplies 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 vector containing the product.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two vectors are not the same length.
Remarks
Operator* performs elementwise multiplication (u[i] = v[i] * w[i]). See NMathFunctions.Dot() to calculate the dot (inner) product of two vectors, and NMathFunctions.OuterProduct() for the outer product.
See Also