This module provide a collection of routines to perform adaptive sampling of parametric and implicit curves as well as manipulating those samplings.
The easier way to install this library is to use opam:
opam install curve-sampling
If you prefer to compile by hand, install the dependencies listed in curve-sampling.opam and issue
dune build @install.
Here is a graph of the function x ↦ x sin(1/x) produced with only 227 evaluations of the function.