1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663
|
==============================
14.11.13 Release CLHEP-2.1.4.1
==============================
2013-11-14 Lynn Garren <garren@fnal.gov>
* Random/Randomize.h: include RandExpZiggurat and RandGaussZiggurat
==============================
05.11.13 Release CLHEP-2.1.4.0
==============================
2013-11-04 Lynn Garren <garren@fnal.gov>
* Random/test: make sure all output streams have unique names
* Random/RandGaussZiggurat - abs type correctness
2013-10-31 Lynn Garren <garren@fnal.gov>
* Random/src/RandGaussZiggurat.cc - fix potential shadowing issue
* Random/src/RandExpZiggurat.cc - fix potential shadowing issue
2013-09-26 Lynn Garren <garren@fnal.gov>
* Random: including RandGaussZiggurat and RandExpZiggurat
(code supplied by ATLAS)
==============================
14.11.12 Release CLHEP-2.1.3.1
==============================
==============================
06.11.12 Release CLHEP-2.1.3.0
==============================
==============================
16.08.12 Release CLHEP-2.1.2.5
==============================
==============================
09.07.12 Release CLHEP-2.1.2.4
==============================
==============================
31.05.12 Release CLHEP-2.1.2.3
==============================
2012-05-31 Lynn Garren <garren@fnal.gov>
* Random: fix various shadow warnings
* src/RandPoisson.cc: bug fix
* test: include CLHEP/Units/GlobalSystemOfUnits.h in tests
to provoke shadow warnings
2012-05-11 Lynn Garren <garren@fnal.gov>
* Random, src, test: use explicit std:: with math functions
* Random/NonRandomEngine.h: use char* instead of char [] for an empty file
==============================
14.02.12 Release CLHEP-2.1.2.2
==============================
==============================
06.02.12 Release CLHEP-2.1.2.1
==============================
2012-02-03 Lynn Garren <garren@fnal.gov>
* src/Ranlux64Engine.cc: use a template to get rid of the warnings
2012-02-01 Lynn Garren <garren@fnal.gov>
* change the names of internal variables so -Wshadow does not complain
==============================
16.12.11 Release CLHEP-2.1.2.0
==============================
2011-12-12 Lynn Garren <garren@fnal.gov>
* test/pretend.h, test/testBug58950.cc: pretend to use variable
2011-12-09 Mark Fischler <mf@fnal.gov>
* test/testInstanceRestore.cc: use assert so clang does not complain
2011-12-08 Lynn Garren <garren@fnal.gov>
* src/TripleRand.cc: use explicit cast to fix problem found by clang++
==============================
29.07.11 Release CLHEP-2.1.1.0
==============================
2011-06-09 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* adding RandSkewNormal to the tests
2011-05-27 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* Random/RandSkewNormal.h, Random/RandSkewNormal.icc,
src/RandSkewNormal.cc: An implementation of the Azzalini
skew-normal distribution, as requested in bug #75534
==============================
11.11.10 Release CLHEP-2.1.0.1
==============================
2010-10-25 Lynn Garren <garren@fnal.gov>
* Random/NonRandomEngine.h, Random/RandomEngine.h,
Random/RandomEngine.icc, src/RandomEngine.cc: minor changes
to avoid compilation warnings when using the -W flag
2010-10-21 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* src/Ranlux64Engine.cc: fix problem with random numbers when seed is
greater than 32bits
* test/testBug73093.cc: test for the Ranlux64Engine problem
==============================
23.07.10 Release CLHEP-2.1.0.0
==============================
2010-06-30 Lynn Garren <garren@fnal.gov>
* src/Hurd160Engine.cc, Hurd288Engine.cc: deal with an undefined
order of execution warning reported by gcc 4.5
2010-06-23 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* Random/RanecuEngine.h: add a private method (see below)
* src/RanecuEngine.cc: Modify constructor and setSeed to utilize all
info provided and avoid coincidence of same state from different seeds
* test/testRanecuSequence.cc: test for repeating sequences
==============================
16.06.10 Release CLHEP-2.1.0.0.b01
==============================
==============================
11.06.10 Release CLHEP-2.0.5.0.b01
==============================
2010-04-29 Walter Brown <wb@fnal.gov>
* DRand48Engine: use CLHEP/Utility/noncopyable.h
* RandBinomial, RandBreitWigner, RandChiSquare,
RandExponential, RandFlat, RandGamma, RandGauss,
RandGeneral, RandLandau, RandPoisson, RandStudentT:
use shared pointer from CLHEP/Utility/memory.h
* Random.h: no longer need deleteEngine
* test/testDistCopy: test copy constructors
(note that all copy constructors are now compiler generated)
2010-03-04 Walter Brown <wb@fnal.gov>
* DualRand, Hurd160Engine, Hurd288Engine, JamesRandom,
MTwistEngine, RandEngine, RanecuEngine, RanluxEngine,
Ranlux64Engine, RanshiEngine, TripleRand:
Let the compiler generate the copy constructors. Use the new
static functions. Also define static const int's as relevant.
This produces code which is both more efficient and more compact.
* RandomEngine: move static variables here and make them
static functions. This streamlines the code.
Affected variables are exponent_bit_32, mantissa_bit_12,
mantissa_bit_24, mantissa_bit_32, twoToMinus_32,
twoToMinus_48, twoToMinus_49, twoToMinus_53, and
nearlyTwoToMinus_54.
2010-03-04 Mark Fischler <mf@fnal.gov>
* test/testEngineCopy.cc: test copy constructors and operator =
==============================
09.03.10 Release CLHEP-2.0.4.6
==============================
2010-03-08 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* src/RandEngine.cc: Cast RAND_MAX to unsigned long to avoid
gcc 4.4 warnings.
* src/RanecuEngine.cc: Fix a bug introduced in 2.0.4.5/1.9.4.5
which resulted in the inability to rollback the random state.
* test/testBug58950: test rolling back the random state
==============================
08.12.09 Release CLHEP-2.0.4.5
==============================
2009-12-07 Lynn Garren <garren@fnal.gov>
* test/testBug58950.cc: test for the 64bit bug
2009-12-01 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* src/RanecuEngine.cc: Negative seeds are not allowed. In the past,
negative seeds were ignored, resulting in a reproducable sequence.
Instead, we now use the absolute value of any negative seeds.
2009-12-01 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* Random/RanecuEngine.h, src/RanecuEngine.cc: define maxSeq
as a static const int since it contains the size of an array
* src/RanecuEngine.cc: ensure that all seeds are in the expected 32bit range.
==============================
12.11.09 Release CLHEP-2.0.4.4
==============================
==============================
03.11.09 Release CLHEP-2.0.4.4.b01
==============================
==============================
04.07.09 Release CLHEP-2.0.4.3
==============================
2009-06-30 Mark Fischler <mf@fnal.gov>
* src/Ranlux64Engine.cc: Fix bug #24689. setSeeds() now
uses all seeds passed to it instead of only the first one.
==============================
18.11.08 Release CLHEP-2.0.4.2
==============================
2008-11-18 Lynn Garren <garren@fnal.gov>
* test/testVectorSave.cc: Add a test for bug #44156
2008-11-13 Mark Fischler <mf@fnal.gov>
* src/engineIDulong.cc: Fix problem that caused check for proper
engine type to fail where an unsigned long is 64bits. (bug #44156)
* src/*Engine.cc: make sure that existing stored engine states
don't break due to the change in engineIDulong.cc
==============================
04.11.08 Release CLHEP-2.0.4.1
==============================
==============================
07.08.08 Release CLHEP-2.0.4.0
==============================
2008-07-17 Lynn Garren <garren@fnal.gov>
* add explicit parentheses in various places to keep gcc 4.3 happy
* src/RandEngine.cc: change how the compiler decides how to implement flat()
* test/testRandDists.cc: force variables to be in memory so
testRandGeneral() behaves the same with both gcc 4.3 and 3.4.
* Random/src/DRand48Engine.cc,RandEngine.cc:
Remove (incorrect) implementation of private, unused, copy constructor
and operator=.
* Random/src/drand48.src:
The implementaton of the drand48_iterate method contained a problematic
"if (sizeof (unsigned short int) == 2) { } else {}" structure.
Code contained in the else portion had unintended side effects.
We have retained only the code in the if portion, which should work
on all machines.
==============================
01.05.08 Release CLHEP-2.0.3.3
==============================
==============================
18.10.07 Release CLHEP-2.0.3.2
==============================
2007-10-18 Mark Fischler <mf@fnal.gov>
* RandPoissonQ.cc: Change fire(mena) to call
shoot(theLocalEngine(),mean) instead of
shoot(mean), which had caused "cross-talk" between
modules that should not have affected eah other.
==============================
15.11.06 Release CLHEP-2.0.3.1
==============================
2006-11-15 Mark Fischler <mf@fnal.gov>
* Random/src/MTwistEngine.cc: improve seeding method
==============================
18.10.06 Release CLHEP-2.0.3.0
==============================
==============================
20.06.06 Release CLHEP-2.0.2.3
==============================
==============================
21.11.05 Release CLHEP-2.0.2.2
==============================
2005-11-21 Lynn Garren <garren@fnal.gov>
* src/Makefile.am, test/Makefile.am: Build libraries for
Windows Visual C++ without lib prefix.
==============================
22.06.05 Release CLHEP-2.0.2.1
==============================
Wed Jun 22 2005 Andreas Pfeiffer <andreas.pfeiffer@cern.ch>
* configure.in: changed soname to install_name for darwin targets,
dylibs still don't build properly on 10.3/10.4, static libs ok.
2005-06-19 Lynn Garren <garren@fnal.gov>
* configure.in, Makefile.am:
Use lib when building Visual C++ libraries.
Disable shared library build for Solaris CC.
==============================
22.04.05 Release CLHEP-2.0.2.0
==============================
2005-04-14 Mark Fischler <mf@fnal.gov>
* RandFlat.cc RandGauss.cc RandBinomial.cc ... all the distributions
Express states of all distributions which ave private double
members as sequences of ordinary unsigned ints,
to avoid precision issues and avoid issues of non-portability of hex
input manipulators.
2005-04-13 Mark Fischler <mf@fnal.gov>
* DRand48Engine.cc DualRand.cc Hurd160Engine.cc
Hurd288Engine.cc JamesRandom.cc MTwistEngine.cc RandFlat.cc
RandGauss.cc RandomEngine.cc RandomEngine.cc RanecuEngine.cc
Ranlux64Engine.cc RanluxEngine.cc TripleRand.cc
(and tiny change in corresponding .h files)
Express states of all engines as sequences of ordinary unsigned ints,
to avoid precision issues and avoid issues of non-portability of hex
input manipulators.
* testAnonymousEngineRestore.cc testInstanceRestore.cc
testSaveEngineStatus.cc testSaveSharedEngines.cc
testStaticStreamSave.cc testVectorSave.cc
* test/Makefile.am
Break up the very lengthy validation of engine saves and restores.
Compilation time grows worse than linearly on some systems; this
split should make the check target go faster.
2005-04-11 Mark Fischler <mf@fnal.gov>
* JamesRandom.cc ranRestoreTest.cc NonRandomEngine.h
Express state of this engine in hex form rather than as doubles, to
avoid precision issues.
2005-04-07 Lynn Garren <garren@fnal.gov>
* configure.in: set AR and ARFLAGS
Fri Mar 11 2005 Mark Fischler <mf@fnal.gov>
* engineIDulong.cc, engineIDulong.h
DOubConv.cc, DoubConv.h
EngineFactory.cc
* DRand48Engine.cc DualRand.cc Hurd160Engine.cc
Hurd288Engine.cc JamesRandom.cc MTwistEngine.cc RandFlat.cc
RandGauss.cc RandomEngine.cc RandomEngine.cc RanecuEngine.cc
Ranlux64Engine.cc RanluxEngine.cc TripleRand.cc
* ranRestoreTest.cc
Add put() and get() methods to every engine transfering state to a
vector of unsigned longs.
Fri Mar 11 2005 Mark Fischler <mf@fnal.gov>
* NonRandomEngine.cc
Initialize (in the ctor) nextRandom and randomInterval (used if
interval-style is set) because these are writtten out and read in
as part of the state, and Microsooft VC++ fouls up the i/o when
reading back the uninitialized number written out.
2005-02-18 Lynn Garren <garren@fnal.gov>
* configure.in, Makefile.am: Stop using libtool.
The newer releases of libtool seem to have dropped support for
Windows Visual C++.
2005-02-14 Lynn Garren <garren@fnal.gov>
* configure.in: Visual C++ flags are now "-EHsc -nologo -GR -GX -MD"
Mon Feb 14 2005 Mark Fischler <mf@fnal.gov>
* JamesRandom.cc
Check that seed is non-negative.
Negative seeds give terrible sequences.
Fri Feb 11 2005 Mark Fischler <mf@fnal.gov>
* RandPoissonQ.cc RandPoissonT.cc RandomEngine.cc
Added missing implementations, per bug # 1806
(FireArray(), shootArray(), getTableSeeds)
Check that seed is non-negative negative sees give terrible sequences.
2005-02-03 Lynn Garren <garren@fnal.gov>
* configure.in: install step creates libCLHEP.a, libCLHEP.so,
and/or libCLHEP.dylib by adding a symbolic link.
2005-02-02 Andreas PFEIFFER <andreas.pfeiffer@cern.ch>
* configure.in: modified compiler flags for windows:
added "-O -GR -GX -MD" as this is needed for the multi-thread
environments used.
Mon Dec 27 2004 Mark Fischler <mf@fnal.gov>
* DRand48Engine.cc DualRand.cc Hurd160Engine.cc
Hurd288Engine.cc JamesRandom.cc MTwistEngine.cc RandFlat.cc
RandGauss.cc RandomEngine.cc RandomEngine.cc RanecuEngine.cc
Ranlux64Engine.cc RanluxEngine.cc TripleRand.cc
* Random.cc EngineFactory.cc StaticRandomStates.cc
* Corresponding .h files
* Random/test/ranRestoreTest.cc
Ability to restore engines and distributions without knowing in
the restoring program which type of engine was used in the saving
program.
Wed Dec 22 2004 Mark Fischler <mf@fnal.gov>
* Random.h StaticRandomState.h
* Random.cc StaticRandomState.cc
Added HepRandom::saveStaticRandomState(ostream) and restore to istream.
Mon Dec 20 2004 Mark Fischler <mf@fnal.gov>
* Random.h RandGauss.h RandFlat.h RandFlat.icc RandBit.h
* Random.cc RandGauss.cc RandFlat.cc
Added static std::ostream& saveFullState ( std::ostream & os )
and saveDistState, and the corresponding restore methods.
Thu Dec 16 2004 Mark Fischler <mf@fnal.gov>
* RandomEngine.h DRand48Engine.cc DualRand.cc Hurd160Engine.cc
Hurd288Engine.cc JamesRandom.cc MTwistEngine.cc RandFlat.cc
RandGauss.cc RandomEngine.cc RandomEngine.cc RanecuEngine.cc
Ranlux64Engine.cc /RanluxEngine.cc TripleRand.cc
* RandBinomial.cc RandBit.cc RandBreitWigner.cc RnadChiSquare.cc
RandExponential.cc RandFlat.cc RandGamma.cc RandGauss.cc
RandGaussQ.cc RandGaussT.cc RandGeneral.cc RandLandau.cc
RandPoisson.cc RandPoissonQ.cc RandPoissonT.cc RandStudentT.cc
Random.h
* Random/test/ranRestoreTest.cc
Added put and get methods, as well as ostream operations, so that
engine and distribution instances can be saved and restored to/from
streams.
Wed Dec 15 2004 Mark Fischler <mf@fnal.gov>
* RandPoissonQ.cc (RandPoissonT.cc)
RandPoissonQ has a path, potentially taken when mean is more
than 100, where an additional gaussian random number is needed.
This had been using the static RandGauss, causing subtle confusion
when an engine other than that owned by the RandPoissonQ instance
is affected by firing a variate. Instead we use the engine owned
by the RandPoissonQ instance.
This will affect in rare cases the values of random variates
delivered by **instances** (not the shoot() methods) of RandPoissonQ
when mean is more than 100 and, for subtle reasons, of RandPoissonT
when the mean is small.
Tue Dec 14 2004 Mark Fischler <mf@fnal.gov>
* RandGeneral.cc
Modify local variable theIntegralPdf, using a std::vector instead
of a double* pointing to a new-ed array. This makes save/restore
an easier matter.
Fri Dec 3 2004 Mark Fischler <mf@fnal.gov>
* RandomEngine.h DRand48Engine.cc DualRand.cc Hurd160Engine.cc
Hurd288Engine.cc JamesRandom.cc MTwistEngine.cc RandFlat.cc
RandGauss.cc RandomEngine.cc RandomEngine.cc RanecuEngine.cc
Ranlux64Engine.cc /RanluxEngine.cc TripleRand.cc
Random/test/ranRestoreTest.cc
Modified engines and additional-state distributions so that
restoreEngineState behaves better (error message and return
instead of hang up) when file requested is not found.
==============================
30.11.04 Release CLHEP-2.0.1.2
==============================
==============================
27.10.04 Release CLHEP-2.0.1.1
==============================
Fri Sep 24 2004 Lynn Garren <garren@fnal.gov>
* use AM_CXXFLAGS
* require autoconf 2.59, automake 1.9.1, and libtool 1.9b
Tue Aug 31 2004 Lynn Garren <garren@fnal.gov>
* change Solaris CC compile flags from "-O -mt" to "-O"
* libtools 1.9b or later is required for Solaris CC
==============================
23.07.04 Release CLHEP-2.0.1.0
==============================
==============================
11.05.04 Release CLHEP-2.0.0.2
==============================
==============================
11.05.04 Release CLHEP-1.9.0.2
==============================
Tue May 11 2004 Mark Fischler <mf@fnal.gov>
* RandPoissonT.cc
* RandPoissonQ.cc
Repaired misbehavior when mean is precisely 100.0 in these routines.
Thu Apr 29 2004 Mark Fischler <mf@fnal.gov>
* RandEngine.cc
* RandEngine.h
Code to accomodate possible systems where RAND_MAX is not
one fo the two "expected" values of 2**15-1 or 2**31-1.
Wed Apr 28 2004 Lynn Garren <garren@fnal.gov>
* make CLHEP work with Visual C++
==============================
21.04.04 Release CLHEP-2.0.0.1
==============================
==============================
24.10.03 Release CLHEP-2.0.0.0
==============================
==============================
23.10.03 Release CLHEP-1.9.0.0
==============================
==============================
01.06.02 Release CLHEP-1.8.0.0
==============================
Sat May 25 10:03:13 2002 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/RandStudentT.cc,RandStudentT.h:
Added #include <float.h>
HUGE_VAL --> DBL_MAX
On Apple/Darwin HUGE_VAL is defined to 1e500 and
g++ compiler complains that floating point number exceeds
range of `double'
Fri Apr 12 16:58:58 2002 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/RandGeneral.cc:
Bug fix in the destructor,
thanks to Willy Langeveld <wglp09@SLAC.Stanford.EDU>
Bug fix: delete [] (theIntegralPdf);
* doxygen/README,config.doxygen,footer.html,modules.doc (Added):
Files for generation of the documantation with Doxygen.
* All_headers:
For Doxygen: added empty documeting comments for classes.
Sun Mar 31 10:54:23 2002 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Global_Clean_Up:
The following macros have been removed from config/CLHEP-target.h.in
(the reason is indicated). Respectively checks for them have been
removed from configure.in:
HEP_HAVE_STL - all supported compilers have string, vector, ...
HEP_HAVE_BOOL - all supported compilers have bool
HEP_HAVE_NAMESPACE - all supported compilers have namespace
HEP_HAVE_EXPLICIT - all supported compilers have explicit
HEP_HAVE_TYPENAME - all supported compilers have typename
HEP_HAVE_EMPTY_TEMPLATE_PARAMETER_LIST
- all supported compilers have template<>
HEP_SQR_NEEDS_PARAMETER_WITHOUT_CONST
HEP_ABS_NEEDS_PARAMETER_WITHOUT_CONST
- current definition of sqr() and abs() works everywhere
HEP_QSORT_NEEDS_FUNCTION_WITH_EXTERN_C_LINKAGE - qsort() is not used
The following macros have been removed from config/CLHEP.h:
HepStdString
HepStdVector
HepStdList
HEP_TEMPLATE_SPECIALIZATION
HEP_BEGIN_NAMESPACE
HEP_END_NAMESPACE
HEP_USING_NAMESPACE
The following modifications have been made in the code:
HepStdString --> HepSTL::string
HepStdVector --> HepSTL::vector
HepBoolean --> bool
HepDouble --> double
HepFloat --> float
HepInt --> int
HEP_BEGIN_NAMESPACE(xxx) --> namespace xxx {
HEP_END_NAMESPACE(xxx) --> } // namespace xxx
=========================================
08.03.02 HepMC has become a part of CLHEP
=========================================
Thu Feb 21 16:50:08 2002 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* configure.in:
Added -D_GNU_SOURCE for g++.
Removed check for HEP_DIFFERENT_EXCEPTIONS.
* config/CLHEP-target.h.in:
Removed HEP_DIFFERENT_EXCEPTIONS
* Random/DRand48Engine.cc,DRand48Engine.h:
Re-declarations of drand48, srand48 and seed48 have been moved
to DRand48Engine.cc
Thu Nov 29 16:42:17 2001 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* configure.in:
Added check for the problem with different exceptions in drand48.
This requires also use of -pedantic-errors instead of -pedantic.
* config/CLHEP-target.h.in:
* Random/DRand48Engine.h:
Introduced HEP_DIFFERENT_EXCEPTIONS.
* test/testVectorDists.cc:
Minor changes to provide compilation with -pedantic-errors.
==========================================
09.11.01 HepPDT has become a part of CLHEP
==========================================
Tue Jul 31 09:13:53 2001 Mark Fischler <mf@fnal.gov>
* Random/RandGeneral.cc:
Changed from assert (above = below+1) to ==
This was first reported by Gregory P. Dubois-Felsmann at SLAC.
Fri Jul 27 2001 Mark Fischler <mf@fnal.gov>
* Random/doc/html/ (Added):
* Random/doc/html/CLHEP-random.html (Added):
Added this ZOOM documentation page.
=============================
15.06.01 Release CLHEP-1.7.0.0
==============================
Wed Apr 11 13:54:51 2001 Mark Fischler <mf@fnal.gov>
* Random/DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc:
* Random/RanecuEngine.cc,TripleRand.cc:
Each saveState method ought to output endl after its data.
* Random/DRand48Engine.h:
__P replaced with __STRICT_ANSI__ (for the case g++ -ansi).
Fri Apr 6 11:53:19 2001 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* test/Makefile.in:
Removed testRandDists and ranRestoreTest:
they have been moved to Random/test.
* Makefile.in,configure.in:
* test/testVectorDists.cc:
* RandomObjects/RandMultiGauss.cc,RandomVector.cc,RandomVector.h:
"Tools" has been changed to "RandomObjects".
Wed Apr 4 10:06:03 2001 Mark Fischler <mf@fnal.gov>
* Tools/Makefile.in (Removed):
* Tools/RandMultiGauss.cc,RandMultiGauss.h (Removed):
* Tools/RandomVector.cc,RandomVector.h (Removed):
* Tools/RandomVector.icc (Removed):
* RandomObjects/Makefile.in (Added):
* RandomObjects/RandMultiGauss.cc,RandMultiGauss.h (Added):
* RandomObjects/RandomVector.cc,RandomVector.h (Added):
* RandomObjects/RandomVector.icc (Added):
As agreed, we migrate the Tools involving Random and another
CLHEP package into a package which I have chosen to name
RandomObjects.
RandomObjects in principle depends on Random, Matrix, and Vecgtor
(though the tools that depend on Vector are not yet present).
* Vector/AxisAngle.h,EulerAngles.h:
Eliminated inconsistancy of virtual methods in no-virtual-destructor
class. These classes should not be used polymorphically.
* test/ranRestoreTest.cc,testRandDists.cc (Removed):
* test/testRandDists.input,testRandDists.out.save (Removed):
These were moved into Random/test
* Random/test/GNUmakefile,gaussSmall.cc (Added):
* Random/test/gaussSpeed.cc,ranRestoreTest.cc (Added):
* Random/test/testRandDists.cc,testRandDists.dat (Added):
* Random/test/testRandDists.input,testRandDists.input-long (Added):
* Random/test/testRandDists.out.save (Added):
Moved detailed and long tests into package-specific test area
as agreed.
* Vector/doc/VectorDefs.tex (Added):
LaTeX documentation source for details of all the formulas and
definitions in the Vector package.
==========================================================================
18.01.01 ZOOM PhysicsVectors Capabilities have become part of CLHEP/Vector
==========================================================================
Thu Jan 18 19:45:00 2001 Mark Fischler <mf@fnal.gov>
* Random/DRand48Engine.h:
Placed ifdef to repair problem which when gcc 2.95.2 is used WITHOUT
-ansi, would have caused the header to fail to complie due to
mismatch in prototypes of drand48() in header and <stdlib.h>.
Tue Jan 9 15:50:00 2001 Mark Fischler <mf@fnal.gov>
* Random/Random.h:
Modified comment for createInstance() to reflect the minor fix
of Dec 5.
Tue Dec 5 11:18:13 2000 Gabriele Cosmo <Gabriele.Cosmo@cern.ch>
* Random/Random.cc:
Minor fix in HepRandom::createInstance() and removed useless code.
Wed Nov 8 11:21:44 2000 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/DRand48Engine.cc,DRand48Engine.h:
* Random/drand48.src (Added):
More accurate code for drand48() on NT. DRand48Engine now produces
exactly the same sequences on all platforms.
Removed #ifdef in declaration of drand48(), srand48() and seed48().
* configure.in:
Added -ansi for g++. After removing #ifdef in declaration
of drand48(), srand48() and seed48() it now works fine.
======================================================================
24.10.00 Generic Functions by Joe Boudreau have become a part of CLHEP
======================================================================
Mon Oct 23 17:54:56 2000 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* config/CLHEP.h: Added definition of HepSTL.
* docs/Random.html,validation.doc (Removed):
* Random/doc/Random.html,validation.doc (Added):
Moved docs for Random from docs/ to Random/doc/.
==============================
20.10.00 Release CLHEP-1.6.0.0
==============================
Tue Oct 17 14:55:45 2000 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/Randomize.h:
Added distributions introduced in CLHEP-1.5.
* Random/RandPoissonQ.cc,flatToGaussian.cc:
* Tools/RandMultiGauss.h:
* test/testRandDists.cc,testVectorDists.cc:
Corrected warnings on Linux when compile with g++ -pedantic -Wall.
==============================================================================
12.10.00 Expression Evaluator by Evgueni Tcherniaev has become a part of CLHEP
Alist, String and Combination have been disabled
==============================================================================
Thu Sep 7 08:18:39 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/RandGauss.h,RandGauss.icc,RandGeneral.h,RandPoisson.icc:
Correct warnings encountered by Yana Gaponenko.
==============================
08.05.00 Release CLHEP-1.5.0.0
==============================
Fri May 5 10:32:21 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/JamesRandom.cc,JamesRandom.h:
<Vincenzo.Innocente@cern.ch>'s mods to JamesRandom are in.
* Tools/Random/RandMultiGauss.cc:
Changed std:: to HepStd::
* test/ranRestoreTest.cc,testRandDists.cc:
Last round of minor warning fixes (in Random package)
before the 1.5 release.
============================================================
24.04.00 StdHepC++ by Lynn Garren has become a part of CLHEP
============================================================
Sat Apr 22 11:20:22 2000 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* test/Makefile.in: Removed testQuickGauss.
Tue Apr 18 15:36:49 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* test/testRandDists.input,testRandDists.out.save:
Committing the re-run input and result files.
* test/testQuickGauss.cc (Removed):
* test/testQuickGauss.input,testQuickGauss.out.save (Removed):
Mon Apr 17 18:00:55 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/RandLandau.cc,RandPoissonQ.cc,flatToGaussian.cc:
Added explicit convertion from double to int.
* Random/erfQ.cc,flatToGaussian.cc:
Included "CLHEP/config/TemplateFunctions.h"
* Random/Stat.h:
Made constructor private; removed private destructor.
* Random/gaussQtables.src,gaussTables.src,poissonTables.src:
Changed std:: to HepStd::
Tue Apr 4 18:13:08 2000 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/RandFlat.cc,RandGauss.cc:
restoreEngineStatus(): changed "char* inputword" to "char inputword[]"
* Random/Makefile.in: added new files.
* test/Makefile.in: added new tests.
* test/ranRestoreTest.cc: changed std:: to HepStd::
* test/ranRestoreTest.cc:
Changed for( HepInt k=0; ... to HepInt k; for(k=0; ...
* test/gaussTables.cc (Removed):
* Random/gaussTables.src (Added):
Moved test/gaussTables.cc to Random/gaussTables.src
* test/validation.doc (Removed):
* docs/validation.doc (Added):
moved test/validation.doc to docs/validation.doc
Tue Mar 28 10:40:19 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/Stat.h (Added):
Added the omitted Stat.h
* Random/gaussQtables.src,gaussTables.src,poissonTables.src:
These files are not run routinely but are part of the package
to document how the .cdat tables are created.
* Random/RandFlat.cc,RandGauss.cc,RandPoissonQ.cc:
Removed use of std::string from files.
Corrected bare std:: to HepStd::
* test/ranRestoreTest.cc (Added):
Added a brief test of the save/restore mechanism.
Mon Mar 13 11:12:41 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Tools/Random/RandMultiGauss.cc,RandMultiGauss.h (Added):
* Tools/Random/RandomVector.cc,RandomVector.h,RandomVector.icc (Added):
* test/testVectorDists.cc,testVectorDists.input (Added):
* test/testVectorDists.out.save (Added):
The vector distribution RandMiultiGauss, this time in its proper
place in Tools/Random and with a validity test in test.
Fri Mar 10 15:59:57 2000 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/RandFlat.cc,RandFlat.h,RandFlat.icc:
* Random/RandGauss.cc,Random/RandGauss.h,RandGauss.icc:
Workaround for the save/restore misbehavior bug.
* Random/RandPoisson.cc,RandPoisson.h,RandPoisson.icc:
Provide for inheritors to have access to defaultMean and other
necessities.
RandPoisson.cc: gammln is removed from this file.
gammln now is in the library on its own merits, via the HepStat class.
However, to retain backward compatibility with codes that may
incidentally use ::gammln (since it was already in the library due to
RandPoisson.cc) we place that (ugly global) definition into
RandPoisson.cc, pointing it to HepStat::gammln.
* Random/RandBit.cc RandBit.h RandBit.icc (Added):
RandBit is equivalent to (and derived from) RandFlat. The only
difference is that RandBit is state-free. RandBit::shootBit()
and fireBit() will always use ONE uniform random and return just
one bit. That is slower than RandFlat::shootBit() but will
behave correctly with respect to saving and restoring status.
(Surprisingly, the static version RandBit::shootBit() (which
uses a JamesRandom engine) appears to be only 2.5 times slower than
RandFlat::shootBit() (which caches the word, using the engine more
rarely. I would have expected a factor of 8-15.)
* Random/RandGaussQ.cc,RandGaussQ.h,RandGaussQ.icc (Added):
A quicker but less accurate distribution, inheriting from RandGauss
so that it may be used as a drop-in replacement. Stateless.
* Random/RandGaussT.cc,RandGaussT.h,RandGaussT.icc (Added):
An accurate and stateless (won't exhibit save/restore bug)
table-driven distribution, inheriting from RandGauss so that it
may be used as a drop-in replacement.
* Random/RandLandau.cc,RandLandau.h,RandLandau.icc (Added):
Landau distribution, using the method in CERNLIB.
* Random/RandPoissonQ.cc,RandPoissonQ.h,RandPoissonQ.icc (Added):
A quicker but (for mu > 100) less accurate distribution, inheriting
from RandPoisson so that it may be used as a drop-in replacement.
Even at mu > 100, 6-digit accurate or better.
* Random/RandPoissonT.cc,RandPoissonT.h,RandPoissonT.icc (Added):
An accurate and stateless (won't exhibit save/restore bug)
table-driven distribution, inheriting from RandPoisson so that it
may be used as a drop-in replacement. Below mu = 100, this is
3-7 times faster than RandPoisson. Recommended as a replacement.
* Random/erfQ.cc,flatToGaussian.cc,gammln.cc (Added):
Various ancillary mathematical functions needed for the distributions.
Users may if they wish avail themsleves of this; the list is in the
header Stat.h.
* Random/gaussQTables.cdat,poissonTables.cdat (Added):
Tables for the table-driven forms of Gaussian and Piosson
distributions.
* test/testRandDists.cc,testRandDists.input,testRandDists.out.save:
Include tests of the various new forms of Gaussian and Poisson dists.
* test/validation.doc (Added):
A file detailing the validation tests, validation levels, and
approximate timings of each distribution. Thus far we have validated
the gaussian, poisson, and RandGeneral distributions.
Mon Oct 18 20:09:49 1999 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* config/Makefile.common.in:
Added installation of *.cdat files
* Random/NonRandomEngine.cc,RandGauss.cc:
std:: --> HepStd::, some trivial cleaning
* Random/Makefile.in:
Added NonRandomEngine.cc
* test/Makefile.in,gaussTables.cc,testQuickGauss.cc:
* test/testRandDists.out.save:
* test/testQuickGauss.input testQuickGauss.out.save (Added):
Modifications caused by introduction of testQuickGauss.cc
and gaussTables.cc
Tue Oct 12 11:13:49 1999 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/RandGauss.cc,RandGauss.h,RandGauss.icc:
RandGauss is made stateless, repairing the bug of saveEngineStatus
not saving enough info to reproduce the sequence correctly.
RandGauss now has a method quick() which is the same as fire() but
gives deviates which are gaussian to only 6 digit precision -- it
runs faster.
* Random/NonRandomEngine.cc,NonRandomEngine.h (Added):
* test/gaussTables.cc,testQuickGauss.cc,gaussTables.cdat (Added):
gaussTables.cdat contains 30K of table data needed for RandGauss. It
was generated by gaussTables.cc; that is included just to document how
the table was produced. gaussTables.cdat is compiled into RandGauss.cc
(by an #include) so that user codes don't have to depend on the table
being present (and don't have to waste time reading in the table).
A new engine, NonRandomEngine, is included primarily for the use of
developers testing their code's behavior - it allows you to dictate
the sequence of randoms supplied by the engine.
Fri Aug 6 12:02:20 1999 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* config/CLHEP.h:
* Combination/Lockable.cc:
* Geometry/Plane3D.cc,Plane3D.h,Transform3D.cc:
* Hist/HBookFile.cc,TupleManager.cc:
* Matrix/:
* DiagMatrix.cc,DiagMatrix.h,GenMatrix.cc,Matrix.cc,Matrix.h:
* Pile.h,SymMatrix.cc,SymMatrix.h,Vector.cc,Vector.h:
* Random/:
* DRand48Engine.cc,DRand48Engine.h,DualRand.cc,DualRand.h:
* Hurd160Engine.cc,Hurd160Engine.h,Hurd288Engine.cc:
* Hurd288Engine.h,JamesRandom.cc,JamesRandom.h,MTwistEngine.cc:
* MTwistEngine.h,RandEngine.cc,RandEngine.h,RandGeneral.cc:
* RanecuEngine.cc,RanecuEngine.h,Ranlux64Engine.cc:
* Ranlux64Engine.h,RanluxEngine.cc,RanluxEngine.h:
* RanshiEngine.cc,RanshiEngine.h,TripleRand.cc,TripleRand.h:
* String/:
* CmdLine.cc,CmdLine.h,Strings.cc,Strings.h,Strings.icc:
* Vector/:
* LorentzRotation.cc,LorentzVector.cc,LorentzVector.h:
* Rotation.cc,ThreeVector.cc,ThreeVector.h,ThreeVector.icc:
* test/:
* testAList.cc,testCmd.cc,testComb.cc,testInversion.cc:
* testLorentzVector.cc,testMatrix.cc,testRandDists.cc:
* testRandom.cc,testStrings.cc,testThreeVector.cc,testUnits.cc:
Changed std:: to HepStd:: to avoid problems on OSF
Thu May 27 17:04:02 1999 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/:
* DualRand.cc,RandFlat.icc,Ranlux64Engine.cc,SeedTable.h:
* TripleRand.cc,TripleRand.h:
fixed up things that were causing warnings on pedantic compilers:
* order of initialization in RandFlat
* added {} around each pair of elements in seedTable
* eliminated the funky private accessors in TripleRand
* test/testRandDists.cc:
Minor modification to work with NT.
Modifications to do better validation: Moments up to 6th and
pdf at intervals of .5 sigma.
Fri May 21 14:37:52 1999 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/:
* DRand48Engine.cc,DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc:
* JamesRandom.cc,MTwistEngine.cc,RandEngine.cc,RanecuEngine.cc:
* Ranlux64Engine.cc,RanluxEngine.cc,RanshiEngine.cc,TripleRand.cc:
All char* beginMarker, char* endMarker have been changed to
char beginMarker[], char endMarker[] to avoid warnings on HP-aCC
* test/testRandDists.cc:
Changed:
#include <math.h> --> #include "CLHEP/config/TemplateFunctions.h"
std:exp(...) --> exp(...)
bool --> HepBoolean
* test/testRandDists.dat (Removed):
* testRandDists.input (Added):
Renamed: testRandDists.dat to testRandDists.input
* test/Makefile.in:
* testRandDists.out.save (Added):
Modifications needed for automatic run of testRandDists
Thu May 20 09:44:06 1999 Mark Fischler <mf@fncrdn.fnal.gov>
* Random/:
* DRand48Engine.cc,DRand48Engine.h,DualRand.cc,DualRand.h:
* Hurd160Engine.cc,Hurd160Engine.h,Hurd288Engine.cc,Hurd288Engine.h:
* JamesRandom.cc,JamesRandom.h,MTwistEngine.cc,MTwistEngine.h:
* RandBinomial.cc,RandBinomial.h,RandBinomial.icc:
* RandBreitWigner.cc,RandBreitWigner.h,RandBreitWigner.icc:
* RandChiSquare.cc,RandChiSquare.h,RandChiSquare.icc:
* RandEngine.cc,RandEngine.h,RandExponential.cc,RandExponential.h:
* RandExponential.icc,RandFlat.cc,RandFlat.h,RandFlat.icc:
* RandGamma.cc,RandGamma.h,RandGamma.icc,RandGauss.cc,RandGauss.h:
* RandGauss.icc,RandGeneral.cc,RandGeneral.h,RandGeneral.icc:
* RandPoisson.cc,RandPoisson.h,RandPoisson.icc:
* RandStudentT.cc,RandStudentT.h,RandStudentT.icc:
* Random.cc,Random.h,Random.icc,RandomEngine.cc,RandomEngine.h:
* RandomEngine.icc,Randomize.h,RanecuEngine.cc,RanecuEngine.h:
* Ranlux64Engine.cc,Ranlux64Engine.h,RanluxEngine.cc,RanluxEngine.h:
* RanshiEngine.cc,RanshiEngine.h,TripleRand.cc,TripleRand.h:
* SeedTable.h:
The merge of G. Cosmos January improvements with the ZOOM enhancements.
Details of the modifications:
* Hurd160Engine.cc,Hurd288Engine.cc:
Made a mod to correct the following flaw -- given N consectutive
calls to operator unsigned int() to get N random 32-bit integers,
you can deduce the state of a Hurd engine and thus predict the next
number. The simple expedient of discarding every Nth number plugs
this flaw.
Also, the earlier version was able to give identical sequences in
two forms of the constructors (very unlikely, but possible). In the
newer version, the only way to get the same sequence is to explicitly
provide the same seeds in the same way.
* Ranlux64Engine.cc:
The early version was using an algorithm which differed from that
intended by Luscher (though it passes our ergodicity tests). The
modified one correctly implements the algorithm, so Luscher's
randomness arguments hold rigorously.
* RanshiEngine.cc,DualRand.cc,TripleRand.cc:
In the early version, the constructor taking explicit seeds still
used numEngine to affect the starting state. This was not the
intention, and that has been corrected. So any program supplying
explicit seeds to one of these engines will deliver a different stream
than before. (The default constructor is unaffected - the dependence
on numEngines is the proper behavior in that case.)
Wed May 19 16:43:17 1999 Mark Fischler <mf@fncrdn.fnal.gov>
* test/testRandDists.cc,testRandDists.dat (Added):
Added a validation program for Random distributions.
==============================
20.04.99 Release CLHEP-1.4.0.0
==============================
Tue Mar 30 20:52:58 1999 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/RandGeneral.cc,RandGeneral.h:
Modifications provided by Stefano Magni
Fri Jan 29 02:33:37 1999 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/:
* RandBreitWigner.cc,RandExponential.cc,RandExponential.h:
* RandExponential.icc,RandFlat.cc,RandFlat.h,RandFlat.icc:
* RandGauss.cc,RandPoisson.cc,Random.cc,Random.h,Randomize.h:
*** HEPRandom 2.1.1 ***
- Fixes for porting on AIX 4.3.2. No functional changes.
- Forced call to HepRandom::createInstance() in Randomize.h.
- Minor cosmetic changes.
* docs/Random.html:
*** HEPRandom 2.1.1 ***
- Updated doc.
Wed Jan 20 23:57:01 1999 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/RandGauss.h:
Methods setFlag(false) and setF(false) if invoked in the client
code before shoot/fire will force generation of a new couple of
values.
Fri Jan 8 00:16:23 1999 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/:
* RandBinomial.h,RandBinomial.icc,RandChiSquare.h:
* RandChiSquare.icc,RandGamma.h,RandGamma.icc,RandGauss.cc:
* RandGauss.h,RandGeneral.cc,RandPoisson.cc,RandPoisson.h:
* RandStudentT.h,RandStudentT.icc,Random.cc,Random.h,Random.icc:
*** HEPRandom 2.1.0 ***
Random (.h.icc.cc) : relocated Gauss and Poisson data;
simplified initialisation of static
generator.
RandGauss (.h.cc),
RandPoisson (.h.cc) : relocated static data from HepRandom.
RandBinomial (.h.icc),
RandChiSquare (.h.icc),
RandGamma (.h.icc),
RandStudentT (.h.icc) : cleanup of useless data/methods.
RandGeneral (.cc) : fixed bug in initialisation of
theIntegralPdf[] in two constructors and
added validity check (courtesy of M.G.Pia)
* docs/Random.html:
*** HEPRandom 2.1.0 ***
- Updated version number. No functional changes.
Sun Dec 20 12:05:12 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/Randomize.h:
Changed RandFlat::shoot() to HepRandom::getTheEngine()->flat()
in the definition of HepUniformRand().
=========================================================================
16.12.98 Started: merging with BaBar version of CLHEP provided by G.Cosmo
=========================================================================
ed Aug 26 11:52:52 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/ :
* DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc,MTwistEngine.cc:
* RanshiEngine.cc,TripleRand.cc:
Some changes to avoid warnings on HP-CC
Tue Aug 25 12:13:08 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/fc.cc (Removed):
* Random/Makefile.in,RandBinomial.cc,RandBinomial.h:
fc() has been renamed to StrirlingCorrection() and moved
to RandBinomial.cc
Sun Aug 23 19:47:09 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/:
* DRand48Engine.cc,DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc:
* JamesRandom.cc,MTwistEngine.cc,RandEngine.cc,RanecuEngine.cc:
* Ranlux64Engine.cc,RanluxEngine.cc,RanshiEngine.cc:
* TripleRand.cc:
Removed #ifdef IRIX_6_2_CC_7_1.
All is.setstate(ios::badbit); replaced by
is.clear(ios::badbit | is.rdstate());
Sat Aug 22 16:25:47 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/:
* DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc,JamesRandom.cc:
* MTwistEngine.cc,RandomEngine.h,Ranlux64Engine.cc:
* RanluxEngine.cc,RanshiEngine.cc,TripleRand.cc:
#include "CLHEP/config/iomanip.h" moved to RandomEngine.h
Fri Aug 21 11:33:33 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/:
* DualRand.cc,Hurd160Engine.cc,Hurd288Engine.cc,RanshiEngine.cc:
* TripleRand.cc:
Changed order of the #include macros: config/iomanip.h should
be the last.
* Random/RandStudentT.cc,fc.cc: Removed #include <math.h>
* test/testMatrix.out.save:
Output for testMatrix has been changed after modification of
the Random module
Fri 21 Aug 03:10:24 1998 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/:
* DualRand.cc,DualRand.h,Hurd160Engine.cc,Hurd160Engine.h:
* Hurd288Engine.cc,Hurd288Engine.h,MTwistEngine.cc,MTwistEngine.h:
* RandBinomial.cc,RandBinomial.h,RandBinomial.icc,RandBreitWigner.icc:
* RandChiSquare.cc,RandChiSquare.h,RandChiSquare.icc:
* RandExponential.icc,RandGamma.cc,RandGamma.h,RandGamma.icc:
* RandGauss.icc,RandGeneral.cc,RandGeneral.h,RandGeneral.icc:
* RandPoisson.icc,RandStudentT.cc,RandStudentT.h,RandStudentT.icc:
* Ranlux64Engine.cc,Ranlux64Engine.h,RanshiEngine.cc,RanshiEngine.h:
* TripleRand.cc,TripleRand.h,fc.cc (Added):
* Random/:
* DRand48Engine.cc,DRand48Engine.h,JamesRandom.cc,JamesRandom.h:
* Makefile.in,RandBreitWigner.cc,RandBreitWigner.h,RandEngine.cc:
* RandEngine.h,RandExponential.cc,RandExponential.h,RandFlat.cc:
* RandFlat.h,RandFlat.icc,RandGauss.cc,RandGauss.h,RandPoisson.cc:
* RandPoisson.h,Random.cc,Random.h,Random.icc,RandomEngine.cc:
* RandomEngine.h,RandomEngine.icc,Randomize.h,RanecuEngine.cc:
* RanecuEngine.h,RanluxEngine.cc,RanluxEngine.h,SeedTable.h:
* test/testRandom.cc,testRandom.input:
* docs/Random.html:
*** HEPRandom 2.0.0a ***
Merged additions and new developments by FNAL-Zoom group.
Added RandGeneral class, courtesy of S.Magni and G.Pieri
(INFN-Milano).
Needs validation on supported compilers.
==========================
28.07.98 Release CLHEP-1.3
==========================
Thu Jul 23 10:05:36 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* test/testFRandom.f,.cvsignore (Removed):
* config/TemplateFunctions.h:
CLHEP-default.h replaced by CLHEP.h
Added HEP_SQR_NEEDS_PARAMETER_WITHOUT_CONST
* config/iostream.h:
Removed declarations for basic_ios and basic_streambuf
* config/CLHEP-target.h.in:
Added HEP_SQR_NEEDS_PARAMETER_WITHOUT_CONST
* configure.in:
Changed options for cl and f77 on NT
Added HEP_SQR_NEEDS_PARAMETER_WITHOUT_CONST
Tue Jul 14 09:05:20 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* config/TemplateFunctions.h (Added):
min(), max(), abs(), sqr() moved from CLHEP.h to TemplateFunctions.h
* config/CLHEP.h:
* Geometry/Transform3D.cc:
* Random/RandBreitWigner.cc,RanecuEngine.cc:
* String/Strings.cc:
* Vector/Rotation.cc:
* test/:
* testLorentzVector.cc,testMinMaxSqrAbs.cc,testStrings.cc:
* testThreeVector.cc:
min(), max(), abs(), sqr() moved from CLHEP.h to TemplateFunctions.h
Wed 25 Mar 23:28:54 1998 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/Random.cc,Random.h:
Some unwanted changes went in ... apologize.
Tue 24 Mar 20:48:39 1998 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* docs/Random.html: -HepRandom 1.9.2-
* Random/:
* DRand48Engine.cc,DRand48Engine.h,JamesRandom.h:
* RandBreitWigner.cc,RandBreitWigner.h,RandEngine.cc:
* RandEngine.h,RandExponential.cc,RandExponential.h,RandFlat.cc:
* RandFlat.h,RandFlat.icc,RandGauss.cc,RandGauss.h,Random.cc:
* Random.h,Random.icc,RandomEngine.cc,RandomEngine.h:
* RandomEngine.icc,RanecuEngine.cc,RanecuEngine.h,RanluxEngine.h:
* SeedTable.h:
HepRandom: better encapsulation as singleton class;
added static table of seeds (moved from HepRandomEngine).
RanecuEngine: moved L'Ecuyer coefficients from private
to protected to allow seed-skipping mechanism.
RandEngine, DRand48Engine: private copy constructor and operator=.
Updated documentation and comments.
==========================
05.02.98 Release CLHEP-1.2
==========================
Thu Feb 5 01:30:02 1998 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/RandPoisson.h,RandPoisson.cc:
Fixed small bug occouring when "crazy" values for mean were given
to the Poisson algorithm.
Mon Feb 2 10:41:39 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/RanluxEngine.cc: Changed pow(2,24) -> 0x1000000
* Random/DRand48Engine.h:
Added declaration of drand48(), srand48() and seed48() for KCC
* configure.in: Added KCC
* Makefile.in,configure.in:
* Alist/Makefile.in:
* Combination/Makefile.in:
* Hist/Makefile.in:
* Matrix/Makefile.in:
* String/Makefile.in:
* Vector/Makefile.in:
* test/Makefile.in:
* config/CLHEP-target.h.in:
Removed PersistentIO stuff
Fri Jan 23 16:24:24 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Random/:
* DRand48Engine.cc,JamesRandom.cc,RandEngine.cc,RanecuEngine.cc:
* RanluxEngine.cc:
Removed ios::nocreate; KCC has no such mode
* Random/RandEngine.cc:
Removed 'dummy' to avoid warnings with KCC
* Combination/Combiner.icc:
Some corrections to avoid warnings with HP/aCC:
done -> HepCombiner<TYPE>::done
nlists -> HepCombiner<TYPE>::nlists
* Combination/Lock.h:
Some corrections to avoid warnings with HP/aCC:
added void to HepLockAddList() and HepLockRemoveList()
* Geometry/Plane3D.h:
* Matrix/DiagMatrix.h,Matrix.h,SymMatrix.h,Vector.h:
* String/CmdLine.h:
* Vector/LorentzVector.h,ThreeVector.h:
Declaration class ostream; changed to #include <iostream.h>
to avoid problems with KCC
Thu Jan 22 10:53:42 1998 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* Makefile.in:
Added "rm configure Makefile.common CLHEP-*.h" for distclean: target
* test/Makefile.in:
Added rm *.ii for clean: target
* test/testRandom.cc:
Removed 'pause' to avoid warnings with KCC
* config/Makefile.common.in:
Added rm *.a *.ii for clean: target
Fri Dec 19 02:35:57 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/Randomize.h:
Added missing ifdef protection to body
========================================================
08.12.97 Release CLHEP-1.1: Geant4 has migrated to CLHEP
========================================================
Thu Oct 16 03:28:47 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/Random.h,RandomEngine.h,RanecuEngine.cc,RanecuEngine.h:
Fixed default argument for setSeed() and setSeeds().
* docs/Random.html: Added few notes ...
Wed Oct 15 00:30:42 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* docs/Random.html:
* Random/:
* DRand48Engine.cc,JamesRandom.cc,RandEngine.cc,
* RandFlat.icc,RanluxEngine.cc:
*** HepRandom 1.9.1 ***
- Fixed old bug inherited from CLHEP0.15 in the algorithm of
RandFlat::shootInt(m,n) (... fireInt(m,n)). Now the method shoots
values in the interval [m,n[ as correctly stated in the docs.
In the old version the interval was wrongly [m,m+n[ ...
Thanks to Massimo Lamanna.
- Fixed minor bug still inherited from CLHEP0.15 in setSeeds()
methods of concrete engines.
Thanks to Peter Stamfest.
Wed Oct 1 15:46:34 1997 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* test/testRandom.cc: Inserted: -*- C++ -*-
Tue Aug 12 02:39:05 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/:
* RandBreitWigner.cc,RandBreitWigner.h,RandExponential.cc:
* RandExponential.h,RandFlat.cc,RandFlat.h,RandFlat.icc:
* RandGauss.cc,RandGauss.h,RandPoisson.cc,RandPoisson.h:
* Random.cc,Random.h,Random.icc:
* docs/Random.html:
Updated to release 1.9 of HepRandom.
- introduced default values for shoot()/fire();
- added shootArray()/fireArray() for every distribution;
- defined operator()() using default values for each distribution;
- updated doc file Random.html.
Tue Jul 22 03:17:08 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/RandomEngine.h,RanluxEngine.h:
Added missing default second argument value for setSeed() and
setSeeds() in RandomEngine and RanluxEngine. If not specified,
RanluxEngine luxury is set to 3 by default.
Sat Jul 12 23:06:01 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/:
* DRand48Engine.cc,DRand48Engine.h,JamesRandom.h,RandEngine.h:
* RanecuEngine.cc,RanecuEngine.h:
Added abs for setting seed index in RanecuEngine.
setSeed() and setSeeds() now have default dummy argument set to zero.
Thu Jul 10 22:04:38 1997 Gabriele Cosmo <gcosmo@slac.stanford.edu>
* Random/RanecuEngine.cc: fixed bug in setSeed() and setSeeds()
Tue Jul 8 16:10:30 1997 Evgueni Tcherniaev <Evgueni.Tcherniaev@cern.ch>
* OldRandom/:
* Makefile.in,JamesRandom.cc,JamesRandom.h,Random.cc:
* Random.h,Random.icc,RandomEngine.cc,RandomEngine.h (Removed):
* test/testOldRandom.cc (Removed):
* configure.in: Removed references to OldRandom/
Fri Mar 14 18:19:29 1997 Nobu Katayama <katayama@hpplus10.cern.ch>
- Vector added more functionality from Geant4 and Babar
- New Random from Geant4
Wed Mar 12 13:03:47 1997 Nobu Katayama <katayama@hpplus10.cern.ch>
- Use HEP_USE_RANDOM instead of USE_RANDOM. Moved Matrix
consturctors using HepRandom from .icc into .cc. They are not
inline anymore.
Wed Feb 19 16:30:14 1997 Leif Lonnblad <lonnblad@sp053>
* test/Makefile.in (SOMETESTFILES): Removed target TestRTTI in
case persistent streams are disabled.
* Random/RandomEngine.h: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
* Random/RandomEngine.cc: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
* Random/Random.h: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
* Random/Random.cc: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
* Random/JamesRandom.h: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
* Random/JamesRandom.cc: Removed dependencies on persistent IO in
case of HEP_NO_PERSISTENT_STREAMS
Fri Feb 14 09:38:37 1997 Leif Lonnblad <lonnblad@sp053>
* Random/Random.cc (HepRandom::breitWignerM2): Fixed serious
bug. Used to be 'if ( gamma = 0.0 )' which is always false and
causes floating exception in next line.
|