![]() |
C3E: Complex Compute Core Engine v1.0
An engine for handling complex computational tasks
|
Trigonometric and special functions for the C3E library. More...
#include <c3e/commons.h>

Go to the source code of this file.
Functions | |
| c3e_number | c3e_radian_degrees (c3e_number x) |
| Converts an angle from radians to degrees. | |
| c3e_number | c3e_gamma (c3e_number x) |
| Computes the Gamma function of a given number. | |
| c3e_number | c3e_log_gamma (c3e_number x) |
| Computes the logarithm of the Gamma function (log-Gamma) of a given number. | |
This file provides functions for performing trigonometric calculations and special mathematical functions. These include conversions between radians and degrees, as well as Gamma and logarithmic Gamma functions, and many more.
| c3e_number c3e_gamma | ( | c3e_number | x | ) |
This function calculates the Gamma function of a number, which is a generalization of the factorial function. For positive integers, it returns the factorial of (x-1). For other values, it provides an approximation based on the Gamma function definition.
| x | The value for which the Gamma function is to be computed. |
| c3e_number c3e_log_gamma | ( | c3e_number | x | ) |
This function calculates the natural logarithm of the Gamma function for a given input. The log-Gamma function is useful in various statistical computations, especially in contexts where logarithmic scales are employed.
| x | The value for which the log-Gamma function is to be computed. |
| c3e_number c3e_radian_degrees | ( | c3e_number | x | ) |
This function converts a given angle in radians to its equivalent in degrees.
| x | The angle in radians to be converted. |