Skip to main content

An abstract python library for calculating time complex math function.

Project description

Ghidora

Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Ghidora-0.0.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page