146 gridpos( gp_trad, old_grid, new_grid, extpolfac );
148 for (
Index s=0; s<n_new; ++s)
171 for (
Index i=0; i<m; ++i)
179 for (
Index j=0; j<m; ++j)
181 num *= new_grid[s] - old_grid[k+j];
185 for (
Index j=0; j<m; ++j)
187 denom *= old_grid[k+i] - old_grid[k+j];
189 gp[s].w[i] = num / denom;
231 gridpos_poly( agp, old_grid, new_grid, order, extpolfac );
259 #define LOOPW(x) for ( ConstIterator1D x=t##x.w.begin(); x!=t##x.w.end(); ++x )
267 #define LOOPIDX(x) for (ArrayOfIndex::const_iterator x=t##x.idx.begin(); x!=t##x.idx.end(); ++x)
281 os <<
"idx: " << gp.
idx <<
"\n";
282 os <<
"w: " << gp.
w <<
"\n";
361 itw[iti] = (*r) * (*c);
398 itw[iti] = (*p) * (*r) * (*c);
439 itw[iti] = (*b) * (*p) * (*r) * (*c);
484 itw[iti] = (*s) * (*b) * (*p) * (*r) * (*c);
533 itw[iti] = (*v) * (*s) * (*b) * (*p) * (*r) * (*c);
572 tia += a[*c] * itw[iti];
895 for (
Index i=0; i<n; ++i )
972 for (
Index i=0; i<n; ++i )
990 itw(i,iti) = (*r) * (*c);
1034 for (
Index i=0; i<n; ++i )
1046 itw(i,iti) = (*p) * (*r) * (*c);
1094 for (
Index i=0; i<n; ++i )
1108 itw(i,iti) = (*b) * (*p) * (*r) * (*c);
1160 for (
Index i=0; i<n; ++i )
1176 itw(i,iti) = (*s) * (*b) * (*p) * (*r) * (*c);
1232 for (
Index i=0; i<n; ++i )
1250 itw(i,iti) = (*v) * (*s) * (*b) * (*p) * (*r) * (*c);
1291 for (
Index i=0; i<n; ++i )
1304 tia += a[*c] * itw(i,iti);
1353 for (
Index i=0; i<n; ++i )
1422 for (
Index i=0; i<n; ++i )
1498 for (
Index i=0; i<n; ++i )
1581 for (
Index i=0; i<n; ++i )
1671 for (
Index i=0; i<n; ++i )
1743 for (
Index ir=0; ir<nr; ++ir )
1748 for (
Index ic=0; ic<nc; ++ic )
1765 itw(ir,ic,iti) = (*r) * (*c);
1810 for (
Index ip=0; ip<np; ++ip )
1813 for (
Index ir=0; ir<nr; ++ir )
1816 for (
Index ic=0; ic<nc; ++ic )
1870 assert(
is_size(itw,nb,np,nr,nc,
1877 for (
Index ib=0; ib<nb; ++ib )
1880 for (
Index ip=0; ip<np; ++ip )
1883 for (
Index ir=0; ir<nr; ++ir )
1886 for (
Index ic=0; ic<nc; ++ic )
1897 itw(ib,ip,ir,ic,iti) =
1898 (*b) * (*p) * (*r) * (*c);
1953 for (
Index is=0; is<
ns; ++is )
1956 for (
Index ib=0; ib<nb; ++ib )
1959 for (
Index ip=0; ip<np; ++ip )
1962 for (
Index ir=0; ir<nr; ++ir )
1965 for (
Index ic=0; ic<nc; ++ic )
1977 itw(is,ib,ip,ir,ic,iti) =
1978 (*s) * (*b) * (*p) * (*r) * (*c);
2038 for (
Index iv=0; iv<nv; ++iv )
2041 for (
Index is=0; is<
ns; ++is )
2044 for (
Index ib=0; ib<nb; ++ib )
2047 for (
Index ip=0; ip<np; ++ip )
2050 for (
Index ir=0; ir<nr; ++ir )
2053 for (
Index ic=0; ic<nc; ++ic )
2066 itw(iv,is,ib,ip,ir,ic,iti) =
2067 (*v) * (*s) * (*b) * (*p) * (*r) * (*c);
2121 for (
Index ir=0; ir<nr; ++ir )
2126 for (
Index ic=0; ic<nc; ++ic )
2141 *c) * itw(ir,ic,iti);
2197 for (
Index ip=0; ip<np; ++ip )
2200 for (
Index ir=0; ir<nr; ++ir )
2203 for (
Index ic=0; ic<nc; ++ic )
2282 for (
Index ib=0; ib<nb; ++ib )
2285 for (
Index ip=0; ip<np; ++ip )
2288 for (
Index ir=0; ir<nr; ++ir )
2291 for (
Index ic=0; ic<nc; ++ic )
2298 Numeric& tia = ia(ib,ip,ir,ic);
2310 *c) * itw(ib,ip,ir,ic,
2377 for (
Index is=0; is<
ns; ++is )
2380 for (
Index ib=0; ib<nb; ++ib )
2383 for (
Index ip=0; ip<np; ++ip )
2386 for (
Index ir=0; ir<nr; ++ir )
2389 for (
Index ic=0; ic<nc; ++ic )
2396 Numeric& tia = ia(is,ib,ip,ir,ic);
2410 *c) * itw(is,ib,ip,ir,ic,
2464 nv,
ns,nb,np,nr,nc));
2482 for (
Index iv=0; iv<nv; ++iv )
2485 for (
Index is=0; is<
ns; ++is )
2488 for (
Index ib=0; ib<nb; ++ib )
2491 for (
Index ip=0; ip<np; ++ip )
2494 for (
Index ir=0; ir<nr; ++ir )
2497 for (
Index ic=0; ic<nc; ++ic )
2504 Numeric& tia = ia(iv,is,ib,ip,ir,ic);
2520 *c) * itw(iv,is,ib,ip,ir,ic,