hep.aida.tfloat.doc-files.hist3d.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parallelcolt Show documentation
Show all versions of parallelcolt Show documentation
Parallel Colt is a multithreaded version of Colt - a library for high performance scientific computing in Java. It contains efficient algorithms for data analysis, linear algebra, multi-dimensional arrays, Fourier transforms, statistics and histogramming.
The newest version!
Random r = new Random();
IHistogram3D h3 = new Histogram3D("AIDA 3D Histogram",10, -2, +2, 5, -2, +2, 3, -2, +2);
for (int i=0; i<10000; i++) h3.fill(r.nextGaussian(),r.nextGaussian(),r.nextGaussian());
System.out.println(new Converter().toString(h3));
-->
AIDA 3D Histogram:
Entries=8675, ExtraEntries=1325
MeanX=0.000135, RmsX=0.01163
MeanY=-0.004404, RmsY=0.01163
MeanZ=0.013021, RmsZ=0.113365
MinBinHeight=3, MaxBinHeight=250
xAxis: Bins=10, Min=-2, Max=2
yAxis: Bins=5, Min=-2, Max=2
zAxis: Bins=3, Min=-2, Max=2
Heights:
Z=0.666667
| X
| -2 -1.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 1.6 | Sum
---------------------------------------------------------
Y 1.2 | 7 12 14 33 25 34 33 24 10 5 | 197
0.4 | 17 27 48 77 86 78 88 57 37 18 | 533
-0.4 | 22 50 71 89 78 116 87 77 36 32 | 658
-1.2 | 23 26 43 90 93 74 87 48 33 12 | 529
-2 | 3 18 19 36 35 44 33 15 8 4 | 215
---------------------------------------------------------
Sum | 72 133 195 325 317 346 328 221 124 71 |
Z=-0.666667
| X
| -2 -1.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 1.6 | Sum
-----------------------------------------------------------
Y 1.2 | 18 24 43 64 60 64 66 51 27 19 | 436
0.4 | 38 86 101 150 187 182 143 108 59 32 | 1086
-0.4 | 51 95 130 194 227 250 195 149 92 48 | 1431
-1.2 | 43 82 95 158 165 201 170 123 65 31 | 1133
-2 | 14 26 46 55 64 80 59 38 35 19 | 436
-----------------------------------------------------------
Sum | 164 313 415 621 703 777 633 469 278 149 |
Z=-2
| X
| -2 -1.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 1.6 | Sum
---------------------------------------------------------
Y 1.2 | 6 12 18 35 33 21 28 18 15 6 | 192
0.4 | 10 31 57 82 83 78 73 47 31 15 | 507
-0.4 | 20 36 63 88 103 120 85 59 37 27 | 638
-1.2 | 23 34 40 79 65 83 60 49 39 15 | 487
-2 | 11 13 31 29 26 35 18 13 16 5 | 197
---------------------------------------------------------
Sum | 70 126 209 313 310 337 264 186 138 68 |
© 2015 - 2025 Weber Informatics LLC | Privacy Policy