#include <comb.hpp>
brief specialization of comb in case of dim 0
Definition at line 397 of file comb.hpp.
◆ getComb()
| signed char* comb< 0 >::getComb |
( |
| ) |
|
|
inline |
get the combination array pointer
- Returns
- an array of char representing the combination
Definition at line 481 of file comb.hpp.
◆ isSub()
Check if the combination is a sub-element.
- Parameters
-
| cmb | combination to check if it is sub-element |
- Returns
- true if cmb is a sub-element of this combination
Definition at line 421 of file comb.hpp.
◆ isValid()
| bool comb< 0 >::isValid |
( |
| ) |
|
|
inline |
check if it is a valid combination
- Returns
- true if it is valid
Definition at line 408 of file comb.hpp.
◆ operator!=()
| bool comb< 0 >::operator!= |
( |
const comb< 0 > & |
t | ) |
const |
|
inline |
Compare two combination.
check if they match
- Parameters
-
- Returns
- true if the two combination match, false otherwise
Definition at line 443 of file comb.hpp.
◆ operator==()
| bool comb< 0 >::operator== |
( |
const comb< 0 > & |
t | ) |
const |
|
inline |
Compare two combination.
check if they match
- Parameters
-
- Returns
- true if the two combination match, false otherwise
Definition at line 458 of file comb.hpp.
◆ operator[]()
| signed char comb< 0 >::operator[] |
( |
int |
i | ) |
|
|
inline |
Get the i combination coefficient.
- Parameters
-
- Returns
- the coefficent of the combination at position i
Definition at line 470 of file comb.hpp.
◆ value()
| signed char comb< 0 >::value |
( |
int |
i | ) |
const |
|
inline |
get the index i of the combination
NOTE: used on expression template
- Parameters
-
- Returns
- value of the i index
Definition at line 495 of file comb.hpp.
The documentation for this struct was generated from the following file: