|
QDP++
|
Classes | |
| class | QDP::OScalar< T > |
| Outer grid Scalar class */. More... | |
| struct | QDP::UnaryReturn< OScalar< T >, FnGetSite > |
| dest [some type] = source [some type] More... | |
Functions | |
| template<class T> | |
| std::istream & | QDP::operator>> (std::istream &s, OScalar< T > &d) |
| Ascii input. | |
| template<class T> | |
| std::ostream & | QDP::operator<< (std::ostream &s, const OScalar< T > &d) |
| Ascii output. | |
| template<class RHS, class T1> | |
| std::ostream & | QDP::operator<< (std::ostream &s, const QDPExpr< RHS, OScalar< T1 > > &l) |
| Text output. | |
| template<class T> | |
| TextReader & | QDP::operator>> (TextReader &txt, OScalar< T > &d) |
| Text input. | |
| template<class T> | |
| StandardInputStream & | QDP::operator>> (StandardInputStream &is, OScalar< T > &d) |
| Text input. | |
| template<class T> | |
| TextWriter & | QDP::operator<< (TextWriter &txt, const OScalar< T > &d) |
| Text output. | |
| template<class T> | |
| StandardOutputStream & | QDP::operator<< (StandardOutputStream &s, const OScalar< T > &d) |
| Text output. | |
| template<class RHS, class T1> | |
| StandardOutputStream & | QDP::operator<< (StandardOutputStream &s, const QDPExpr< RHS, OScalar< T1 > > &l) |
| Text output. | |
| template<class T> | |
| WordType< OScalar< T > >::Type_t | QDP::toWordType (const OScalar< T > &s) |
| QDP Wordtype to primitive wordtype. | |
| template<class T> | |
| UnaryReturn< OScalar< T >, FnGetSite >::Type_t | QDP::getSite (const OScalar< T > &s1, int innersite) |
| template<class T> | |
| void | QDP::zero_rep (OScalar< T > &dest) |
| dest = 0 | |
| template<class T1, class T2> | |
| void | QDP::copymask (OScalar< T2 > &dest, const OScalar< T1 > &mask, const OScalar< T2 > &s1) |
| dest = (mask) ? s1 : dest | |
| template<class T, class T1> | |
| void | QDP::cast_rep (T &d, const OScalar< T1 > &s1) |
| dest [some type] = source [some type] | |
| template<class T, class T1> | |
| void | QDP::recast_rep (OScalar< T > &d, const OScalar< T1 > &s1) |
| dest [some type] = source [some type] | |
| template<class T> | |
| void | QDP::random (OScalar< T > &d) |
| dest = random | |
| template<class T> | |
| void | QDP::gaussian (OSubScalar< T > &d) |
| dest = gaussian | |
Outer grid scalar means sites are not the slowest varying index. There can still be an Inner grid.
| void QDP::cast_rep | ( | T & | d, |
| const OScalar< T1 > & | s1 ) |
dest [some type] = source [some type]
Definition at line 1439 of file qdp_outer.h.
References cast_rep(), and QDP::OScalar< T >::elem().
| void QDP::copymask | ( | OScalar< T2 > & | dest, |
| const OScalar< T1 > & | mask, | ||
| const OScalar< T2 > & | s1 ) |
dest = (mask) ? s1 : dest
Definition at line 1432 of file qdp_outer.h.
References copymask(), and QDP::OScalar< T >::elem().
| void QDP::gaussian | ( | OSubScalar< T > & | d | ) |
dest = gaussian
Definition at line 1462 of file qdp_outer.h.
References QDP::OScalar< T >::elem(), fill_gaussian(), random(), and QDP::OSubScalar< T >::subset().
Referenced by gaussian(), gaussian(), gaussian(), and gaussian().
|
inline |
Definition at line 1414 of file qdp_outer.h.
References QDP::OScalar< T >::elem(), and getSite().
| StandardOutputStream & QDP::operator<< | ( | StandardOutputStream & | s, |
| const OScalar< T > & | d ) |
| StandardOutputStream & QDP::operator<< | ( | StandardOutputStream & | s, |
| const QDPExpr< RHS, OScalar< T1 > > & | l ) |
Text output.
Definition at line 197 of file qdp_outer.h.
|
inline |
Ascii output.
Treat all ostreams here like all nodes can write. To use specialized ones that can broadcast, use TextReader
Definition at line 153 of file qdp_outer.h.
References QDP::OScalar< T >::elem().
| std::ostream & QDP::operator<< | ( | std::ostream & | s, |
| const QDPExpr< RHS, OScalar< T1 > > & | l ) |
Text output.
Definition at line 160 of file qdp_outer.h.
|
inline |
| StandardInputStream & QDP::operator>> | ( | StandardInputStream & | is, |
| OScalar< T > & | d ) |
| std::istream & QDP::operator>> | ( | std::istream & | s, |
| OScalar< T > & | d ) |
Ascii input.
Treat all istreams here like all nodes can read. To use specialized ones that can broadcast, use TextReader
Definition at line 143 of file qdp_outer.h.
References QDP::OScalar< T >::elem().
| TextReader & QDP::operator>> | ( | TextReader & | txt, |
| OScalar< T > & | d ) |
| void QDP::random | ( | OScalar< T > & | d | ) |
dest = random
Implementation is in the specific files
This implementation is correct for no inner grid
Definition at line 504 of file qdp_parscalar_specific.h.
References QDP::OScalar< T >::elem(), fill_random(), QDP::RNG::ran_mult, and QDP::RNG::ran_seed.
Referenced by gaussian(), gaussian(), gaussian(), random(), random(), random(), and random().
dest [some type] = source [some type]
Definition at line 1446 of file qdp_outer.h.
References cast_rep(), and QDP::OScalar< T >::elem().
QDP Wordtype to primitive wordtype.
Definition at line 1400 of file qdp_outer.h.
References QDP::OScalar< T >::elem(), and toWordType().
| void QDP::zero_rep | ( | OScalar< T > & | dest | ) |
dest = 0
Definition at line 1425 of file qdp_outer.h.
References QDP::OScalar< T >::elem(), and zero_rep().