|  | NMathFunctionsDot(FloatVector, FloatSparseVector) 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
Syntaxpublic static float Dot(
	FloatVector v,
	FloatSparseVector w
)
Public Shared Function Dot ( 
	v As FloatVector,
	w As FloatSparseVector
) As Single
public:
static float Dot(
	FloatVector^ v, 
	FloatSparseVector^ w
)
static member Dot : 
        v : FloatVector * 
        w : FloatSparseVector -> float32 Parameters
- v  FloatVector
- A dense vector.
- w  FloatSparseVector
- A sparse vector.
Return Value
SingleThe dot product.
 Exceptions
Exceptions Remarks
Remarksd = v[0]w[0] + v[1]w[1]...
 See Also
See Also