A math libary for easier use of math formulas
Project description
FastMath
A Soon To Be The Best Math Library In Python
Explore the docs »
View Example
·
Report Bug
·
Request Feature
·
Send a Pull Request
Table of Contents
Prerequisites
Numpy
Installation
- pip3 install fastmath
Usage
To add numbers do: add(1, 2)
This is the same as 1 + 2
To subtract do: sub(2, 3)
This is the same as 2 - 3
To multiply do: mul(2, 2)
This is the same as 2 * 2
To divide do:div(4, 2)
This is the same as 4 / 2
To caculate the area of a circle do:
circle_area(5)
This is the same as 5^2 * 3.14
To use the quadratic formula do:
qudratic(6, 17, 12)
This is the same as (-17 (+ or -) sqrt(17^2 - 4 * 6 * 12)) / 2 * 6
To do factorial:
fac(2)
This is the same as !2
To do natural logarithm:
ln(2)
To do square root:
sqrt(4)
This is the same as √4
To do sine:
sin(45)
To do cosine:
cos(45)
To do tangent:
tan(45)
To do cotangent:
cot(45)
To do cosecant:
csc(45)
To do secant:
sec(45)
ToDo
-[ ] Add More Math Formulas -[ ] Make code faster -[ ]
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are extremely appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastmath-0.0.85-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7717661bc2cd3a4f93df93ea72e77eed7849c52de25cfad17f664e1ab9b20b48 |
|
MD5 | 8393f382344b4cc33191f74d3b3ac950 |
|
BLAKE2b-256 | 68eb5684304cc96792ce2a59d6721e491f31bb9dd6f709df36693ecce38fd4b8 |