An abstract python library for calculating time complex math function.
Project description
Ghidora
Developed by: Jay Rank
Introduction
An abstract python library for calculating time complex math function.
How to use it
-
Using
cmd
:pip install Ghidora
-
Using PyPi.org :
https://pypi.org/project/Ghidora/
Functionalities
Fibonacci
The Fibonacci Sequence is the series of numbers as 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... where the next number is found by adding up the two numbers before it
number = 5555556
new = Fibonacci(number)
new.fibonacci()
Exponent
An exponent refers to the number of times a number is multiplied by itself. For example, 2 to the 3rd (written like this: 2^3) means: 2 x 2 x 2 = 8.
base = 3
power = 27
new = Exponent(base)
new.power(power)
Factorial
Factorial, in mathematics, the product of all positive integers less than or equal to a given positive integer and denoted by that integer and an exclamation point. Thus, factorial seven is written 7!, meaning 1 × 2 × 3 × 4 × 5 × 6 × 7.
baseFactortial = 1000
new = Factorial(baseFactortial)
new.factorial()
Natual Logarithm
The natural logarithm of a number is its logarithm to the base of the mathematical constant e, where e is an irrational and transcendental number approximately equal to 2.718281828459. The natural logarithm of x is generally written as ln x, loge x, or sometimes, if the base e is implicit, simply log x.
number = 1000
new = NaturalLogarithm()
new.natualLogarithm(number)
Logarithm
A logarithm is a mathematical operation that determines how many times a certain number, called the base, is multiplied by itself to reach another number.
base = 10
number = 1000
new = Logarithm(base)
new.logarithm(number)
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
File details
Details for the file Ghidora-0.0.2.tar.gz
.
File metadata
- Download URL: Ghidora-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c29ac820878b1510140f421483d2dced30200a3237cb1671f8bdda7227936fa |
|
MD5 | d8ea109e02d1158fc38f3d3c6fdad4d2 |
|
BLAKE2b-256 | ce463c28baf47f3393389acce55fdfb4ab48045ddfb624fba2b729da8fe8cf3c |