Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::MultiDimensional::BruteForceIterator Class Reference

#include <BruteForceIterator.hh>

+ Collaboration diagram for Hammer::MultiDimensional::BruteForceIterator:

Public Member Functions

 BruteForceIterator ()
 
 BruteForceIterator (IndexList dimensions, IndexList fixed={})
 
 BruteForceIterator (const BruteForceIterator &)=default
 
 BruteForceIterator (BruteForceIterator &&)=default
 
BruteForceIteratoroperator= (const BruteForceIterator &)=default
 
BruteForceIteratoroperator= (BruteForceIterator &&)=default
 
 ~BruteForceIterator ()=default
 
BruteForceIterator begin () const
 
BruteForceIterator end () const
 
BruteForceIteratoroperator++ ()
 
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
 

Detailed Description

Definition at line 23 of file BruteForceIterator.hh.

Constructor & Destructor Documentation

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.

Hammer::MultiDimensional::BruteForceIterator::BruteForceIterator ( const BruteForceIterator )
default
Hammer::MultiDimensional::BruteForceIterator::BruteForceIterator ( BruteForceIterator &&  )
default
Hammer::MultiDimensional::BruteForceIterator::~BruteForceIterator ( )
default

Member Function Documentation

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.

void Hammer::MultiDimensional::BruteForceIterator::incrementEntry ( size_t  position,
int  n 
)
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.

BruteForceIterator& Hammer::MultiDimensional::BruteForceIterator::operator= ( const BruteForceIterator )
default
BruteForceIterator& Hammer::MultiDimensional::BruteForceIterator::operator= ( BruteForceIterator &&  )
default
void Hammer::MultiDimensional::BruteForceIterator::setInitialState ( )
private

Definition at line 107 of file BruteForceIterator.cc.

Member Data Documentation

IndexList Hammer::MultiDimensional::BruteForceIterator::_dimensions
private

Definition at line 53 of file BruteForceIterator.hh.

IndexList Hammer::MultiDimensional::BruteForceIterator::_fixedMask
private

the strides for each tensor index (necessary to convert coordinates to position in _data)

Definition at line 54 of file BruteForceIterator.hh.

IndexList Hammer::MultiDimensional::BruteForceIterator::_state
private

Definition at line 55 of file BruteForceIterator.hh.


The documentation for this class was generated from the following files: