pub fn norm( p: Spanned<f64>, values: Vec<f64>, ) -> Result<f64, EcoVec<SourceDiagnostic>>
Calculates the p-norm of a sequence of values.
#calc.norm(1, 2, -3, 0.5) \ #calc.norm(p: 3, 1, 2)