Calculates the conjugate dot product of two vectors.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleComplex ConjDot( DoubleComplexVector v, DoubleComplexVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ConjDot ( _ v As DoubleComplexVector, _ w As DoubleComplexVector _ ) As DoubleComplex |
| Visual C++ |
|---|
public: static DoubleComplex ConjDot( DoubleComplexVector^ v, DoubleComplexVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
A vector.
- w
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
A vector.
Return Value
The conjugate dot product of v and w.
Remarks
d = conj(v[0])*w[0] + conj(v[1])*w[1]...
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if v and w have different lengths. |
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if v or w has zero length. |