Giter Club home page Giter Club logo

ocaml-curve-sampling's Introduction

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)

ocaml-curve-sampling's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ocaml-curve-sampling's Issues

Images

Images of the graphs of functions

Note that because the slight randomness in selecting the initial sample, executing the demo program will not generate exactly the same output.

x sin(1/x) (n = 227)

graph1
graph1_p
v.s. Mathematica:
Plot Points10 MaxRecursion5 eval227
EvaluationMonitor Plot Points10 MaxRecursion5

x sin(1/x) (n = 391)

graph2
graph2_p
v.s. Mathematica
Plot Points10 MaxRecursion6 eval389

sin(1/x) (n=391)

graph3
graph3_p
v.s. Mathematica:
sin inv x Points10 MaxRecursion6 eval391

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.