QDP++
qdp_simpleword.h File Reference

QDP Operations on built-in types. More...

#include <cmath>

Go to the source code of this file.

Classes

struct  QDP::UnaryReturn< int, FnSeedToFloat >
struct  QDP::UnaryReturn< int, FnSum >
struct  QDP::UnaryReturn< int, FnGlobalMax >
struct  QDP::UnaryReturn< int, FnGlobalMin >
struct  QDP::UnaryReturn< int, FnSumMulti >
struct  QDP::UnaryReturn< int, FnNorm2 >
struct  QDP::BinaryReturn< int, int, FnInnerProduct >
struct  QDP::UnaryReturn< int, FnLocalNorm2 >
struct  QDP::BinaryReturn< int, int, FnLocalInnerProduct >
struct  QDP::BinaryReturn< int, int, FnLocalColorInnerProduct >
struct  QDP::TrinaryReturn< bool, int, int, FnWhere >
struct  QDP::UnaryReturn< float, FnSum >
struct  QDP::UnaryReturn< float, FnGlobalMax >
struct  QDP::UnaryReturn< float, FnGlobalMin >
struct  QDP::UnaryReturn< float, FnSumMulti >
struct  QDP::UnaryReturn< float, FnNorm2 >
struct  QDP::BinaryReturn< float, float, FnInnerProduct >
struct  QDP::UnaryReturn< float, FnLocalNorm2 >
struct  QDP::BinaryReturn< float, float, FnLocalInnerProduct >
struct  QDP::BinaryReturn< float, float, FnLocalColorInnerProduct >
struct  QDP::TrinaryReturn< bool, float, float, FnWhere >
struct  QDP::UnaryReturn< double, FnSum >
struct  QDP::UnaryReturn< double, FnGlobalMax >
struct  QDP::UnaryReturn< double, FnGlobalMin >
struct  QDP::UnaryReturn< double, FnSumMulti >
struct  QDP::UnaryReturn< double, FnNorm2 >
struct  QDP::BinaryReturn< double, double, FnInnerProduct >
struct  QDP::UnaryReturn< double, FnLocalNorm2 >
struct  QDP::BinaryReturn< double, double, FnLocalInnerProduct >
struct  QDP::BinaryReturn< double, double, FnLocalColorInnerProduct >
struct  QDP::TrinaryReturn< bool, double, double, FnWhere >
struct  QDP::BinaryReturn< int, int, OpAssign >
struct  QDP::BinaryReturn< int, int, OpAddAssign >
struct  QDP::BinaryReturn< int, int, OpSubtractAssign >
struct  QDP::BinaryReturn< int, int, OpMultiplyAssign >
struct  QDP::BinaryReturn< int, int, OpDivideAssign >
struct  QDP::BinaryReturn< int, int, OpModAssign >
struct  QDP::BinaryReturn< int, int, OpBitwiseOrAssign >
struct  QDP::BinaryReturn< int, int, OpBitwiseAndAssign >
struct  QDP::BinaryReturn< int, int, OpBitwiseXorAssign >
struct  QDP::BinaryReturn< int, int, OpLeftShiftAssign >
struct  QDP::BinaryReturn< int, int, OpRightShiftAssign >
struct  QDP::BinaryReturn< float, float, OpAssign >
struct  QDP::BinaryReturn< float, float, OpAddAssign >
struct  QDP::BinaryReturn< float, float, OpSubtractAssign >
struct  QDP::BinaryReturn< float, float, OpMultiplyAssign >
struct  QDP::BinaryReturn< float, float, OpDivideAssign >
struct  QDP::BinaryReturn< float, float, OpModAssign >
struct  QDP::BinaryReturn< float, float, OpBitwiseOrAssign >
struct  QDP::BinaryReturn< float, float, OpBitwiseAndAssign >
struct  QDP::BinaryReturn< float, float, OpBitwiseXorAssign >
struct  QDP::BinaryReturn< float, float, OpLeftShiftAssign >
struct  QDP::BinaryReturn< float, float, OpRightShiftAssign >
struct  QDP::BinaryReturn< double, double, OpAssign >
struct  QDP::BinaryReturn< double, double, OpAddAssign >
struct  QDP::BinaryReturn< double, double, OpSubtractAssign >
struct  QDP::BinaryReturn< double, double, OpMultiplyAssign >
struct  QDP::BinaryReturn< double, double, OpDivideAssign >
struct  QDP::BinaryReturn< double, double, OpModAssign >
struct  QDP::BinaryReturn< double, double, OpBitwiseOrAssign >
struct  QDP::BinaryReturn< double, double, OpBitwiseAndAssign >
struct  QDP::BinaryReturn< double, double, OpBitwiseXorAssign >
struct  QDP::BinaryReturn< double, double, OpLeftShiftAssign >
struct  QDP::BinaryReturn< double, double, OpRightShiftAssign >
struct  QDP::BinaryReturn< bool, bool, OpAssign >
struct  QDP::TrinaryReturn< float, float, float, FnColorContract >

Namespaces

namespace  QDP
 Yet another random number generator.

Functions

void QDP::zero_rep (int &dest)
 dest = 0
void QDP::zero_rep (float &dest)
 dest = 0
void QDP::zero_rep (double &dest)
 dest = 0
void QDP::copymask (int &d, bool mask, int s1)
 No bool(dest) = 0.
void QDP::copymask (float &d, bool mask, float s1)
 d = (mask) ? s1 : d;
void QDP::copymask (double &d, bool mask, double s1)
 d = (mask) ? s1 : d;
void QDP::cast_rep (float &d, int s1)
 dest [float type] = source [int type]
void QDP::cast_rep (float &d, float s1)
 dest [float type] = source [float type]
void QDP::cast_rep (float &d, double s1)
 dest [float type] = source [double type]
void QDP::cast_rep (double &d, int s1)
 dest [float type] = source [int type]
void QDP::cast_rep (double &d, float s1)
 dest [double type] = source [float type]
void QDP::cast_rep (double &d, double s1)
 dest [double type] = source [double type]
void QDP::recast_rep (float &d, int s1)
 dest [float type] = source [int type]
void QDP::recast_rep (float &d, float s1)
 dest [float type] = source [float type]
void QDP::recast_rep (float &d, double s1)
 dest [float type] = source [double type]
void QDP::recast_rep (double &d, int s1)
 dest [float type] = source [int type]
void QDP::recast_rep (double &d, float s1)
 dest [double type] = source [float type]
void QDP::recast_rep (double &d, double s1)
 dest [double type] = source [double type]
float QDP::conj (float l)
double QDP::conj (double l)
int QDP::conj (int l)
float QDP::transpose (float l)
double QDP::transpose (double l)
int QDP::transpose (int l)
float QDP::trace (float s1)
double QDP::trace (double s1)
int QDP::trace (int s1)
float QDP::getSite (float s1, int innersite)
double QDP::getSite (double s1, int innersite)
int QDP::getSite (int s1, int innersite)
bool QDP::getSite (bool s1, int innersite)
int QDP::toInt (int s1)
float QDP::toFloat (float s1)
double QDP::toDouble (double s1)
bool QDP::toBool (bool s1)
int QDP::toWordType (int s1)
float QDP::toWordType (float s1)
double QDP::toWordType (double s1)
bool QDP::toWordType (bool s1)
int QDP::where (bool a, int b, int c)
float QDP::where (bool a, float b, float c)
double QDP::where (bool a, double b, double c)
int QDP::sum (int s1)
int QDP::localNorm2 (int s1)
int QDP::localInnerProduct (int s1, int s2)
int QDP::localColorInnerProduct (int s1, int s2)
unsigned int QDP::sum (unsigned int s1)
unsigned int QDP::localNorm2 (unsigned int s1)
unsigned int QDP::localInnerProduct (unsigned int s1, unsigned int s2)
unsigned int QDP::localColorInnerProduct (unsigned int s1, unsigned int s2)
double QDP::sum (float s1)
double QDP::localNorm2 (float s1)
double QDP::localInnerProduct (float s1, float s2)
double QDP::localColorInnerProduct (float s1, float s2)
double QDP::sum (double s1)
double QDP::localNorm2 (double s1)
double QDP::localInnerProduct (float s1, double s2)
double QDP::localColorInnerProduct (float s1, double s2)
double QDP::localInnerProduct (double s1, float s2)
double QDP::localColorInnerProduct (double s1, float s2)
double QDP::localInnerProduct (double s1, double s2)
double QDP::localColorInnerProduct (double s1, double s2)

Detailed Description

QDP Operations on built-in types.

Definition in file qdp_simpleword.h.