vector_dot_product
Computes the dot product of two equal-length vectors and returns a scalar. Use for projections, angle calculations, or vector similarity.
Instructions
Computes the dot product of two equal-length vectors.
Args: vector_a: The first vector as a list of numbers. vector_b: The second vector as a list of numbers.
Returns: On success: {"result": } On error: {"error": }
Examples: >>> vector_dot_product([1, 2], [7, 8]) {'result': 23}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector_a | Yes | ||
| vector_b | Yes |