numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
gamma.h File Reference

Definition of gamma function. More...

#include <cmath>
#include <complex>
#include "num_collect/constants/pi.h"
#include "num_collect/functions/impl/gamma_lanczos.h"
+ Include dependency graph for gamma.h:

Go to the source code of this file.

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::functions
 Namespace of special functions.
 

Functions

constexpr auto num_collect::functions::gamma (double x) -> double
 Calculate a value of gamma function.
 
constexpr auto num_collect::functions::gamma (float x) -> float
 Calculate a value of gamma function.
 
constexpr auto num_collect::functions::gamma (std::complex< double > x) -> std::complex< double >
 Calculate a value of gamma function.
 
constexpr auto num_collect::functions::gamma (std::complex< float > x) -> std::complex< float >
 Calculate a value of gamma function.
 
constexpr auto num_collect::functions::log_gamma (double x) -> double
 Calculate a natural logarithm of a value of gamma function.
 
constexpr auto num_collect::functions::log_gamma (float x) -> float
 Calculate a natural logarithm of a value of gamma function.
 

Detailed Description

Definition of gamma function.

Definition in file gamma.h.