As test3.cpp, but with use of distributed storage.
Results are as follows:
True mean [4](8.02856,9.52883,7.75951,3.38752) True covariance [4,4]((15.9867,10.5622,19.3978,18.7173),(10.5622,11.1728,20.6595,13.5836),(19.3978,20.6595,51.0655,31.2638),(18.7173,13.5836,31.2638,42.7566)) Sampled mean [4](8.00119,9.52006,7.74928,3.34399) Sampled covariance [4,4]((15.381,10.1049,18.4628,17.7914),(10.1049,10.7687,19.8704,12.9159),(18.4628,19.8704,49.5666,29.9575),(17.7914,12.9159,29.9575,41.3806)) Resampled mean [4](7.99768,9.51759,7.74419,3.33712) Resampled covariance [4,4]((15.3756,10.0985,18.4505,17.7795),(10.0985,10.7663,19.8631,12.9043),(18.4505,19.8631,49.5425,29.9328),(17.7795,12.9043,29.9328,41.3556))
Definition in file test8.cpp.
Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Run tests. | |
Variables | |
| unsigned int | M = 4 |
| Dimensionality of the Gaussian. | |
| unsigned int | N = 100000 |
| Number of samples to take. | |
1.5.2