moreFun | index /users/schrei_f/src/py4CAtS/aux/moreFun.py |
A 'random' collection of some useful(?) mathematical functions:
sindg sine for angle x given in degrees
cosdg cosine for angle x given in degrees
asindg arcsin with angle returned in degrees
acosdg arccos with angle returned in degrees
Sinc Sinc(x) = sin(x)/x
j2_over_xx spherical Bessel function of the first kind divided by x**2
nexprl relative error exponential for negative exponent: (exp(-x)-1)/x
erf error function (using rational approximation)
Modules | ||||||
|
Functions | ||
|
Data | ||
__all__ = ['sindg', 'cosdg', 'asindg', 'acosdg', 'Sinc', 'j2_over_xx', 'nexprl', 'erf'] |