13:
WilsonTemplateNew<gslpp::vector<gslpp::complex> >(dim, scheme, order_qcd_i, order_qed_i) {
17 Expanded<gslpp::complex> ret;
20 std::stringstream out;
22 throw std::runtime_error(
"WilsonTemplate::getCoeff(): requested element " + out.str() +
23 " not present in the object");
25 std::vector<std::vector<gslpp::complex> > obj(
wilson.getN1());
26 for (
int j = 0; j <
wilson.getN1(); j++)
27 for (
int k = 0; k <
wilson.getN2().at(j); k++)
28 obj[j].push_back(
wilson.getOrd(j, k)(i));
29 return (Expanded<gslpp::complex>(obj));
34 std::stringstream out;
36 throw std::runtime_error(
"WilsonTemplate::setCoeff(): coefficient index "
37 + out.str() +
" out of range");
40 std::stringstream out;
41 out << order_qcd_i <<
" and " << order_qed_i;
42 throw std::runtime_error(
"WilsonTemplate::setCoeff(): order " + out.str() +
45 gslpp::vector<gslpp::complex> tmp =
wilson.getOrd(order_qcd_i, order_qed_i);
47 wilson.setOrd(order_qcd_i, order_qed_i, tmp);
59 return getWilson(order_qcd_i, order_qed_i);
Expanded< gslpp::complex > getCoeffElement(int i) const
Expanded< gslpp::vector< gslpp::complex > > getCoeff() const
void setCoeff(int i, gslpp::complex z, qcd_orders order_qcd_i, qed_orders order_qed_i=QED0)
WilsonCoefficientNew(unsigned int dim, schemes scheme, qcd_orders order_qcd, qed_orders order_qed=QED0)
void setWilson(const gslpp::vector< gslpp::complex > &v, qcd_orders order_qcd_i, qed_orders order_qed_i=QED0)
Expanded< gslpp::vector< gslpp::complex > > getWilson() const
Expanded< gslpp::vector< gslpp::complex > > wilson
schemes
An enum type for regularization schemes.
qed_orders
An enum type for qed_orders in electroweak.
qcd_orders
An enum type for qcd_orders in QCD.