darkhistory.utilities¶
Non-physics convenience and mathematical functions.
Functions
|
Checks if a list of arrays are all np.allclose. |
|
Checks if a list of arrays are all equal. |
|
The kth Bernoulli number. |
|
Checks the relative error given a tolerance. |
|
Prints the arrays in a suitable format for comparison. |
|
Get hdf5 compatible dictionary from an inhomogeneous list of arrays. |
|
Returns \(e^x E_n(x)\). |
|
Returns a 2D grid of coordinates from 2 1D arrays. |
|
Returns the real part of \(_2F_1(1, n+1, n+2, x)\). |
|
Get inhomogeneous list of arrays from dictionary. |
|
Checks for a log-spaced array. |
|
Computes log(1+x) with greater floating point accuracy. |
|
The Taylor series for log(1+b) - log(1+a). |
|
Returns the Taylor series for Li2(b) - Li2(a). |
Classes
|
Interpolation function over a list of objects. |
