Approximate functions of type
This package exists mostly so that I can use it in ManiFactor.jl
.
TODO: Cite article for the error bounds.
Approximate $$ g(x) = \frac{1}{1 + x_1^2 + x_2^2 + x_3^2 + x_4^2}.$$
Approximate
Approximate
Approximate
Approximate the Rastrigin function of 4 variables.
Approximate the Griewank function of 7 variables.
Since the Griewank function oscillates a lot, we have to sample it very finely.
But sampling in that many points is too expensive, so we import approximate_scalar
explicitly and extend it with an approximate tensor decomposition from teneva.