Convex operators via optimization (OPT), Inf-convolution
[y, argmin] = opt_ic(f1, df1, domf1, f2, df2, domf2, x, output)
Univariate functions, continuous but (potentially) nonsmooth.
Univariate functions: derivatives of f1 and f2 (respectively).
Domains of functions f1, f2 (set of points where function is finite). Domains are stored as intervals I=[lb,ub] with ub<lb storing an empty set.
Vector on which the inf-convolution is evaluated.
0: no output, 1: progress bar.
The values of the inf-convolution evaluated at each x.
A point at which the inf-convolution attains its minimum, for each x.
Computes the infimal convolution (a.k.a. epi-addition) of f1 and f2 evaluated on vector x, giving the values y such that