| NMathFunctionsDot(FloatComplexVector, FloatComplexSparseVector) Method |
Calculates the dot product of a sparse vector and a dense vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplex Dot(
FloatComplexVector v,
FloatComplexSparseVector w
)
Public Shared Function Dot (
v As FloatComplexVector,
w As FloatComplexSparseVector
) As FloatComplex
public:
static FloatComplex Dot(
FloatComplexVector^ v,
FloatComplexSparseVector^ w
)
static member Dot :
v : FloatComplexVector *
w : FloatComplexSparseVector -> FloatComplex
Parameters
- v FloatComplexVector
- A dense vector.
- w FloatComplexSparseVector
- A sparse vector.
Return Value
FloatComplexThe dot product.
Exceptions Remarks d = v[0]w[0] + v[1]w[1]...
See Also