fastmath-0.0.88
توضیحات
A math libary for easier use of math formulas
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fastmath-0.0.88 |
| نام | fastmath |
| نسخه کتابخانه | 0.0.88 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Roshan Lamichhane |
| ایمیل نویسنده | roshanlamichhanenepali@gmail.com |
| آدرس صفحه اصلی | https://github.com/roshanlam/FastMath |
| آدرس اینترنتی | https://pypi.org/project/fastmath/ |
| مجوز | - |
<br />
<p align="center">
<a href="https://github.com/roshanlam/FastMath/">
<img src="./logo.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">FastMath</h3>
<p align="center">
A Soon To Be The Best Math Library In Python
<br />
<a href="https://github.com/roshanlam/FastMath/README.md"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="https://github.com/roshanlam/FastMath/test.py">View Example</a>
·
<a href="https://github.com/roshanlam/FastMath/issues">Report Bug</a>
·
<a href="https://github.com/roshanlam/FastMath/issues">Request Feature</a>
·
<a href="https://github.com/roshanlam/FastMath/pulls">Send a Pull Request</a>
</p>
<!-- TABLE OF CONTENTS -->
## Table of Contents
- [Table of Contents](#table-of-contents)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [ToDo](#todo)
- [Contributing](#contributing)
### 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**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl fastmath-0.0.88:
pip install fastmath-0.0.88.whl
نصب پکیج tar.gz fastmath-0.0.88:
pip install fastmath-0.0.88.tar.gz