Accessor for ragged fields. More...
Public Member Functions | |
row | operator[] (size_type i) const |
Get the row at an index point. | |
size_type | size () const noexcept |
Return the number of rows. | |
util::span< element_type > | span () const |
Get the elements without any row structure. | |
Offset | total () const noexcept |
Return the number of elements across all rows. | |
Accessor for ragged fields.
This class is supported for GPU execution.
P | if write-only, rows do not change size but their elements are reinitialized |
row operator[] | ( | size_type | i | ) | const |
Get the row at an index point.
util::span
|
noexcept |
Return the number of rows.
|
noexcept |
Return the number of elements across all rows.
util::span< element_type > span | ( | ) | const |
Get the elements without any row structure.