YAKL
|
Describes a single C-style loop bound (lower bound default of 0
)
More...
#include <YAKL_Bounds_c.h>
Public Member Functions | |
YAKL_INLINE | LBnd () |
defines an invalid / uninitialized loop bound More... | |
YAKL_INLINE | LBnd (index_t u) |
Lower bound of zero, stride of one. More... | |
YAKL_INLINE | LBnd (int l, int u) |
Lower and upper bounds specified, stride of one. More... | |
YAKL_INLINE | LBnd (int l, int u, int s) |
Lower bound, upper bound, and stride all specified. More... | |
YAKL_INLINE | LBnd (int u) |
Lower bound of zero, stride of one. More... | |
YAKL_INLINE bool | valid () const |
Returns whether this loop bound is valid / initialized. More... | |
Public Attributes | |
int | l |
lower bound More... | |
int | s |
stride More... | |
int | u |
upper bound More... | |
Static Public Attributes | |
static constexpr int | default_lbound = 0 |
Describes a single C-style loop bound (lower bound default of 0
)
|
inline |
defines an invalid / uninitialized loop bound
|
inline |
Lower bound of zero, stride of one.
|
inline |
Lower bound of zero, stride of one.
|
inline |
Lower and upper bounds specified, stride of one.
|
inline |
Lower bound, upper bound, and stride all specified.
|
inline |
Returns whether this loop bound is valid / initialized.
|
staticconstexpr |
int yakl::c::LBnd::l |
lower bound
int yakl::c::LBnd::s |
stride
int yakl::c::LBnd::u |
upper bound