@@ -19,21 +19,27 @@ class DualConeProjector(ABC):
1919 @abstractmethod
2020 def __call__ (self , U : Tensor , G : PSDMatrix ) -> Tensor :
2121 r"""
22- Computes the weights `w` of the projection of `J^T u` onto the dual cone of
23- the rows of `J`, provided `G = J J^T` and `u`. In other words, this computes the `w` that
24- satisfies `\pi_J(J^T u) = J^T w`, with `\pi_J` defined in Equation 3 of [1].
22+ Computes the weights :math:`w` of the projection of :math:`J^\top u` onto the dual cone of
23+ the rows of :math:`J`, provided :math:`G = J J^\top` and :math:`u`. In other words, this
24+ computes the :math:`w` that satisfies :math:`\pi_J(J^\top u) = J^\top w`, with
25+ :math:`\pi_J` defined in Equation 3 of [1].
2526
26- By Proposition 1 of [1], this is equivalent to solving for `v` the following quadratic
27- program:
28- minimize v^T G v
29- subject to u \preceq v
27+ By Proposition 1 of [1], this is equivalent to solving for :math:`v` the following
28+ quadratic program:
29+
30+ .. math::
31+
32+ \min_{v} \quad & v^\top G v \\
33+ \text{subject to} \quad & u \preceq v
3034
3135 Reference:
3236 [1] `Jacobian Descent For Multi-Objective Optimization <https://arxiv.org/pdf/2406.16232>`_.
3337
34- :param U: The tensor of weights corresponding to the vectors to project, of shape `[..., m]`.
35- :param G: The Gramian matrix of shape `[m, m]`. It must be symmetric and positive definite.
36- :return: A tensor of projection weights with the same shape as `U`.
38+ :param U: The tensor of weights corresponding to the vectors to project, of shape
39+ ``[..., m]``.
40+ :param G: The Gramian matrix of shape ``[m, m]``. It must be symmetric and positive
41+ definite.
42+ :return: A tensor of projection weights with the same shape as ``U``.
3743 """
3844
3945
0 commit comments