|
NuriKit v0.1.0b2
|
Cyclic indexer for Eigen types with a given offset. More...
#include <nuri/eigen_config.h>
Public Member Functions | |
| constexpr int | operator[] (int i) const |
Static Public Member Functions | |
| static constexpr int | size () |
Cyclic indexer for Eigen types with a given offset.
| O | Offset of the cyclic index. If 0, it is determined at runtime. |
| N | Size of the cyclic index. If 0, it is determined at runtime. |
This will produce an index that is cyclic with a given offset, i.e., (O, O+1, ..., N-1, 0, 1, ..., O-1).
|
inlineconstexpr |
|
inlinestaticconstexpr |