def proximal(self): """Proximal factory of the quadratically perturbed functional.""" if self.quadratic_coeff < 0: raise TypeError('`quadratic_coeff` {} must be non-negative' ''.format(self.quadratic_coeff)) return proximal_quadratic_perturbation(self.functional.proximal, a=self.quadratic_coeff, u=self.linear_term)
def proximal(self): """Proximal factory of the linearly perturbed functional. See Also -------- odl.solvers.nonsmooth.proximal_operators.\ proximal_quadratic_perturbation """ return proximal_quadratic_perturbation( self.functional.proximal, a=0, u=self.linear_term)
def proximal(self): """Proximal factory of the linearly perturbed functional. See Also -------- odl.solvers.nonsmooth.proximal_operators.\ proximal_quadratic_perturbation """ return proximal_quadratic_perturbation(self.functional.proximal, a=0, u=self.linear_term)