| NMathFunctionsDot(DoubleVector, DoubleVector) Method |
Calculates the dot product of two vectors.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Dot(
DoubleVector v,
DoubleVector w
)
Public Shared Function Dot (
v As DoubleVector,
w As DoubleVector
) As Double
public:
static double Dot(
DoubleVector^ v,
DoubleVector^ w
)
static member Dot :
v : DoubleVector *
w : DoubleVector -> float
Parameters
- v DoubleVector
- A vector.
- w DoubleVector
- A vector.
Return Value
DoubleThe conjugate dot product.
Exceptions Remarks d = v[0]w[0] + v[1]w[1]...
See Also