classSeqLpNormedVectorSpace[A, SA <: SeqLike[A, SA]] extends SeqVectorSpace[A, SA] with NormedVectorSpace[SA, A] with Serializable
The L_p norm is equal to the p-th root of the sum of each element to the
power p. For instance, if p = 1 we have the Manhattan distance. If you'd
like the Euclidean norm (p = 2), then you'd probably be best to use an
InnerProductSpace instead.
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.