Anonymous user
Thiele's interpolation formula: Difference between revisions
Updated D entry
(Updated D entry) |
(Updated D entry) |
||
Line 357:
const real b, e, s;
auto range() const
return iota(b, e + s, s);
}
Line 383:
}
this(in real
Domain d=Domain(0.0L, 1.55L, 0.05L))
immutable
auto xrng = d.range.array;
this(xrng.map!f.array, xrng);
Line 391:
auto rhoN(immutable(real)[] y, immutable(real)[] x)
pure
immutable int N = x.length;
auto p = new real[][](N, N);
Line 410:
void main() {
//
immutable tsin =
immutable tcos =
immutable ttan =
writefln(" %d interpolating points\n", tsin.X.length);
|