| Vector4FDot Method |
Returns the dot product of two vectors.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static float Dot(
Vector4F vector1,
Vector4F vector2
)
Public Shared Function Dot (
vector1 As Vector4F,
vector2 As Vector4F
) As Single
public:
static float Dot(
Vector4F vector1,
Vector4F vector2
)
static member Dot :
vector1 : Vector4F *
vector2 : Vector4F -> float32
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector4F
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector4F
The second vector.
Return Value
Type:
SingleThe dot product.
Remarks
The method calculates the dot product (also known as scalar product or inner product).
See Also