Skip to content

iblacksand/PyMathTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMathTools

A collection of math functions for python that is lightweight. It is mainly an alternative to Sage Math and the similar.

Download the latest release here

List of Functions

binary_search - a standard binary search to find the index of an element (list has to be sorted)

mod - a more advanced mod that has correct inverses

to_ints - converts an array of a type to ints

read_file - reads a file of floats and puts it into an array of floats

latex_gen_graph - takes a 2d array of points and converts it into a tikz graph

elliptic_card - finds the cardinality of an elliptic curve

is_prime - checks if a number is prime

and many more to come.

documentation on functions are located in PyMathTools.py or in the wiki


See Demo.py for an example of all of the functions and how to use them.

About

A class of tools that help with math formulas.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages