- class ott.geometry.costs.SqPNorm(p)[source]#
Squared p-norm of the difference of two vectors.
float) – Power of the p-norm, \(\ge 1\).
Compute matrix of all pairwise costs, including the
Compute matrix of all pairwise costs, excluding the
TI function acting on difference of \(x-y\) to output cost.
Legendre transform of
Compute cost as evaluation of