Mojo function
gamma
gamma(x: SIMD[type, size]) -> SIMD[$0, $1]
Computes the Gamma of the input.
For details, see https://en.wikipedia.org/wiki/Gamma_function.
Constraints:
The input must be a floating-point type.
Args:
- βx (
SIMD[type, size]
): The input argument.
Returns:
The Gamma function evaluated at the input.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?