Skip to content

An elementary math library for Python, made for the sake of practice.

License

Notifications You must be signed in to change notification settings

jackromo/mathLibPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathLibPy

This is a math library for Python.

It's a work in progress, but if you're interested in contributing, feel free to contact me at [email protected].

License

MathLibPy is licensed under the MIT License (MIT).

Requirements

This library uses Python 2.7x.

Installation

To install mathLibPy, clone the repository, navigate to the project's root directory and enter

python setup.py install

into the command prompt. Please ensure that python is on your PATH before doing this.

Features

  • Matrices
    • Arithmetic on matrices
    • Determinants and cofactors
    • Inverses (can handle zeros on main diagonal)
    • Echelon and (row) reduced Echelon form
  • Functions
    • Polynomials
    • Trigonometric functions
    • Exponential function, logarithm
      • Arbitrary powers and logarithm bases
    • Function combination and composition (addition, division, etc.)
    • Differentiation
    • Exact function equality test (equal if internal structures equal)
  • Sequences
    • Arithmetic and Geometric sequences
    • Generic sequence, takes any Function
  • Sets
    • Finite Sets
    • Union, intersect, difference
    • Universe sets for different types (eg. universe of all numbers)
    • Interval sets within ordered universe sets
    • Cardinality, subset, proper subset and equality tests
      • Returns different infinities for different infinite sets
  • Infinities
    • Comparison of different infinities and with finite numbers
    • Addition, subtraction, multiplication and division
  • Irrational numbers from base values (pi, e, etc.)

About

An elementary math library for Python, made for the sake of practice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages