DOT_PRODUCT
Description
The dot product (also known as the scalar product or inner product) is a fundamental algebraic operation that takes two sequences of numbers of equal length (usually coordinate vectors) and returns a single number.
Parameter Description
- vector1: The first vector, supported types are array<decimal>, array<double>, array<float>
- vector2: The second vector, supported types are array<decimal>, array<double>, array<float>
Return Result
Returns a result of type double
Example
- Calculate the dot product between two vectors of type array<decimal>
- Calculate the dot product between two vectors of type array<double>
- Calculate the dot product between two vectors of type array<float>