finesse.cymath.math module
Standard mathematical functions for non-complex calculations.
Most of the standard functions of the C "math.h" header are exposed
at a C level via this module. Refer to the Common Mathematical Functions C reference for the names, arguments
and further details on these functions. One can cimport such functions
in the same way as cimporting any other C exposed Cython function. For example:
from finesse.cymath.math cimport sin
will cimport the sin function
for use on double data types in another Cython extension.
- finesse.cymath.math.degrees(double x) double
- finesse.cymath.math.factorial(int n) double
- finesse.cymath.math.hermite(int n, double x) double
- finesse.cymath.math.msign(int n) double
- finesse.cymath.math.radians(double x) double
- finesse.cymath.math.sqrt_factorial(int n) double