﻿ott.geometry.grid.Grid
======================

.. currentmodule:: ott.geometry.grid

.. autoclass:: Grid
    
    .. rubric:: Methods

    .. autosummary::
        :toctree: .
    
        ~Grid.apply_cost
        ~Grid.apply_kernel
        ~Grid.apply_lse_kernel
        ~Grid.apply_square_cost
        ~Grid.apply_transport_from_potentials
        ~Grid.apply_transport_from_scalings
        ~Grid.copy_epsilon
        ~Grid.marginal_from_potentials
        ~Grid.marginal_from_scalings
        ~Grid.potential_from_scaling
        ~Grid.prepare_divergences
        ~Grid.scaling_from_potential
        ~Grid.set_scale_cost
        ~Grid.subset
        ~Grid.to_LRCGeometry
        ~Grid.transport_from_potentials
        ~Grid.transport_from_scalings
        ~Grid.update_potential
        ~Grid.update_scaling
    
    .. rubric:: Attributes

    .. autosummary::
        :toctree: .
    
        ~Grid.can_LRC
        ~Grid.cost_matrix
        ~Grid.cost_rank
        ~Grid.diag_cost
        ~Grid.dtype
        ~Grid.epsilon
        ~Grid.epsilon_scheduler
        ~Grid.geometries
        ~Grid.inv_scale_cost
        ~Grid.is_online
        ~Grid.is_square
        ~Grid.is_squared_euclidean
        ~Grid.is_symmetric
        ~Grid.kernel_matrix
        ~Grid.mean_cost_matrix
        ~Grid.median_cost_matrix
        ~Grid.shape
        ~Grid.std_cost_matrix
    