Inherited from AdditiveCommutativeGroup[SA]
Inherited from AdditiveCommutativeMonoid[SA]
Inherited from AdditiveCommutativeSemigroup[SA]
Inherited from AdditiveGroup[SA]
Inherited from AdditiveMonoid[SA]
Inherited from AdditiveSemigroup[SA]
Inherited from Serializable
Inherited from Serializable
Inherited from AnyRef
Inherited from Any
The L_p norm is equal to the
p
-th root of the sum of each element to the powerp
. For instance, ifp = 1
we have the Manhattan distance. If you'd like the Euclidean norm (p = 2
), then you'd probably be best to use anInnerProductSpace
instead.