numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Namespace of special functions. More...
Namespaces | |
namespace | impl |
Namespace of internal implementations. | |
Classes | |
class | legendre_roots |
Class of roots of Legendre function. More... | |
Functions | |
constexpr auto | gamma (double x) -> double |
Calculate a value of gamma function. | |
constexpr auto | gamma (float x) -> float |
Calculate a value of gamma function. | |
constexpr auto | gamma (std::complex< double > x) -> std::complex< double > |
Calculate a value of gamma function. | |
constexpr auto | gamma (std::complex< float > x) -> std::complex< float > |
Calculate a value of gamma function. | |
template<base::concepts::real_scalar F, base::concepts::integral I> | |
constexpr auto | legendre (F x, I n) -> F |
Calculate Legendre function. | |
template<base::concepts::real_scalar F, base::concepts::integral I> | |
constexpr auto | legendre_with_diff (F x, I n) -> std::pair< F, F > |
Calculate Legendre function and its differential coefficient. | |
constexpr auto | log_gamma (double x) -> double |
Calculate a natural logarithm of a value of gamma function. | |
constexpr auto | log_gamma (float x) -> float |
Calculate a natural logarithm of a value of gamma function. | |
Namespace of special functions.
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
constexpr |
Calculate Legendre function.
F | Type of x (floating-point number). |
I | Type of n (integer). |
[in] | x | Variable. |
[in] | n | Degree of the Legendre function. |
Definition at line 44 of file legendre.h.
|
constexpr |
Calculate Legendre function and its differential coefficient.
F | Type of x (floating-point number). |
I | Type of n (integer). |
[in] | x | Variable. |
[in] | n | Degree of the Legendre function. |
Definition at line 80 of file legendre.h.
|
nodiscardconstexpr |