| Vector4DDot 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 double Dot(
Vector4D vector1,
Vector4D vector2
)
Public Shared Function Dot (
vector1 As Vector4D,
vector2 As Vector4D
) As Double
public:
static double Dot(
Vector4D vector1,
Vector4D vector2
)
static member Dot :
vector1 : Vector4D *
vector2 : Vector4D -> float
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector4D
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector4D
The second vector.
Return Value
Type:
DoubleThe dot product.
Remarks
The method calculates the dot product (also known as scalar product or inner product).
See Also