ott.geometry.low_rank.LRCGeometry.apply_square_cost

ott.geometry.low_rank.LRCGeometry.apply_square_cost#

LRCGeometry.apply_square_cost(arr, axis=0)[source]#

Apply elementwise-square of cost matrix to array (vector or matrix).

Parameters:
Return type:

Array