37 int n_3mat = (hi - lo);
43 func(dm,lm,rm, n_3mat);
66 for(
int site=lo; site < hi; site++) {
68 REAL64 *lm = (
REAL64 *)&(a->
l.elem(i).elem().elem(0,0).real());
69 REAL64 *rm = (
REAL64 *)&(a->
r.elem(i).elem().elem(0,0).real());
70 REAL64 *dm = (
REAL64 *)&(a->
d.elem(i).elem().elem(0,0).real());
90 const C& l =
static_cast<const C&
>(rhs.expression().left());
91 const C& r =
static_cast<const C&
>(rhs.expression().right());
135 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
136 const C& r =
static_cast<const C&
>(rhs.expression().right());
181 const C& l =
static_cast<const C&
>(rhs.expression().left());
182 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
227 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
228 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
231 int n_3mat = s.
end() - s.
start() + 1;
275 int n_3mat = (hi - lo);
282 func(dm,c,lm,rm, n_3mat);
307 for(
int site=lo; site < hi; site++) {
308 int i = a->
tab[site];
309 REAL64 *lm = (
REAL64 *)&(a->
l.elem(i).elem().elem(0,0).real());
310 REAL64 *rm = (
REAL64 *)&(a->
r.elem(i).elem().elem(0,0).real());
311 REAL64 *dm = (
REAL64 *)&(a->
d.elem(i).elem().elem(0,0).real());
312 func(dm,a->
c, lm, rm, 1);
330 const C& l =
static_cast<const C&
>(rhs.expression().left());
331 const C& r =
static_cast<const C&
>(rhs.expression().right());
374 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
375 const C& r =
static_cast<const C&
>(rhs.expression().right());
420 const C& l =
static_cast<const C&
>(rhs.expression().left());
421 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
465 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
466 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
516 int n_3mat = (hi - lo);
522 func(target,c,src, n_3mat);
550 for(
int j=lo; j < hi; j++) {
554 func(d_ptr,a->
c,l_ptr,1);
570 const C& l =
static_cast<const C&
>(rhs.expression().child());
616 int n_3mat = (hi - lo);
621 func(target,src, n_3mat);
645 for(
int j=lo; j < hi; j++) {
664 const C& l =
static_cast<const C&
>(rhs.expression().child());
704 const C& l =
static_cast<const C&
>(rhs.expression().child());
746 const C& l =
static_cast<const C&
>(rhs.expression().left());
747 const C& r =
static_cast<const C&
>(rhs.expression().right());
796 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
797 const C& r =
static_cast<const C&
>(rhs.expression().right());
843 const C& l =
static_cast<const C&
>(rhs.expression().left());
844 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
890 const C& l =
static_cast<const C&
>(rhs.expression().left().child());
891 const C& r =
static_cast<const C&
>(rhs.expression().right().child());
Expression class for QDP.
QDPType - major type class/container for all QDP objects.
Subsets - controls how lattices are looped.
const multi1d< int > & siteTable() const
bool hasOrderedRep() const
const T * slice() const
Return ref to a column slice.
void evaluate(OLattice< DCol > &d, const OpAssign &op, const QDPExpr< BinaryNode< OpMultiply, Reference< QDPType< DCol, OLattice< DCol > > >, Reference< QDPType< DCol, OLattice< DCol > > > >, OLattice< DCol > > &rhs, const Subset &s)
OLattice< PScalar< PColorMatrix< RComplexFloat, 3 > > > C
PScalar< PColorMatrix< RComplex< REAL64 >, 3 > > DCol
Yet another random number generator.
void ssed_m_eq_hm(REAL64 *m3, REAL64 *m2, REAL64 *m1, int n_mat)
void ordered_ssed_2mat_evaluate_func(int lo, int hi, int myId, ordered_ssed_2mat_args *a)
MakeReturn< UnaryNode< FnReal, typenameCreateLeaf< QDPExpr< T1, C1 > >::Leaf_t >, typenameUnaryReturn< C1, FnReal >::Type_t >::Expression_t real(const QDPExpr< T1, C1 > &l)
void unordered_ssed_2mat_const_evaluate_func(int lo, int hi, int myId, unordered_ssed_2mat_const_args *a)
void dispatch_to_threads(int numSiteTable, Arg a, void(*func)(int, int, int, Arg *))
void unordered_ssed_3mat_evaluate_func(int lo, int hi, int myId, unordered_ssed_3mat_args *a)
void ssed_m_eq_mm(REAL64 *m3, REAL64 *m2, REAL64 *m1, int n_mat)
void unordered_ssed_2mat_evaluate_func(int lo, int hi, int myId, unordered_ssed_2mat_args *a)
void unordered_ssed_3mat_const_evaluate_func(int lo, int hi, int myId, unordered_ssed_3mat_const_args *a)
void ssed_m_peq_amm(REAL64 *m3, REAL64 *a, REAL64 *m2, REAL64 *m1, int n_mat)
void ssed_m_eq_scal_m(REAL64 *m2, REAL64 *a, REAL64 *m1, int n_mat)
void ssed_m_meq_m(REAL64 *m2, REAL64 *m1, int n_mat)
void ssed_m_peq_ahh(REAL64 *m3, REAL64 *a, REAL64 *m2, REAL64 *m1, int n_mat)
void ordered_ssed_3mat_const_evaluate_func(int lo, int hi, int myId, ordered_ssed_3mat_const_args *a)
void ssed_m_peq_ahm(REAL64 *m3, REAL64 *a, REAL64 *m2, REAL64 *m1, int n_mat)
void ssed_m_peq_m(REAL64 *m2, REAL64 *m1, int n_mat)
void ssed_m_eq_mh(REAL64 *m3, REAL64 *m2, REAL64 *m1, int n_mat)
void ordered_ssed_2mat_const_evaluate_func(int lo, int hi, int myId, ordered_ssed_2mat_const_args *a)
void ssed_m_peq_amh(REAL64 *m3, REAL64 *a, REAL64 *m2, REAL64 *m1, int n_mat)
void ssed_m_eq_hh(REAL64 *m3, REAL64 *m2, REAL64 *m1, int n_mat)
void ordered_ssed_3mat_evaluate_func(int lo, int hi, int myId, ordered_ssed_3mat_args *a)
Primary include file for QDP.
void(* func)(REAL64 *, REAL64 *, int)
void(* func)(REAL64 *, REAL64 *, REAL64 *, int)
void(* func)(REAL64 *, REAL64 *, REAL64 *, int)
void(* func)(REAL64 *, REAL64 *, REAL64 *, REAL64 *, int)
OLattice< DCol > & target
void(* func)(REAL64 *, REAL64 *, int)
unordered_ssed_2mat_args(const OLattice< DCol > &src_, OLattice< DCol > &target_, const int *tab_, void(*func_)(REAL64 *, REAL64 *, int))
const OLattice< DCol > & src
const OLattice< DCol > & src
OLattice< DCol > & target
unordered_ssed_2mat_const_args(const OLattice< DCol > &src_, OLattice< DCol > &target_, REAL64 *c_, const int *tab_, void(*func_)(REAL64 *, REAL64 *, REAL64 *, int))
void(* func)(REAL64 *, REAL64 *, REAL64 *, int)
unordered_ssed_3mat_args(const OLattice< DCol > &l_, const OLattice< DCol > &r_, OLattice< DCol > &d_, const int *tab_, void(*func_)(REAL64 *, REAL64 *, REAL64 *, int))
const OLattice< DCol > & l
void(* func)(REAL64 *, REAL64 *, REAL64 *, int)
const OLattice< DCol > & r
void(* func)(REAL64 *, REAL64 *, REAL64 *, REAL64 *, int)
unordered_ssed_3mat_const_args(const OLattice< DCol > &l_, const OLattice< DCol > &r_, OLattice< DCol > &d_, REAL64 *c_, const int *tab_, void(*func_)(REAL64 *, REAL64 *, REAL64 *, REAL64 *, int))
const OLattice< DCol > & r
const OLattice< DCol > & l