Execution Time0.55s

Test: tutorial-math-binomial (Passed)
Build: v6-20-00-patches-i686-ubuntu18-gcc7-opt (sft-ubuntu-1804-i386-2) on 2020-01-29 03:58:00
Repository revision: f203a97ae4b25ba44f0a3d22e0cb878e77d597cd

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Processing /build/night/LABEL/ROOT-ubuntu18.04-i386/SPEC/default/V/6-20/root/tutorials/math/binomial.C...

TMath::Binomial simple test
Build the Tartaglia triangle
============================
n= 0                             1
n= 1                           1   1
n= 2                         1   2   1
n= 3                       1   3   3   1
n= 4                     1   4   6   4   1
n= 5                   1   5  10  10   5   1
n= 6                 1   6  15  20  15   6   1
n= 7               1   7  21  35  35  21   7   1
n= 8             1   8  28  56  70  56  28   8   1
n= 9           1   9  36  84 126 126  84  36   9   1
n=10         1  10  45 120 210 252 210 120  45  10   1
n=11       1  11  55 165 330 462 462 330 165  55  11   1
n=12     1  12  66 220 495 792 924 792 495 220  66  12   1

TMath::Binomial fancy test
Verify Newton formula for (x+y)^n
x,y in [-2,2] and n from 0 to 9  
=================================
Average Error = 1.063320e-13