NumPy allowed · plain Python earns 10 bonus points
Computed matrix × vector transformation
Compute L1, L2, and L-infinity norms of an n-dimensional vector.
Implement vector_norms(v): calculate the Manhattan norm (sum of absolute values), Euclidean norm (square root of sum of squares), and Chebyshev/L-infinity norm (maximum absolute value). Return a dict {"l1": float, "l2": float, "linf": float} with all values rounded to 4 decimal places.
vector_norms(v: list[float]) -> dict[str, float]