ott.geometry.costs.SqEuclidean.pairwise#

SqEuclidean.pairwise(x, y)[source]#

Compute minus twice the dot-product between vectors.

Return type

Array

Parameters
  • x (jax.Array) –

  • y (jax.Array) –