Giter VIP home page Giter VIP logo

bernstein_polynomial_approximation's Introduction

Bernstein_Polynomial_Approximation

Command for testing python/c++ hybrid programming:
g++ try_bernstein.cpp -o try_bernstein -I/usr/include/python3.6m/ -lpython3.6m
./try_bernstein dubins_controller_poly_approx dubins_poly_controller [2,2] [[1,3],[2,5]]

Command for testing dynamic library:
g++ -shared -fPIC bernstein_poly_approx.cpp -o libbernstein_poly_approx.so -I/usr/include/python3.6m/ -lpython3.6m
g++ test_so.cpp -o test_so -L. -lbernstein_poly_approx

Command for testing static library:
g++ -c bernstein_poly_approx.cpp -I/usr/include/python3.6m/ -lpython3.6m
ar -cr libbernstein_poly_approx.a bernstein_poly_approx.o
g++ test_a.cpp -o test_a libbernstein_poly_approx.a -I/usr/include/python3.6m/ -lpython3.6m

Running example

python error_analysis.py --filename nn_13_sigmoid --error_bound 1e-3

bernstein_polynomial_approximation's People

Contributors

jmfanbu avatar chaohuang2018 avatar

Stargazers

 avatar

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.