#include <CTM.h>
|
| static constexpr int | binomial (int N, int k) |
| static constexpr int | factorial (int n) |
| static constexpr size_t | gcd (size_t A, size_t B) |
| static constexpr int | pow (int x, int n) |
| | A compile-time implementation of the power function.
|
Definition at line 18 of file CTM.h.
◆ binomial()
| constexpr int model::CTM::binomial |
( |
int | N, |
|
|
int | k ) |
|
inlinestaticconstexpr |
Definition at line 20 of file CTM.h.
◆ factorial()
| constexpr int model::CTM::factorial |
( |
int | n | ) |
|
|
inlinestaticconstexpr |
A compile-time implementation of the factorial function
Definition at line 26 of file CTM.h.
◆ gcd()
| constexpr size_t model::CTM::gcd |
( |
size_t | A, |
|
|
size_t | B ) |
|
inlinestaticconstexpr |
\bief A compile-time calculation of the Greater Common Divisors (gcd).
Definition at line 32 of file CTM.h.
◆ pow()
| constexpr int model::CTM::pow |
( |
int | x, |
|
|
int | n ) |
|
inlinestaticconstexpr |
A compile-time implementation of the power function.
Definition at line 40 of file CTM.h.
The documentation for this struct was generated from the following file: