ott.geometry.costs.ElasticL2.h# ElasticL2.h(z)# TI function acting on difference of \(x-y\) to output cost. Parameters: z (Array) – Array of shape [d,]. Return type: float Returns: The cost.