brief specialization of comb in case of dim 0
Definition at line 397 of file comb.hpp.
#include <comb.hpp>
|
| bool | isValid () |
| | check if it is a valid combination
|
| |
| bool | isSub (comb< 0 > cmb) |
| | Check if the combination is a sub-element.
|
| |
| void | zero () |
| | Set all the elements to zero.
|
| |
| bool | operator!= (const comb< 0 > &t) const |
| | Compare two combination.
|
| |
| bool | operator== (const comb< 0 > &t) const |
| | Compare two combination.
|
| |
| signed char | operator[] (int i) |
| | Get the i combination coefficient.
|
| |
| signed char * | getComb () |
| | get the combination array pointer
|
| |
| signed char | value (int i) const |
| | get the index i of the combination
|
| |
| int | n_zero () |
| |
| size_t | lin () |
| |
◆ 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.
◆ lin()
| size_t comb< 0 >::lin |
( |
| ) |
|
|
inline |
◆ n_zero()
| int comb< 0 >::n_zero |
( |
| ) |
|
|
inline |
◆ 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.
◆ zero()
Set all the elements to zero.
Definition at line 430 of file comb.hpp.
| signed char comb< 0 >::c[0] |
The documentation for this struct was generated from the following file: