The Vish Visualization Shell 0.3
Vish
List of all members
META::ChooseWithOutPermutation< N, K > Struct Template Reference

Expression template to compute the number of possible combinations when choosing K elements from a set of N without differentiating between permutations. More...

#include <elementary/meta/Math.hpp>

Detailed Description

template<int N, int K>
struct META::ChooseWithOutPermutation< N, K >

Expression template to compute the number of possible combinations when choosing K elements from a set of N without differentiating between permutations.

(with repetition) The order of the choice does is neglected. (n+k-1)!/(n-1)!/k!

Author
marcel