Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::CombinationWithRepetition< 1, k > Struct Template Reference

#include <CombinationWithRepetition.h>

Collaboration diagram for model::CombinationWithRepetition< 1, k >:

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 N =1
static constexpr int value =CTM::binomial(N+k-1,k)
static constexpr int k

Detailed Description

template<int k>
struct model::CombinationWithRepetition< 1, k >

Definition at line 56 of file CombinationWithRepetition.h.

Member Function Documentation

◆ combine()

template<int k>
template<typename T>
Eigen::Matrix< T, value, k > model::CombinationWithRepetition< 1, k >::combine ( const Eigen::Matrix< T, 1, N > & pool)
inlinestatic
Parameters
[in]poola row vector of N values

Definition at line 65 of file CombinationWithRepetition.h.

Member Data Documentation

◆ k

int model::CombinationWithRepetition< _N, _k >::k
staticconstexpr

Definition at line 29 of file CombinationWithRepetition.h.

◆ N

template<int k>
int model::CombinationWithRepetition< 1, k >::N =1
staticconstexpr

Definition at line 60 of file CombinationWithRepetition.h.

◆ value

template<int k>
int model::CombinationWithRepetition< 1, k >::value =CTM::binomial(N+k-1,k)
staticconstexpr

Definition at line 61 of file CombinationWithRepetition.h.


The documentation for this struct was generated from the following file: