MathLib
Loading...
Searching...
No Matches
Namespaces | Functions
Combinatorics.hpp File Reference
Include dependency graph for Combinatorics.hpp:

Go to the source code of this file.

Namespaces

namespace  Math
 
namespace  Math::Combinatorics
 

Functions

float factorial_f (float input)
 
double factorial_d (double input)
 
long double factorial_ld (long double input)
 
constexpr int factorial_i (int input)
 
constexpr long factorial_l (long input)
 
constexpr long long factorial_ll (long long input)
 
template<class Type >
constexpr Type factorial (Type input)
 
template<class Type >
constexpr Type n_choose_k (Type n, Type k)
 
constexpr int binomial_coefficient (int row, int column)
 
constexpr std::vector< int > pascal_triangle_row (int row)