Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,8 +1,10 @@
|
|||
import std.stdio, std.range;
|
||||
|
||||
void main() {
|
||||
import std.stdio, std.range;
|
||||
|
||||
auto D = [90.5, 47, 58, 29, 22, 32, 55, 5, 55, 73.5];
|
||||
auto R = recurrence!q{(a[n-1].dup[] -= a[n-1][1..$])[0..$-1]}(D);
|
||||
foreach (di; take(R, D.length))
|
||||
writeln(di);
|
||||
writefln("%(%s\n%)",
|
||||
recurrence!q{ (a[n - 1][0 .. $ - 1] =
|
||||
a[n - 1][1 .. $] -
|
||||
a[n - 1][0 .. $ - 1])[0 .. $] }(D)
|
||||
.take(D.length));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue