pub fn norm_squared(norm: NormFn<f64>) -> DistanceGeneratingFn<f64>
Expand description

Norm squared. $1$-strongly convex and $1$-Lipschitz smooth for the Euclidean norm and the Mahalanobis distance.