Simple range class. More...
#include <ArraySize.h>
Public Member Functions | |
| constexpr TYPE | get (size_t index) const |
| Get the ith values in the range. | |
| constexpr | Range () |
| Empty constructor. | |
| constexpr | Range (const TYPE &i_, const TYPE &j_, const TYPE &k_=1) |
| constexpr size_t | size () const |
| Get the number of values in the range. | |
Public Attributes | |
| TYPE | i |
| TYPE | j |
| TYPE | k |
Simple range class.
Definition at line 78 of file ArraySize.h.
|
inlineconstexpr |
Empty constructor.
Definition at line 82 of file ArraySize.h.
|
inlineconstexpr |
Create a range i:k:j (or i:j)
| i_ | Starting value |
| j_ | Ending value |
| k_ | Increment value |
Definition at line 90 of file ArraySize.h.
|
inlineconstexpr |
Get the ith values in the range.
Definition at line 116 of file ArraySize.h.
References CONSTEXPR_IF, AMP::Range< TYPE >::i, and AMP::Range< TYPE >::k.
|
inlineconstexpr |
Get the number of values in the range.
Definition at line 96 of file ArraySize.h.
References CONSTEXPR_IF, AMP::Range< TYPE >::i, AMP::Range< TYPE >::j, and AMP::Range< TYPE >::k.
| TYPE AMP::Range< TYPE >::i |
Definition at line 132 of file ArraySize.h.
Referenced by AMP::Range< TYPE >::get(), AMP::operator<<(), and AMP::Range< TYPE >::size().
| TYPE AMP::Range< TYPE >::j |
Definition at line 132 of file ArraySize.h.
Referenced by AMP::operator<<(), and AMP::Range< TYPE >::size().
| TYPE AMP::Range< TYPE >::k |
Definition at line 132 of file ArraySize.h.
Referenced by AMP::Range< TYPE >::get(), AMP::operator<<(), and AMP::Range< TYPE >::size().
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:42. Comments on this page |