ott.geometry.grid.Grid ====================== .. currentmodule:: ott.geometry.grid .. autoclass:: Grid .. rubric:: Methods .. autosummary:: :toctree: . ~ott.geometry.grid.Grid.apply_cost ~ott.geometry.grid.Grid.apply_kernel ~ott.geometry.grid.Grid.apply_lse_kernel ~ott.geometry.grid.Grid.apply_square_cost ~ott.geometry.grid.Grid.apply_transport_from_potentials ~ott.geometry.grid.Grid.apply_transport_from_scalings ~ott.geometry.grid.Grid.copy_epsilon ~ott.geometry.grid.Grid.marginal_from_potentials ~ott.geometry.grid.Grid.marginal_from_scalings ~ott.geometry.grid.Grid.mask ~ott.geometry.grid.Grid.potential_from_scaling ~ott.geometry.grid.Grid.prepare_divergences ~ott.geometry.grid.Grid.scaling_from_potential ~ott.geometry.grid.Grid.subset ~ott.geometry.grid.Grid.to_LRCGeometry ~ott.geometry.grid.Grid.transport_from_potentials ~ott.geometry.grid.Grid.transport_from_scalings ~ott.geometry.grid.Grid.update_potential ~ott.geometry.grid.Grid.update_scaling .. rubric:: Attributes .. autosummary:: :toctree: . ~ott.geometry.grid.Grid.can_LRC ~ott.geometry.grid.Grid.cost_matrix ~ott.geometry.grid.Grid.cost_rank ~ott.geometry.grid.Grid.dtype ~ott.geometry.grid.Grid.epsilon ~ott.geometry.grid.Grid.geometries ~ott.geometry.grid.Grid.inv_scale_cost ~ott.geometry.grid.Grid.is_online ~ott.geometry.grid.Grid.is_squared_euclidean ~ott.geometry.grid.Grid.is_symmetric ~ott.geometry.grid.Grid.kernel_matrix ~ott.geometry.grid.Grid.mean_cost_matrix ~ott.geometry.grid.Grid.median_cost_matrix ~ott.geometry.grid.Grid.scale_epsilon ~ott.geometry.grid.Grid.shape ~ott.geometry.grid.Grid.src_mask ~ott.geometry.grid.Grid.tgt_mask