Multiplies two vectors.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleComplexVector operator *( DoubleComplexVector v, DoubleComplexVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator * ( _ v As DoubleComplexVector, _ w As DoubleComplexVector _ ) As DoubleComplexVector |
| Visual C++ |
|---|
public: static DoubleComplexVector^ operator *( DoubleComplexVector^ v, DoubleComplexVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
The left-hand vector.
- w
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
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. |