Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
#include <BruteForceIterator.hh>
Public Member Functions | |
BruteForceIterator () | |
BruteForceIterator (IndexList dimensions, IndexList fixed={}) | |
BruteForceIterator (const BruteForceIterator &)=default | |
BruteForceIterator (BruteForceIterator &&)=default | |
BruteForceIterator & | operator= (const BruteForceIterator &)=default |
BruteForceIterator & | operator= (BruteForceIterator &&)=default |
~BruteForceIterator ()=default | |
BruteForceIterator | begin () const |
BruteForceIterator | end () const |
BruteForceIterator & | operator++ () |
BruteForceIterator | operator++ (int n) |
IndexList | operator* () |
bool | isSame (const BruteForceIterator &other) const |
Private Member Functions | |
void | incrementEntry (size_t position, int n) |
void | setInitialState () |
Private Attributes | |
IndexList | _dimensions |
IndexList | _fixedMask |
the strides for each tensor index (necessary to convert coordinates to position in _data ) More... | |
IndexList | _state |
Definition at line 23 of file BruteForceIterator.hh.
Hammer::MultiDimensional::BruteForceIterator::BruteForceIterator | ( | ) |
Definition at line 24 of file BruteForceIterator.cc.
Hammer::MultiDimensional::BruteForceIterator::BruteForceIterator | ( | IndexList | dimensions, |
IndexList | fixed = {} |
||
) |
Definition at line 28 of file BruteForceIterator.cc.
|
default |
|
default |
|
default |
BruteForceIterator Hammer::MultiDimensional::BruteForceIterator::begin | ( | ) | const |
Definition at line 34 of file BruteForceIterator.cc.
BruteForceIterator Hammer::MultiDimensional::BruteForceIterator::end | ( | ) | const |
Definition at line 40 of file BruteForceIterator.cc.
|
private |
Definition at line 57 of file BruteForceIterator.cc.
bool Hammer::MultiDimensional::BruteForceIterator::isSame | ( | const BruteForceIterator & | other | ) | const |
Definition at line 127 of file BruteForceIterator.cc.
IndexList Hammer::MultiDimensional::BruteForceIterator::operator* | ( | ) |
Definition at line 103 of file BruteForceIterator.cc.
BruteForceIterator & Hammer::MultiDimensional::BruteForceIterator::operator++ | ( | ) |
Definition at line 46 of file BruteForceIterator.cc.
BruteForceIterator Hammer::MultiDimensional::BruteForceIterator::operator++ | ( | int | n | ) |
Definition at line 51 of file BruteForceIterator.cc.
|
default |
|
default |
|
private |
Definition at line 107 of file BruteForceIterator.cc.
|
private |
Definition at line 53 of file BruteForceIterator.hh.
|
private |
the strides for each tensor index (necessary to convert coordinates to position in _data
)
Definition at line 54 of file BruteForceIterator.hh.
|
private |
Definition at line 55 of file BruteForceIterator.hh.