numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of legendre function. More...
#include <limits>
#include <utility>
#include "num_collect/base/concepts/integral.h"
#include "num_collect/base/concepts/real_scalar.h"
#include "num_collect/constants/half.h"
#include "num_collect/constants/one.h"
#include "num_collect/constants/two.h"
#include "num_collect/constants/zero.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 | |
template<base::concepts::real_scalar F, base::concepts::integral I> | |
constexpr auto | num_collect::functions::legendre (F x, I n) -> F |
Calculate Legendre function. | |
template<base::concepts::real_scalar F, base::concepts::integral I> | |
constexpr auto | num_collect::functions::legendre_with_diff (F x, I n) -> std::pair< F, F > |
Calculate Legendre function and its differential coefficient. | |
Definition of legendre function.
Definition in file legendre.h.