Simplify the Fenchel-conjugate range term for the function
x ↦ if |x| ≤ a then -√(a^2-x^2) else +∞ in dimension 1.
Text 12.2.7: Let f : ℝ → [-∞, +∞] be the extended-real function
f(x) = -√(a^2 - x^2) for |x| ≤ a (with a ≥ 0) and f(x) = +∞ otherwise. Then its
conjugate is given by f*(x*) = a * √(1 + x*^2). Here the conjugate is represented by
fenchelConjugate.
Text 12.2.8: Consider f(x) = -log x - 1/2 for x > 0 (and +∞ otherwise). The conjugate is
given by
f*(x*) = -log(-x*) - 1/2 if x* < 0 and f*(x*) = +∞ if x* ≥ 0. Here the conjugate is
represented by fenchelConjugate.