ott.geometry.costs.SqEuclidean.norm

ott.geometry.costs.SqEuclidean.norm#

SqEuclidean.norm(x)[source]#

Compute squared Euclidean norm for vector.

Parameters:

x (Array)

Return type:

Union[float, Array]