C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
blitzplusplus::basi::Indexer< RANK, V > Class Template Reference

Performs the slicing on an array already transposed by Transposer. More...

#include <BlitzArraySliceIterator.h>

+ Inheritance diagram for blitzplusplus::basi::Indexer< RANK, V >:
+ Collaboration diagram for blitzplusplus::basi::Indexer< RANK, V >:

Static Public Member Functions

static ttd::ResCArray< V > & index (CArray< RANK > &array, ttd::ResCArray< V > &resArray, const ttd::VecIdxTiny< RANK, V > &idx)
 Static worker. More...
 
- Static Public Member Functions inherited from blitzplusplus::basi::Transposer< RANK, V >
static CArray< RANK > & transpose (CArray< RANK > &)
 Static worker. More...
 

Detailed Description

template<int RANK, typename V>
class blitzplusplus::basi::Indexer< RANK, V >

Performs the slicing on an array already transposed by Transposer.

Definition at line 172 of file BlitzArraySliceIterator.h.

Member Function Documentation

template<int RANK, typename V >
static ttd::ResCArray<V>& blitzplusplus::basi::Indexer< RANK, V >::index ( CArray< RANK > &  array,
ttd::ResCArray< V > &  resArray,
const ttd::VecIdxTiny< RANK, V > &  idx 
)
inlinestatic

Static worker.

Returns
Reference to resArray
Semantics
static const int RANK=11;
ttd::ResCArray<Vec> psiRes;
ttd::VecIdxTiny<RANK,Vec> idxTiny;
Indexer<RANK,Vec>::index(psi,psiRes,idxTiny);
is equivalent to
const blitz::Range a(blitz::Range::all());
psiRes.reference(psi(0,a,2,a,4,5,a,a,8,a,10));
Parameters
arrayThe array to be sliced
resArrayThe array storing the result
idxSet of dummy indices

Definition at line 201 of file BlitzArraySliceIterator.h.


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