vector_magnitude
Calculate the Euclidean length of a numeric vector and return its scalar magnitude for math, physics, or data analysis tasks.
Instructions
Computes the magnitude of a vector.
Args: vector: A vector as a list of numbers.
Returns: On success: {"result": } On error: {"error": }
Examples: >>> vector_magnitude([1, 2, 3]) {'result': 3.7416573867739413}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector | Yes |