Multiplies two vectors.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static FloatVector Multiply( FloatVector v, FloatVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Multiply ( _ v As FloatVector, _ w As FloatVector _ ) As FloatVector |
| Visual C++ |
|---|
public: static FloatVector^ Multiply( FloatVector^ v, FloatVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
- w
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
Return Value
A vector containing the product.
Remarks
This method 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.