|
Mechanics of Defect Evolution Library
|
#include <CombinationWithoutRepetition.h>
Static Public Member Functions | |
| template<typename T> | |
| static Eigen::Matrix< T, value, k > | combine (const Eigen::Matrix< T, 1, N > &pool) |
Static Public Attributes | |
| static constexpr int | value =Binomial<N,k>::value |
Class template that computes C(N,k), the combination without repetition of k values taken from a pool of N values.
C(N,k) represents the number of ways to form un-ordered sets of k objects taken from a pool of N objects if repetition is not allowed.
Definition at line 26 of file CombinationWithoutRepetition.h.
|
inlinestatic |
| [in] | pool | a row vector of N values |
Definition at line 36 of file CombinationWithoutRepetition.h.
|
staticconstexpr |
Definition at line 31 of file CombinationWithoutRepetition.h.