TidalPy.utilities.performance.special package
Submodules
TidalPy.utilities.performance.special.factorial module
Special math functions are defined here.
- TidalPy.utilities.performance.special.factorial.find_factorial(number: float) float[source]
Find’s the factorial of a number based on SciPy’s Gamma function.
Notes
This uses the numba-scipy package to register overloads for scipy’s special functions. This allows Numba to njit these functions, including gamma.
- Parameters:
number (float) – Number to be factorialized.
- Returns:
factorial – Factorial of ‘number’
- Return type:
float