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