GithubHelp home page GithubHelp logo

akiss-xyz / certainpy Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 150 KB

A short and sweet library handling uncertainty in calculations. Can use both standard, probabilistic uncertainties and maximal uncertainties for arbitrary functions over arbitrary variables.

License: GNU General Public License v3.0

Python 100.00%
beginner-friendly beginners-welcome data-science function-approximation good-first-issue good-first-pr python3 quantitative-methods statistics uncertainty

certainpy's Introduction

Certainpy - a library to deal with uncertainty in all your calculations!

What is this?

This library provides two basic classes: an "Uncertain_Value" class that represents a number with uncertainty, for example something like 3 +- 0.1, and an associated "Vec" class that represents a 2D vector where each co-ordinate has an associated, independent uncertainty.

These classes then have a lot of the standard operations you expect from floats (basic arithmetic operations, exponentiation, and arbitrary function execution) and vectors (addition, subtraction, conversion between Polar and Cartestian) implemented (the Vec class needs a lot of work - any help would be much appreciated).

How do I use this?

Simply from certainpy import *.

And from there you can create your values and start doing whatever you like with them: Using the package

Using this project

This project is under the GNU GPL 3, with no warranty or fitness for any particular purpose. See LICENSE for details. Don't hesitate to get in touch for anything!

certainpy's People

Contributors

akiss-xyz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

certainpy's Issues

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.