Finite differences stay second order away from a jump
Away from the jumps the central difference error falls by 3.9 to 4.1 per doubling of ; the spectral error stays above 0.7.
3 tests · VivThe program and its numbers
Math
Away from the jumps the central difference error falls by 3.9 to 4.1 per doubling of ; the spectral error stays above 0.7.
3 tests · VivThe program and its numbers
Iterations grow like (slope 1.05); bad scaling stalls CG past 10,000 iterations, and Jacobi brings it back to 2 times the unscaled count.
3 tests · VivThe program and its numbers
Terms reach for an answer of , so the sum is off by more than 10%; is good to .
3 tests · VivThe program and its numbers
The forward difference is best near , with error between and ; at rounding pushes both errors above .
3 tests · VivThe program and its numbers
About operations against Householder's ; at Householder does more than 100 times the work.
4 tests · VivThe program and its numbers
Correct digits stay within 1 below and 3 above ; at fewer than 3 remain.
2 tests · VivThe program and its numbers
Leapfrog's energy error is the same after 100,000 periods as after 10,000, while RK4's grows 10 times.
2 tests · VivThe program and its numbers
Full double precision for in 5 steps, where bisection needs 52; the error ratio is near 0.354.
3 tests · VivThe program and its numbers
At the direct form has lost 7 of 16 digits, while keeps at least 15 down to .
4 tests · VivThe program and its numbers
stays below from to , while Gram-Schmidt grows like or .
5 tests · Viv and vipyr agreeThe program and its numbers
For the textbook small root is off by 25%, while gets it to .
2 tests · VivThe program and its numbers
At degree 20 equally spaced nodes err by 60 and Chebyshev nodes by 0.018; at degree 40 Chebyshev is below .
4 tests · VivThe program and its numbers
The spectral error is below by ; the central difference falls like and is above at .
3 tests · VivThe program and its numbers
On Robertson's problem Dormand-Prince takes 34,537 steps, Radau IIA 78 and BDF 144, and all three end within of the reference.
4 tests · VivThe program and its numbers
On uniform numbers pairwise summation errs by under , left to right by about .
2 tests · VivThe program and its numbers
16 points give to , while on is off by .
3 tests · VivThe program and its numbers
For , , , (variance 30) the one-pass formula gives ; Welford's update gives 30.
2 tests · VivThe program and its numbers
Statistics
The slope grows by 2.0 per IRLS iteration, from 4.6 to 44.7, while the deviance falls by a factor of about each step.
2 tests · VivThe program and its numbers
On nine NIST datasets QR keeps at least 7.5 digits and leads the normal equations by at least 2; on Filip Cholesky keeps none.
4 tests · Viv and vipyr agreeThe program and its numbers
At least one of 20 -tests is significant in 64.7% of 10,000 studies, as predicts; Bonferroni brings it to 5%.
2 tests · VivThe program and its numbers
Science
exceeds 2 by 4.9% for hydrogen down to 0.19% for argon, with energies within hartree of NIST.
4 tests · VivThe program and its numbers
The decay length is to 0.1% at and at ; the strong sphere's surface potential is 32% of Debye-Hückel's.
3 tests · VivThe program and its numbers
The crossings are at 2.263 and 2.269 against Onsager's ; the susceptibility grows with slope 1.76, near .
2 tests · VivThe program and its numbers
In calcium-40 the gap at 28 neutrons is 4.4 MeV; with it closes, while the gaps at 8 and 20 widen past 10 MeV.
4 tests · VivThe program and its numbers
In oxygen-16 the splitting is 6.2 MeV, 40% of the shell gap; in hydrogen fine structure is of the gap.
5 tests · VivThe program and its numbers
Power systems
On case118 the DC branch-flow error is 8% at half load, 13% at base load and 52% at three times base load.
3 tests · Viv and vipyr agreeThe program and its numbers
Up to 2,383 buses Newton converges in at most 6 iterations, and its solve time grows with the bus count at a fitted log-log slope between 1.0 and 1.6.
2 tests · Viv and vipyr agreeThe program and its numbers
Finance
The error falls like , with a log-log slope between and from 1,000 to 1,000,000 paths.
1 test · Viv and vipyr agreeThe program and its numbers
Over 3,000 quotes parity holds to of the spot, and early exercise of an American call never pays.
3 tests · Viv and vipyr agreeThe program and its numbers
Dynamics and control
Stable for every gain scaling from to 1000; stability is lost only below 0.463.
5 tests · Viv and vipyr agreeThe program and its numbers
Hardware
At 64 bits the critical path is 132 gate delays for ripple carry and 13 for Kogge-Stone, which uses about twice the gates.
4 tests · VivThe program and its numbers