28 unsigned nz =
N, nr = 0, nv = 0;
31 data = std::vector<poly2d_term>((N + 2) / 2, v3);
37 data[nv].coeff = -
data[nv-1].coeff*(nz+1)*(nz+2)/(nr*nr);
80 if (M_cur > M_max) M_max = M_cur;
124 out <<
"TrigArr: TASize = " <<
TASize 125 <<
"\tMaxM = " <<
MaxM << std::endl;
129 std::streamsize old_prec = out.precision(), wdt = prec+7;
132 for (jm = 0; jm <=
MaxM; ++jm) {
133 out << std::setw(wdt) << std::left << jm;
136 for (jm = 0; jm <=
MaxM; ++jm) {
140 for (jm = 0; jm <=
MaxM; ++jm) {
143 out <<
"|" << std::endl;
144 out.precision(old_prec);
146 out <<
"\tTrigArr size is not adjusted." << std::endl;
149 out <<
"\tTrigArr is not allocated." << std::endl;
163 for(it = 0; it <
data.size(); ++it) {
169 p_out.
data.push_back(term);
172 for(it = 0; it <
data.size(); ++it) {
178 p_out.
data.push_back(term);
182 if (!p_out.
data.empty()) {
201 for(it = 0; it <
data.size(); ++it) {
207 p_out.
data.push_back(term);
210 for(it = 0; it <
data.size(); ++it) {
216 p_out.
data.push_back(term);
220 if (!p_out.
data.empty()) {
static void FillTrigArr(const double phi)
std::vector< poly2d_term > data
static std::set< poly2d_base * > poly2d_base_set
static void SetPhi(const double phi)
void Scale(const double C)
static trig_pair * TrigArr
Abs< T >::type abs(const T &t)
static void PrintTrigArr(std::ostream &out=std::cout, const std::streamsize prec=5)
static void SetTrigArrSize(const unsigned N)