Multiplies two vectors.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static FloatComplexVector operator *( FloatComplexVector v, FloatComplexVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator * ( _ v As FloatComplexVector, _ w As FloatComplexVector _ ) As FloatComplexVector |
| Visual C++ |
|---|
public: static FloatComplexVector^ operator *( FloatComplexVector^ v, FloatComplexVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatComplexVector
The left-hand vector.
- w
- Type: CenterSpace.NMath.Core..::.FloatComplexVector
The right-hand vector.
Return Value
A vector containing the product.
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.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the two vectors are not the same length. |