ddg.math.functions module
Basic functions and math expressions.
- ddg.math.functions.qgamma(z, q)[source]
A generalised variant of
mpmath.qgamma().Unlike
mpmath.qgamma(), this function returns infinity instead of raising aZeroDivisionError.- Parameters:
- zcomplex or mpmath.mpf
- qcomplex or mpmath.mpf
- Returns:
- mpmath.mpf or mpmath.mpc
If the result is complex, mpmath.mpc will be returned. Otherwise mpmath.mpf.