Skip to main content

Logo

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.

  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

Release files for fastmath 0.0.88

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastmath 0.0.88
File Size Uploaded
fastmath-0.0.88.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastmath 0.0.88
File Interpreter ABI Platform
fastmath-0.0.88-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / fastmath-0.0.88.tar.gz

Download URL fastmath-0.0.88.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fa2cd57e024d6bcda256a580bbddc33bf94cfa1b0bdfe6a86aa8027bc3ae7da9
BLAKE2b-256 checksum
How to use checksums
c9059c9fc7c9319f94bd70965e6974ce8644a211273a301b4028d895490032f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.12

Release files / fastmath-0.0.88-py3-none-any.whl

Download URL fastmath-0.0.88-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43adfddc2b5b65eb50da175286adcfcf0b84582f6a5f3ff3e0e2daa07f722d2e
BLAKE2b-256 checksum
How to use checksums
e48d1df39ece6ac4594e0f90dbee2bfbef16f587c0d220346c04a591b9bbe768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.0.88 This release

2 release files

0.0.87

2 release files

0.0.86

2 release files

0.0.85

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page