Click or drag to resize

FloatVectorMultiply(FloatVector, FloatVector) Operator

Multiplies two vectors.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector operator *(
	FloatVector v,
	FloatVector w
)

Parameters

v  FloatVector
The left-hand vector.
w  FloatVector
The right-hand vector.

Return Value

FloatVector
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