/ocaml-curve-sampling

Adaptive sampling of parametric and implicit curves

Primary LanguageOCamlGNU General Public License v3.0GPL-3.0

Continuous Integration

Curve Sampling

This module provide a collection of routines to perform adaptive sampling of parametric and implicit curves as well as manipulating those samplings.

Install

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.

Documentation

The documentation is available in curve_sampling.mli or online.

Example

Here is a graph of the function x ↦ x sin(1/x) produced with only 227 evaluations of the function. x sin(1/x)