|
TiledArray
0.7.0
|
A functor that permutes ordinal indices. More...
#include <perm_index.h>
Public Member Functions | |
| PermIndex () | |
| Default constructor. More... | |
| PermIndex (const Range &range, const Permutation &perm) | |
| Construct permuting functor. More... | |
| PermIndex (const PermIndex &other) | |
| ~PermIndex () | |
| PermIndex & | operator= (const PermIndex &other) |
| int | dim () const |
| Dimension accessor. More... | |
| const std::size_t * | data () const |
| Data accessor. More... | |
| std::size_t | operator() (std::size_t index) const |
| Compute the permuted index for the current block. More... | |
| operator bool () const | |
A functor that permutes ordinal indices.
The purpose of this functor is to allow fast, repeated permutations of ordinal indices.
Definition at line 39 of file perm_index.h.
|
inline |
Default constructor.
Definition at line 47 of file perm_index.h.
|
inline |
Construct permuting functor.
| range | The input range of ordinal indices |
Definition at line 52 of file perm_index.h.

|
inline |
Definition at line 92 of file perm_index.h.
|
inline |
Definition at line 106 of file perm_index.h.
|
inline |
|
inline |
Dimension accessor.
Definition at line 137 of file perm_index.h.
|
inline |
Definition at line 167 of file perm_index.h.
|
inline |
Compute the permuted index for the current block.
Definition at line 145 of file perm_index.h.
Definition at line 111 of file perm_index.h.