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
.
The documentation is available in curve_sampling.mli or online.
Here is a graph of the function x ↦ x sin(1/x) produced with only 227
evaluations of the function.