Giter VIP home page Giter VIP logo

ogay / libaffa Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 4.0 552 KB

Libaffa is a C++ Affine Arithmetic library for GNU/Linux. Affine Arithmetic is a model proposed by Stolfi and Comba in the early 90's for numerical calculation. Unlike Interval Arithmetic, it keeps track of correlations between computed and input quantities, and is therefore resistant to the explosion error observed in long interval computations.

Home Page: http://www.nongnu.org/libaffa

License: GNU Lesser General Public License v2.1

Shell 73.30% C++ 25.45% C 1.25%

libaffa's People

Contributors

ogay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libaffa's Issues

Enclosure performance of pow vs. timing performance.

This might be a bit anecdotal, but I suspect that the current implementation of pow might be trading away smaller enclosures for reduced run time.

Right now, I've been evaluating a large number of 10-15 degree polynomials. In all cases that I've considered, I've found that rewriting the polynomial to multiply out expressions rather than using pow(double, int) produces a smaller enclosure.

I think this might be because pow is using a non-obvious algorithm (as noted in the changelog); in particular, involving the sqrt function is (I suspect) suboptimal for enclosures than standard multiplication.

This isn't necessarily a bug as the library is free to prioritize speed over enclosure size, but I think it is at least worth talking about.

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.