Skip to content

htailor/python_library_math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 

Repository files navigation

Python Math Library

General Information

Portable library of additional math functions and useful constants written for the Extendable Freely Jointed Chain project. Inspiration was taken from BOOST C++ numeric constants. The library inherits the normal math functions from python.

Installation

Place libmath.py in the current working directory of your project and import functions by normal methods.

from libmath import *

Constants

Constant Value
half 1/2
third 1/3
twothirds 2/3
quarter 1/4
root_pi

Functions

Functions
inverse(x)
squared(x)
cubed(x)
cubed_root(x)
sgn(x)
heaviside_step(x)
binomial(n,k)
double_binomial(n,k1,k2)
multinomial(*k)
factorial_approx(n)

About

Library of additional python math functions and constants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages