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 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199
|
2007-12-30 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* doc/local/verification.doc: Documentation update
2007-12-24 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, itpp/base/Makefile.am, itpp/base/sources.mk,
itpp/base/zdotusub.f, m4/acx_blas.m4: Removed redundant zdotusub_
Fortran wrapper to zdotu_ function
Now, the proper calling conventions of zdotu_ Fortran function
should be detected properly in all cases. Therefore, the zdotusub_
wrapper function, which was a temporary workaround solution,
should not be required any more.
2007-12-23 Adam Piatyszek <ediap@users.sourceforge.net>
* m4/ax_func_zdotu.m4: Improved zdotu_ calling convention tests
The previous tests did not work properly on Debian unstable (sid)
and SUSE 10.0 64-bit architectures. The improved tests work as
expected.
2007-12-21 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/blas.h, itpp/base/vec.h: Fix wrong zdotu_ calling
convention on Debian amd64
This patch promotes the calling convention of BLAS zdotu_ function
that returns its result through the first function argument. This
is the default method used by older GCC Fortran
compiler (version 3).
On Debian amd64, the configure-time detection of the proper
calling convention results in both methods working. However, the
method that returns the complex result by value, like standard
C/C++ functions, causes failures of blas_test and vec_test.
This patch fixes bug report [1855481].
2007-12-17 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/linking.doc: Cosmetic documentation fixes
------------------------------------------------------------------------------
2007-12-15 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 4.0.1 released (SVN tag: release-4-0-1)
* NEWS: Release notes for IT++ 4.0.1 added
2007-12-13 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/Makefile.am, doc/tutorial/src/Makefile.am: Build tutorial
examples when doing "make check"
Compile and link time incompatibilities between the library
interfaces and tutorial example programs should now be detected
during the standard check procedure.
* doc/local/installation.doc, doc/local/linking.doc: Documentation
updated to reflect changes in MSVC++ project files
* win32/itpp_acml.vcproj, win32/itpp_acml_tests/*.vcproj,
win32/itpp_mkl.vcproj, win32/itpp_mkl_tests/*.vcproj: Replace
explicit paths with LIB and INCLUDE environment variables
With this change the user is responsible for setting the LIB and
INCLUDE environment variables with proper directories to MKL or
ACML librarary and include files.
Besides, build multi-threaded DLL libraries by default.
* itpp/base/binfile.cpp, itpp/base/copy_vector.h: Include missing
header files to fix compilation using GCC 4.3
2007-12-11 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h, itpp/comm/ldpc.cpp: Improvements to the
generation of regular LDPC codes
2007-12-10 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp: Changed tutorial so it
counts bit errors in entire block, not only systematic bits
* itpp/comm/ldpc.cpp, tests/ldpc_test.ref: Fixed spelling error
2007-12-10 Adam Piatyszek <ediap@users.sourceforge.net>
* m4/acx_blas.m4: Improve autodetection of ACML libraries
* itpp/base/algebra/qr.cpp: Fix incorrect precalculation of the
workspace size for QR decomp.
The size of the workspace memory is now checked for each of
[dz]gerf_, [dz]orgqr_, [dz]geqp3_ and [dz]ungqr_ funcitions
separately, because they operate on different matrices. Besides,
R is now correctly initialised with A before quering for the
workspace size.
* itpp/base/algebra/svd.cpp: Improvements in calculation of the
SVD workspace size
Before resizing the current memory allocated for SVD workspace,
check if the workspace query was sucessful. If not, use the
default, but not optimum workspace size.
2007-12-09 Simon Wood <sgwoodjr@users.sourceforge.net>
* itpp/base/algebra/qr.cpp, itpp/base/algebra/svd.cpp: Added a
workspace query for each of the SVD and QR routines
The query returns the optimal value of the memory workspace size
used in SVD and QR decompositions. Setting the workspace size to
an optimum value greatly improves the speed of calculations.
2007-12-08 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp: Fixes in tutorial
examples.
2007-12-07 Adam Piatyszek <ediap@users.sourceforge.net>
* Makefile.am, configure.ac.in, doc/local/linking.doc,
itpp_debug.pc.in: Provide itpp_debug.pc pkg-config's file
This additional file can be used to obtain the debugging compiler
flags and libraries. It is only installed, when IT++ is configured
with the --enable-debug option.
2007-12-06 Adam Piatyszek <ediap@users.sourceforge.net>
* INSTALL, doc/local/installation.doc: Installation manual updated
to reflect recent changes
* itpp/base/math/misc.h, itpp/srccode/audiofile.h: Fix minor
Doxygen warnings
* configure.ac.in, itpp/base/converters.h, itpp/config_msvc.h:
Move GCC_VERSION macro to the generated config.h file
* itpp/comm/convcode.cpp: Replace ambiguous expression with a
correct one
"i = ++i;" is ambiguous in C/C++. For more information, see
question 3.3 of the comp.lang.c FAQ list:
http://c-faq.com/expr/ieqiplusplus.html
* configure.ac.in: Use AC_MSG_NOTICE for printing configuration
summary
Thanks to this change, the configuration summary is automatically
included in config.log, so there is no need to create a separate
config_summary.log file.
* configure.ac.in: Simplify detection of explicit library
dependencies
There is no need to check for "deplibs_check_method" by executing
the "./libtool --config" command. This information is already
available in a cached variable "lt_cv_deplibs_check_method"
provided by the AC_PROG_LIBTOOL macro.
2007-12-05 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in: Use "host_os" instead of "host" to simplify
case statements
* configure.ac.in: Enable explicit library dependencies on Mac
OS X
Dynamic linking on Mac OS X requires passing explicit library
dependencies to the linker, even if libtool thinks it is not
necessary. Therefore "enable_explicit_deps" is set to "yes"
for this operating system. The solution is taken from pkg-config
Portfile from macports.
* itpp/base/random.cpp: Use tgamma() function instead of
deprecated ambiguous gamma()
* itpp/base/math/elem_math.h: Make sure itpp::gamma() use correct
gamma implementation
BTW, denote that this function name is deprecated due to its
different implementation (and meaning) in BSD and glibc.
* configure.ac.in: std::isfinite, std::isinf and std::isnan are
broken on FreeBSD
The use of these functions on FreeBSD with GCC 3.4.x compilers
causes infinite loops or segmentation faults in bessel_test.
Therefore, do not check for these functions and override them
with local inlined implementations defined in
itpp/base/math/main.h.
* configure.ac.in, itpp/base/bessel/gamma.cpp
itpp/base/math/misc.h itpp/config_msvc.h
itpp/stat/mog_generic.cpp: Add full support of std::isfinite(),
std::isinf() and std::isnan()
Instead of using isnan(), isinf() C99 macros and deprecated
finite() function switch to their equivalents in std library. This
should solve recent portability problems under MinGW/MSYS.
* itpp/base/bessel/hyperg.cpp, itpp/base/bessel/iv.cpp,
itpp/base/bessel/jv.cpp, itpp/base/bessel/k1.cpp,
itpp/base/bessel/kn.cpp: Unify warning messages
* itpp/base/bessel/airy.cpp, itpp/base/bessel/bessel_internal.h,
itpp/base/bessel/chbevl.cpp, itpp/base/bessel/hyperg.cpp,
itpp/base/bessel/i0.cpp, itpp/base/bessel/i1.cpp,
itpp/base/bessel/iv.cpp, itpp/base/bessel/jv.cpp,
itpp/base/bessel/k0.cpp, itpp/base/bessel/k1.cpp,
itpp/base/bessel/kn.cpp, itpp/base/bessel/polevl.cpp: Clean up
"include" and "using namespace" statements
* itpp/base/bessel/bessel_internal.h, itpp/base/bessel/gamma.cpp,
itpp/base/bessel/hyperg.cpp, itpp/base/bessel/iv.cpp,
itpp/base/bessel/jv.cpp, itpp/base/bessel/sources.mk,
itpp/base/bessel/struve.cpp, win32/itpp_acml.vcproj,
win32/itpp_mkl.vcproj: Fixed wrong calculation of bessely()
detected on Intel C++ compiler
When IT++ was compiled with Intel C++ (icpc) compiler, the
bessel_test failed on calculation of bessely() function for
non-integer orders. This bug was caused by the fact that the
ported bessel functions from Cephes Math Library should use
a gamma function, which sets "signgam" global variable. But
instead C99 tgamma() was used, which does not set "signgam".
This patch adds explicit gam() and lgam() definitions, ported
from the original Cephes Math Library, so all bessel functions
in IT++ now use the proper gamma implementations.
2007-12-04 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/optim/newton_search.cpp: Initialize variables with zeros to
suppress compiler warnings
* itpp/base/math/misc.h: Add missing right parenthesis in isnan()
definition
2007-12-03 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, itpp/base/math/misc.h, itpp/config_msvc.h: Fix
improper use of HAVE_DECL_XXX definitions
HAVE_DECL_XXX are always defined as 0 or 1, so one can not simply
check if these names are defined.
2007-11-30 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, m4/acx_blas.m4, m4/acx_lapack.m4: Do not
require Fortran compiler for BLAS/LAPACK linking
BLAS and LAPACK libraries should be checked even if no Fortran
compiler is available. For instance, BLAS/LAPACK routines from MKL
can be used without additional Fortran libraries. This patch
changes IT++ configuration scripts to make this possible.
* m4/acx_blas.m4: Add support for MKL 10
MKL 10 requires explicit linking to -lguide and -lpthread
libraries. With this patch MKL 8.1.1 or newer versions should be
automatically detected on both 32- and 64-bit (em64t) Linux
systems.
2007-11-26 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, itpp/config_msvc.h: Get rid of "min" and "max"
macro definitions
MSVC++ compiler defines these two macros and they might clash with
our proper C++ code using std::min() and std::max() functions
only. This patch removes such macros conditionally in the
generated config.h and config_msvc.h header files.
* m4/ax_func_zdotu.m4: Cosmetic changes in printed messages
2007-11-23 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, itpp/base/blas.h, itpp/base/vec.h,
itpp/config_msvc.h, m4/acx_blas.m4, m4/ax_func_zdotu.m4: Detect
incompatible g77/gfortran calling conventions of zdotu_
The calling conventions of zdotu_ BLAS function are different
for g77 and gfortran compilers. In the case of g77, the result
is passed using a first argument of zdotu_ function, whereas for
gfortran the result is simply returned.
To avoid building an extra Fortran wrapper, which workarounds
this issue, IT++ needs to know which calling convention should be
used. This patch adds two macros to the configure scripts that
compile and try to run simple C++ programs using zdotu_ BLAS
function, As a result of these checks the correct calling convention
is used in itpp::dot() function. The Fortran zdotusub_ wrapper
function can still be linked and used as a fallback solution.
For more information on this issue, please have a look at this
bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20178
* itpp/base/factory.h: Add explicit constructor definition in a
default Factory class
Without this explicit empty constructor in the Factory class, some
compilers (PGI, HP C/aC++) give warnings or errors on a constant
DEFAULT_FACTORY.
* configure.ac.in, itpp/base/math/misc.h, itpp/config_msvc.h: Add
additional checks for isinf() and isfinite() macros
Without these new checks the compilation might fail on
redeclaration of these macros with inline functions in
itpp/base/math/misc.h. This problem occurs for instance on a
HP-UX system.
2007-11-21 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, itpp/base/math/misc.h, itpp/config_msvc.h:
Clean up checks for finite(), isfinite() and isnan()
isnan() is defined as a macro on some systems in <math.h>, so we
should check for it. BTW, removed macro definition of finite(),
which is also defined as inline function in
"itpp/base/math/misc.h".
* configure.ac.in: Removed duplicated checks
AC_HEADER_STDC is invoked when AC_LANG([C++]) is used, whereas
AC_PROG_MAKE_SET is executed by AM_INIT_AUTOMAKE.
* m4/ac_cxx_extern_template.m4: Obsolete macros replaced with the
ones recommended by autoconf
AC_LANG_SAVE + AC_LANG_CPLUSPLUS -> AC_LANG_PUSH([C++])
AC_LANG_RESTORE -> AC_LANG_POP([C++])
AC_TRY_COMPILE -> AC_COMPILE_IFELSE + AC_LANG_PROGRAM
* configure.ac.in, m4/acx_blas.m4, m4/acx_lapack.m4,
m4/acx_fft.m4: Use AS_HELP_STRING macros instead of obsolete
AC_HELP_STRING ones
* Makefile.am, autogen.sh, configure.ac.in,
m4/ac_cxx_extern_template.m4, m4/acx_blas.m4, m4/acx_lapack.m4,
m4/acx_fft.m4: Renamed "config" directory to "m4" to reflect its
contents
* autogen.sh, configure.ac.in: Use "build-aux" directory for
auxiliary building scripts
This directory name is suggested in the autoconf manual as a
standard placeholder for auxiliary build scripts. If this
directory does not exist, create it before invoking autotools.
* autogen.sh: On error return the exit code of the failing command
* autogen.sh: Allow runing autogen.sh using an absolute path
After checking the necessary tools the script now enters the
IT++ source directory for the bootstrap process.
* configure.ac.in: Report all automake warnings and treat them as
errors
This should give the maintainer and people building IT++ from SVN
a better detection of possible bugs in Makefiles.
2007-11-16 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac.in, tests/Makefile.am: Bump autoconf requirement to
2.60 and use AC_PROG_SED
The $datarootdir and $docdir variables, which are used for HTML
documentation installation, were introduced in autoconf 2.60.
Therefore we need to check for this version. Besides, manual check
for sed program is now replaced with AC_PROG_SED macro, which
makes sed as a required dependency. Additionally, gdiff and
gnudiff are searched as diff replacement.
* tests/parser_test.cpp: Prevent warnings about string to char*
conversions
GCC >=4.2 uses "-Wwrite-string" in when "-Wall" flag is used and
this results in warnings about deprecated conversions from
constant strings to char*. This patch workarounds this problem by
a bit different initialisation of arrays of char* strings.
2007-11-12 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/binfile.h: Fixed invalid cast from bool to enum
The Apple's g++3.3 compiler from Mac Developer Tools v1.2 reports
an error on a static cast from bool to enum. This patch changes
the problematic code, so it should be accepted by older compilers.
2007-11-02 Adam Piatyszek <ediap@users.sourceforge.net>
* Makefile.am, configure.ac.in: Save configuration summary to
config_summary.log file
* configure.ac.in, itpp-config.in, itpp.pc.in: Improved
itpp-config and itpp.pc scripts
This patch adds an additional configure check to see whether
external libraries' dependencies need to be explicitly added to
the output of "itpp-config --libs" command. As a result it should
be always possible to use "itpp-config --libs" or "pkg-config itpp
--libs" without adding an extra --static switch. Besides,
"itpp-config --libs" should now return exactly the same libraries
as "pkg-config itpp --libs" on Mac OS X.
* doc/tutorial/src/mimoconv.cpp: Updated MIMO with convolutional
coding example program
2007-11-01 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* doc/local/installation.doc: Updated the "no root" installation
description
2007-10-30 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.h: operator*(Vec &v, Mat &m) documented as
deprecated
The existence of this operator in IT++ is questionable, since its
behaviour is equivalent to "outer_product(v, m.get_row(0))".
Moreover, the documentation was wrong so many users had problems
using it correctly. This patch marks this operator as deprecated,
both in the documentation and through a run-time warning message.
2007-10-25 Adam Piatyszek <ediap@users.sourceforge.net>
* AUTHORS, doc/local/authors.doc: List of authors updated
* configure.ac.in: Do not use "-Werror" flag for debugging library
by default
This flag was propagated into itpp-config and itpp.pc scripts and
this resulted in reporting each warning in users' programs as an
error.
2007-10-23 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/gf2mat_test.cpp: Suppress compilation warning about string
to "char*" conversion
* itpp/base/converters.cpp, itpp/base/converters.h: Workaround for
compilation errors when using GCC 3.3.x
GCC 3.3.x has problems with compilation of a few explicit
instantiations in converters.cpp from IT++ 4.0.0. This only
happens when -finline-functions flag is used. This flag is
included in -03 optimisations. This patch conditionally disables
these problematic instantiation when GCC version < 3.4.0.
2007-10-22 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/algebra/svd.h, itpp/base/matfunc.h: Documentation of
diag() and svd() updated
* itpp/base/matfunc.h: Fixed a bug in rank() function
The order of checks in a while loop was wrong and it caused
assertion when accessing a non-existing element in a vector of
singular values. This patch fixes this problem.
2007-10-18 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/doxygen_html.cfg.in: Reset TAB_SIZE to 8 spaces
Some of the IT++ codes still use tabs of 8 spaces for indenting.
Thus this patch resets the TAB_SIZE to 8 (default value) in
Doxygen's configuration file.
2007-10-16 Adam Piatyszek <ediap@users.sourceforge.net>
* Makefile.am, VERSION, autogen.sh, configure.ac.in
extras/itpp-config.t2t, itpp-config.1.in, itpp.spec.in:
Changed the way version numbers are handled
This patch fixes the problem of removing the "itpp.spec" and
"itpp-config.1" files during "make distclean". These files should
not be removed, since they are distributed in packages. Since now,
version numbers in these two files and in "configure.ac" are
updated according to a VERSION file content, when "autogen.sh"
bootstrapping script is executed.
------------------------------------------------------------------------------
2007-10-14 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 4.0.0 released (SVN tag: release-4-0-0)
* NEWS: Updated for 4.0.0 stable release
2007-10-12 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/converters.h, itpp/base/help_functions.h,
itpp/base/mat.h, itpp/base/matfunc.cpp, itpp/base/matfunc.h,
itpp/base/smat.cpp, itpp/base/smat.h, itpp/base/svec.cpp,
itpp/base/svec.h, itpp/base/vec.cpp, itpp/base/vec.h,
itpp/comm/error_counters.cpp, itpp/comm/interleave.cpp,
itpp/comm/interleave.h, itpp/comm/pulse_shape.cpp,
itpp/comm/pulse_shape.h, itpp/fixed/cfixed.h,
itpp/fixed/fix_operators.h, itpp/fixed/fixed.h,
itpp/signal/filter.cpp, itpp/signal/filter.h,
itpp/signal/transforms.cpp, itpp/signal/transforms.h: Use
HAVE_EXTERN_TEMPLATE where necessary
2007-10-11 Adam Piatyszek <ediap@users.sourceforge.net>
* config/ac_cxx_extern_template.m4, configure.ac,
itpp/config_msvc.h: Check for C++ "extern template" when
configuring IT++
Previously, it was assumed that all C++ compilers except MSVC++
support extern template instantiation. Now this feature is checked
with the configure script and HAVE_EXTERN_TEMPLATE is defined
accordingly.
* doc/doxygen_html.cfg.in: Doxygen configuration updated with
Doxygen 1.4.7
* doc/local/authors.doc, itpp/base/bessel/bessel_internal.h,
itpp/base/blas.h, itpp/base/converters.cpp,
itpp/base/converters.h, itpp/base/copy_vector.h,
itpp/base/factory.cpp, itpp/base/help_functions.cpp,
itpp/base/help_functions.h, itpp/base/itassert.cpp,
itpp/base/mat.cpp, itpp/base/mat.h, itpp/base/matfunc.h,
itpp/base/math/elem_math.h, itpp/base/specmat.cpp,
itpp/base/vec.cpp, itpp/base/vec.h, itpp/comm/convcode.cpp,
itpp/comm/crc.cpp, itpp/comm/ldpc.h,
itpp/comm/rec_syst_conv_code.cpp, itpp/fixed/cfixed.h,
itpp/fixed/fix_factory.h, itpp/fixed/fix_functions.h,
itpp/fixed/fixed.h, itpp/protocol/events.h,
itpp/protocol/front_drop_queue.h, itpp/protocol/packet.h,
itpp/protocol/packet_channel.h, itpp/protocol/packet_generator.h,
itpp/protocol/selective_repeat.cpp,
itpp/protocol/selective_repeat.h, itpp/protocol/signals_slots.h,
itpp/protocol/tcp.cpp, itpp/protocol/tcp.h,
itpp/protocol/tcp_client_server.h, itpp/signal/freq_filt.cpp,
itpp/srccode/audiofile.cpp, itpp/srccode/audiofile.h,
itpp/srccode/gmm.cpp, itpp/srccode/gmm.h,
itpp/srccode/lpcfunc.cpp, itpp/srccode/pnm.cpp,
itpp/srccode/pnm.h, itpp/srccode/vq.cpp, itpp/srccode/vq.h,
itpp/srccode/vqtrain.cpp, itpp/srccode/vqtrain.h,
itpp/stat/mog_diag.h, itpp/stat/mog_diag_em.h,
itpp/stat/mog_diag_kmeans.h, itpp/stat/mog_generic.h: Cleanup of
Doxygen documentation
Missing documentation reported by Doxygen have been marked by "ADD
DOCUMENTATION HERE" string. Besides, code fragments that do not
require documentation have been disabled from parsing by using
"\cond" and "\endcond" Doxygen's commands.
* itpp/base/converters.cpp, itpp/base/converters.h: Moved
templated functions' definitions into a header file
2007-10-10 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/vec.cpp, itpp/base/vec.cpp: Removed unnecessary
conditional checks for MKL & MSVC++
2007-10-09 Adam Piatyszek <ediap@users.sourceforge.net>
* INSTALL, configure.ac, doc/Makefile.am,
doc/local/installation.doc: Removed redundant "--with-docdir=DIR"
switch
This switch is not needed any more, because recent autoconf
provides "--docdir=DIR" switch with the same functionality by
default. Installation manual updated accordingly. Thanks to
Guenter Dannoritzer for reporting this problem.
* itpp/base/matfunc.h: Disabled incorrect specialisation of rank()
function
The rank() function specialisation for binary GF(2) matrices
returned incorrect results. Now it is disabled - the
specialisation results in an error message.
------------------------------------------------------------------------------
2007-10-06 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 4.0.0-rc2 released (SVN tag: release-4-0-0-rc2)
* NEWS: Updated to reflect recent changes
2007-10-05 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac: Changed version number of the trunk sources
The version number of SVN trunk sources is now of the form:
"major.minor-dev", e.g. "4.1-dev".
* itpp/base/matfunc.h, tests/matfunc_test.cpp,
tests/matfunc_test.ref: Added templated rank() function
The rank() function calculates the rank of a matrix by counting
the number of non-zero singular values. LAPACK's SVD function is
thus required by this function. Thanks to Martin Senst for
submitting the patch.
* INSTALL, doc/local/installation.doc: Installation manual updated
to reflect recent changes
2007-10-04 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/binary.cpp, itpp/base/binary.h: Check for allowed 0 or
1 values in ">>" operator of bin class
Without this patch it was possible to initialise binary vectors or
matrices with values other than 0 or 1, when linking to the IT++
library build without "-DNDEBUG" flag.
BTW, performed a set of cosmetic changes in bin class operators
and constructors.
2007-10-02 Adam Piatyszek <ediap@users.sourceforge.net>
* INSTALL, doc/local/installation.doc, config/acx_fft.m4: Added
--with-fft-include=DIR option to the configure command
This option can be used instead of CPPFLAGS to pass non standard
paths to include files required by IT++ FFT routines (using ACML,
MKL or FFTW).
* config/acx_blas.m4, config/acx_fft.m4, config/acx_lapack.m4:
Cosmetic changes in --with-PACKAGE strings of the configure
command
2007-10-01 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/Makefile.am: All test programs needs to be declared in
ALL_TESTS
Without this change, some reference files (*.ref) might not have
been included in the distribution package when --without-lapack or
--without-fft switch was used.
* config/acx_fft.m4: Do not set blas_xxx_ok=yes when detecting FFT
libraries
This patch fixes FFT library detection macros, so they do not set
blas_mkl_ok or blas_acml_ok variables. Without this fix, it might
happened that even if BLAS detection was disabled (e.g. by using
`--without-blas'), an ACML or MKL BLAS library was indicated as
found.
* config/acx_blas.m4, itpp/base/blas.h, itpp/base/vec.h,
itpp/config_msvc.h: Fixed failing blas_test and vec_test when
linking with MKL
There was a problem with using zdotusub_ Fortran wrapper with
Intel's MKL library, which resulted in segmentation faults in
blas_test and vec_test programs. Now zdotusub_ is defined as
zdotu_ when MKL BLAS is used, and zdotusub.f is not built in such
a case. BTW, the detection of MKL, ACML and ATLAS BLAS libraries
is improved (additional HAVE_BLAS_MKL, HAVE_BLAS_ACML and
HAVE_BLAS_ATLAS definitions are available).
* configure.ac, itpp/base/Makefile.am: Fixed linking problem with
zdotu_ when not using BLAS
If an external BLAS library is not used, do not compile and link
the zdotusub_ Fortran wrapper, since it requires an external
zdotu_ function to exist.
------------------------------------------------------------------------------
2007-09-28 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 4.0.0-rc1 released (SVN tag: release-4-0-0-rc1)
* NEWS: Updated to reflect recent changes
* tests/itfile_test.cpp: Fixed a minor bug in itfile_test program
This test program opened the reference data file from source
directory in read/write mode, which was wrong, because source
directory can be located on read-only file system. This patch
fixes this bug.
2007-09-27 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/modulator_nd_test.cpp, tests/modulator_nd_test.ref: Test
program updated to use ZF Log-MAP demodulation method
2007-09-26 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/modulator_nd.cpp, itpp/comm/modulator_nd.h:
Implemented Zero-Forcing (ZF) Log-MAP soft demodulation method
Zero-Forcing approximate demodulation method can be used instead
of a brute-force optimum enumeration of all constellation points
in both real- and complex-valued MIMO demodulators. Thanks to Erik
G. Larsson, who provided the draft implementation and reviewed the
code.
2007-09-07 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/modulator_nd.cpp, itpp/comm/modulator_nd.h,
tests/modulator_nd_test.cpp: Interface improvements in
Modulator_ND classes
The interfaces of Modulator_ND class and its descendants were
redesigned to be more similar to 1D and 2D modulators' interfaces.
BTW, revised the documentation and performed a set of cosmetic
changes.
2007-09-06 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/channel.h: Documentation improvements in AWGN_Channel
Described clearly what is the meaning of the AWGN_Channel's
"noisevar" input parameter for real- and complex-valued signals.
2007-09-04 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/math/elem_math.h: Added sign_i() and sgn_i() functions
These new functions calculates the sign of an integer or double
argument and return -1, 0 or 1 integer value.
2007-08-30 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, itpp/base/math/log_exp.h, itpp/base/specmat.cpp,
itpp/comm/galois.cpp, itpp/comm/modulator_nd.cpp,
itpp/signal/sigfun.cpp: Improved log2() and log1p() portability
Additional checks for log2() and log1p() functions have been added
to the configure script. If they are not found, local
implementations are used. Besides, log2() is now in a global
scope, not in the "itpp" namespace, which is consistent with GCC.
BTW, removed unnecessary checks for C++ standard header files.
* itpp/itmex.h: Added missing mxArray2string() and
string2mxArray() functions
Thanks to Bogdan Cristea for reporting this issue and providing
the patch.
* doc/local/linking.doc, extras/itpp-config.t2t, itpp-config.1.in,
itpp-config.in, itpp.pc.in: Improvements in itpp-config and
pkg-config's itpp.pc scripts
These changes are intended to follow the distinction between
linking to a static and shared version of the library, which is
used in pkg-config's itpp.pc file. By default "itpp-config --libs"
returns "-I${prefix}/lib -litpp", whereas when "--static" is added
in front of "--libs", the returned string is extended with a set
of external library names required for proper static linking.
Moreover, an additional "--debug" switch has been added, which
changes the output of "itpp-config --cflags" and "itpp-config
--libs" by providing debugging flags and debugging library name.
For backward compatibility "--cflags-opt", "--cflags-debug",
"--libs-opt" and "--libs-debug" still exist, but they are not
documented and their use is deprecated.
2007-08-28 Adam Piatyszek <ediap@users.sourceforge.net>
* config/acx_blas.m4, config/acx_fft.m4, config/acx_lapack.m4,
configure.ac, itpp-config.in, itpp.pc.in: Break configuration when
BLAS, LAPACK or FFT not found
If the required external libraries are not found, stop
configuration process and print an error message informing that
one can use "--without-{blas,lapack,fft}" option, but IT++
functionality will be limited. BTW, removal of redundant spaces
from CXXFLAGS_OPT, CXXFLAGS_DEBUG CPPFLAGS, LDFLAGS and LIBS has
been implemented in the configure script.
2007-08-27 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, tests/Makefile.am, tests/cholesky_test.cpp,
tests/det_test.cpp, tests/eigen_test.cpp, tests/fastica_test.cpp,
tests/filter_design_test.cpp, tests/freq_filt_test.cpp,
tests/inv_test.cpp, tests/ls_solve_test.cpp, tests/lu_test.cpp,
tests/matfunc_test.cpp, tests/modulator_nd_test.cpp,
tests/poly_test.cpp, tests/qr_test.cpp, tests/schur_test.cpp,
tests/sigfun_test.cpp, tests/stat_test.cpp, tests/svd_test.cpp,
tests/transforms_test.cpp: Made LAPACK and FFT dependent tests
conditional
If linking to an optional LAPACK or FFT external library is not
configured, do not compile and run the test programs that depends
on these libraries. This results in all tests passed when
"--without-{blas,lapack,fft}" configure switch is intentionally
used.
* itpp/base/factory.cpp, itpp/base/factory.h,
itpp/fixed/fix_factory.cpp: Cosmetic changes in memory allocation
Instead of using "new char[size]" for raw memory allocation, use
more generic "operator new(size)". Similarly, use "operator
delete(p)" instead of "delete [] (p)". This makes the code
consistent with 16-byte aligned create_elements() and
destroy_elements() specialisations.
* itpp/base/array.h, itpp/base/factory.cpp, itpp/base/factory.h,
itpp/base/mat.h, itpp/base/vec.h, itpp/fixed/fix_factory.cpp:
Improved memory allocation routines
Following the idea proposed in feature request [1277721]
implementation of create_elements() functions was improved. First
the memory for an Array, Vec or Mat is allocated and then the
constructor of each element is executed, but only if necessary.
For simple types like bin, int, double, etc., the constructor is
not invoked. Moreover, in the previous implementation the
constructor of each Array<Array>, Array<Vec> or Array<Mat> element
was invoked twice. Now this is fixed. Thanks to George Jongren for
submitting this feature request.
* itpp/base/factory.cpp, itpp/base/factory.h,
itpp/base/sources.mk, itpp/signal/transforms.cpp,
win32/itpp_acml.vcproj, win32/itpp_mkl.vcproj: Solved FFTW
alignment issue
By implementing new specialisations of create_elements() and
destroy_elements() functions, 16-byte memory alignment of Array,
Vec and Mat data is used for double and complex<double> types.
With this new implementation, fft(), ifft(), dct() and idct()
functions using FFTW external library run up to 30% faster than
with non-aligned data structures. This fix closes feature
request [1418707].
* itpp/base/array.h, itpp/base/factory.h, itpp/base/mat.h,
itpp/base/vec.h: Added destroy_elements() function
The destroy_elements() function accompanies create_elements() used
for memory allocation. Future changes to memory allocation
scheme (e.g. memory alignment) for Array, Vec and Mat classes will
only require redefinition of these two methods.
BTW, removed inlining of alloc(), free(), create_elements() and
destroy_elements() functions, which does not give any real
performance gain but the code is bigger than necessary.
2007-08-26 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.h, itpp/base/vec.cpp, itpp/base/vec.h,
itpp/fixed/cfix.cpp, itpp/fixed/cfix.h, itpp/fixed/fix.cpp,
itpp/fixed/fix.h: Improvements in string parsers
Added support for NaN (not a number) and Inf (infinity) for parsed
Vec<double> arguments. This fixes feature request [1066711].
Changed "bool Vec<>::set()" into "void Vec<>::set(), because
returned value was always true. Reused Vec<int>::set()
specialisation in Vec<short int>::set() implementation. Simplified
implementation of Vec<int>::set() specialisation.
2007-08-25 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.h, tests/mat_test.cpp, tests/mat_test.ref:
Added set_rows() and set_cols() methods to Mat
These new set functions match existing get_rows() and get_cols()
methods. This patch fixes feature request [711263].
2007-08-24 Andreas Wolfgang <andreas-w@users.sourceforge.net>
* extras/itsave.m Fixed script to be compatible with Matlab V7.3
Since Matlab does not support sizeof(...), it was replaced by a new
function itsizeof(...). In addition logical expressions have been
made Matlab compatible (only variables with identical dimensions
are used in logical expressions). The patch was tested using
Matlab V7.3 and Octave V2.9.9.
2007-08-22 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.h: Fine tuning of random generators
When generating a vector or matrix of random samples, it is more
efficient to use "*=" and "+=" operators on the same allocated
memory pool than create temporary copies of vectors and matrices.
Moreover, for double and complex<double> types, "*=" operator can
employ optimised BLAS implementation.
* itpp/comm/channel.cpp, itpp/comm/channel.h: Fine tuning of
AWGN_Channel operator() performance
Instead of using randn() and randn_c() global functions,
Normal_RNG and Complex_Normal_RNG generators are declared as class
objects. This reduces the number of generator's constructor
executions to minimum.
2007-08-23 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/Makefile.am: Return non-zero exit status on make check
failure
If not all test programs pass, output a short status message with
the number of tests failed and return non-zero exit status to
make.
2007-08-21 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/installation.doc, doc/local/linking.doc: Documentation
updated to reflect recent changes
* win32/itpp_acml_tests/fastica_test.vcproj,
win32/itpp_acml_tests/itfile_test.vcproj,
win32/itpp_acml_tests/parser_test.vcproj,
win32/itpp_mkl_tests/*.vcproj: Final problems fixed in the MSVC++
project files for test programs
The fastica_test, itfile_test and parser_test projects require
additional preprocessor definitions of some test data files.
Besides, all project files in win32/itpp_mkl_tests directory were
missing ProjectGUID, which is normally automatically added by the
MSVC++ IDE environment. All test programs should now compile and
run without any problems.
2007-08-20 Adam Piatyszek <ediap@users.sourceforge.net>
* extras/acml_tests_vcproj.template,
extras/mkl_tests_vcproj.template, win32/**/*.vcproj: Removed
versions from MKL and ACML directories
To prevent unnecessary updates of MSVC++ project files, the
installation directories of MKL and ACML libraries under windows
do not contain version numbers, i.e. "C:\Program Files\Intel\MKL"
and "C:\Program Files\AMD\acml". MKL and ACML libraries should be
installed into these directories in order to work with the
prepared project files without any modifications.
* itpp/base/mat.cpp, itpp/base/mat.h, itpp/base/vec.cpp,
itpp/base/vec.h: Fixed problems with comma in Vec::set() parser
The previous string parser implementation in Vec class was not
fully functional when using MSVC++ compiler. The problem was that
commas just after a parsed value caused application crash. For
instance "1 , 0 1 " was parsed fine, but parsing "1, 0,1" resulted
in a crash. Fixed this issue by replacing all commas with spaces
before actual parsing is done, except the complex vector case,
where "(1,0.2)" are valid complex values. BTW, the Mat::set()
parsing function was rewritten to reuse the Vec::set() method.
* extras/acml_tests_vcproj.template, extras/gen_vcproj_tests.sh,
extras/mkl_tests_vcproj.template, win32/itpp_acml.vcproj,
win32/itpp_acml_tests/*.vcproj, win32/itpp_acml_tests/Makefile.am,
win32/itpp_acml_tests/itpp_acml_tests.sln, win32/itpp_mkl.vcproj,
win32/itpp_mkl_tests/*.vcproj, win32/itpp_mkl_tests/Makefile.am,
win32/itpp_mkl_tests/itpp_mkl_tests.sln: Prepared MSVC++ project
files for test programs
These project files were generated from two template files with
"gen_vcproj_tests.sh" script. Then, they were included in
appropriate solutions: "itpp_acml_tests.sln" and
"itpp_mkl_tests.sln", for external ACML and MKL libraries
respectively.
* itpp/base/blas.h, itpp/base/vec.cpp, itpp/base/vec.h,
itpp/base/zdotusub.f: Modified zdotusub_() function to match ACML
interface
The Fortran wrapper zdodusub_() of BLAS zdotu_() function used
CBLAS inteface, which was incompatible with ACML implementation.
Fixed this, so the native ACML function can be used under MSVC++
compiler. Besides, disabled this function when using IT++ with
Intel MKL under MSVC++.
* tests/fastica_test.cpp, tests/itfile_test.cpp,
tests/parser_test.cpp, tests/turbo_test.cpp: Cosmetic changes in a
few test programs
Compilation of turbo_test and itfile_test programs under MSVC++
resulted in some warnings related to the use of variable `i' and
initialisation of a float variable `f_ref'. These issues are now
fixed. BTW, error messages in fastica_test, itfile_test and
parser_test were changed to use `cerr' output stream, instead of
`cout'.
2007-08-18 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/rand_test.cpp, tests/rand_test.ref: Fixed a bug in
rand_test program
The rand_test implementation was not deterministic, which resulted
in a failed test result on SunOS SPARC platform. Generation of
scalars, vectors and matrices of random numbers in separate "cout"
commands fixes this problem.
* doc/local/linking.doc: Documentation updated
Reflected recent changes in the pkg-config's itpp.pc file in the
"Linking with IT++" documentation. BTW, revised the section about
using itload.m and itsave.m m-files in Matlab/Octave.
* itpp/base/vec.cpp, itpp/base/vec.h: Fixed regressions related to
the specialised operator*()
The templated friend operator*() for two vectors, which calculates
the dot product, needs to be instantiated in the same way as the
dot() function. Besides, the declaration of the friend operator*()
included the definition. This definition is now moved below dot()
function definition. Without these two changes, a segmentation
fault occurred in vec_test under Cygwin.
* itpp.pc.in: Improvements in pkg-config's itpp.pc script
"Libs" variable settings in the itpp.pc pkg-config's file are now
split into "Libs" and "Libs.private". The latter one is only used
when doing a static linking (using "--static" pkg-config switch).
* config/acx_blas.m4, config/acx_fft.m4, config/acx_lapack.m4:
Cosmetic changes - deleted trailing whitespace
* configure.ac: Let the user override the default CXXFLAGS_DEBUG
The CXXFLAGS_DEBUG environment variable can be used to override
the default settings of this flag. BTW, added "-Werror" to the
default debug flags.
2007-08-13 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.cpp, itpp/base/random.h, tests/rand_test.cpp,
tests/rand_test.ref, tests/source_test.cpp, tests/source_test.ref:
Simplified and optimised RNG implementations
Rayleigh_RNG and Rice_RNG now use Normal_RNG for efficient
generation of samples (new implementation is about 4 times
faster). Minor code optimisations in Laplace_RNG, Weibull_RNG and
AR1_Normal_RNG. Test programs for RNG and deterministic sources
updated accordingly.
2007-08-11 Adam Piatyszek <ediap@users.sourceforge.net>
* Makefile.am: Added NEWS-3.99 to EXTRA_DIST
* tests/stat_test.cpp: Check for LAPACK
This test requires svd() function, which is provided by an
external LAPACK library. Therefore we have to check for
HAVE_LAPACK definition like in other LAPACK-related test programs.
* configure.ac: Version bump
* NEWS, NEWS-3.99: Renamed NEWS file to NEWS-3.99
* NEWS-3.10: Updated to include 3.10.12 release notes
------------------------------------------------------------------------------
2007-08-10 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.99.3.1 released (SVN tag: release-3-99-3-1)
* NEWS: Updated to reflect recent changes
* configure.ac: Version bump
* configure.ac, itpp/base/Makefile.am, itpp/base/blas.h,
itpp/base/sources.mk, itpp/base/vec.h, itpp/base/zdotusub.f: Fixed
a bug related to zdotu_() BLAS function
Wrong declaration of zdotu_() BLAS function interface caused
segmentation faults when IT++ was compiled with
"-fomit-frame-pointer" flag. To fix this problem a Fortran wrapper
function zdotusub_() has been added to IT++. This wrapper function
comes from NetLib's CBLAS package.
------------------------------------------------------------------------------
2007-08-10 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.99.3 released (SVN tag: release-3-99-3)
* NEWS: Updated to reflect recent changes
2007-08-09 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, win32/Makefile.am,
win32/itpp_acml_tests/Makefile.am,
win32/itpp_acml_tests/array_test.vcproj,
win32/itpp_acml_tests/bch_test.vcproj,
win32/itpp_acml_tests/bessel_test.vcproj,
win32/itpp_acml_tests/blas_test.vcproj,
win32/itpp_acml_tests/itpp_acml_tests.sln, win32/itpp_mkl.vcproj,
win32/itpp_mkl_tests/Makefile.am,
win32/itpp_mkl_tests/array_test.vcproj,
win32/itpp_mkl_tests/bch_test.vcproj,
win32/itpp_mkl_tests/bessel_test.vcproj,
win32/itpp_mkl_tests/blas_test.vcproj,
win32/itpp_mkl_tests/itpp_mkl_tests.sln: Added MSVC++ project
files for test programs
This patch includes MSVC++ project files for easy building and
linking a few test programs with IT++ and MKL or ACML libraries.
The project files are configured to use 32-bit versions of MKL
9.1.025 and ACML 3.6.0 PGI libraries installed into their default
locations on Windows platforms.
2007-08-08 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/blas.h, itpp/base/vec.h, tests/blas_test.cpp,
tests/blas_test.ref: Fixed a bug in dot() for complex arguments
Declaration of BLAS zdotu_() method changed so, the first argument
now passes the complex result. This fixes segmentation fault of
blas_test and vec_test when using GCC 3.4.5 under SunOS 5.9 on
SPARC. It also makes workaround for MSVC++ warning C4190
redundant.
* tests/mat_test.cpp, tests/mat_test.ref: Improvements in mat_test
Perform more consistent tests of the templated Mat class for bin,
int, double and std::complex<double> arguments.
2007-08-06 Adam Piatyszek <ediap@users.sourceforge.net>
* AUTHORS, doc/Makefile.am, doc/images/Makefile.am,
doc/images/newcom_logo.png, doc/local/authors.doc,
doc/local/itpp_header.html: NEWCOM logo removed
Since the NEWCOM project ended in March 2007, the existence of its
logo in IT++ HTML documentation is not necessary any more.
* tests/vec_test.cpp, tests/vec_test.ref: Improvements in vec_test
Perform more consistent tests of the templated Vec class for bin,
int, double and std::complex<double> arguments.
* itpp/base/mat.h, itpp/base/vec.h: Code cleanup in Vec/Mat's
multiply and division operators
Used BLAS-aided scal_vector() method in multiplication by constant
operator in Mat class. Replaced duplicated implementation with
executions of inlined multiplication operators in both Vec and Mat
classes. Simplified Vec's division operators by removal of
unnecessary checks for special cases.
* itpp/base/vec.h: Added missing initialization command
Output matrix has to be initialised with zeros in BLAS-based
Vec::outer_product() function specializations.
2007-08-03 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h: Documentation updates
2007-07-21 Adam Piatyszek <ediap@users.sourceforge.net>
* AUTHORS, doc/local/authors.doc, itpp/base/sort.h,
tests/Makefile.am, tests/sort_test.cpp, tests/sort_test.ref:
Sorting functions revised
The sort() and sort_index() functions can now use four different
algorithms: Introsort, Quicksort, Heapsort and Insertion Sort,
which are implemented in a common Sort class. The Introsort is
the default method. The revised implementation is much faster
because it uses pointers for accessing the data to be sorted.
Sorting test program is included in this commit as well.
Thanks to Mark Dobossy for this improved implementation.
This commit closes feature request [1746876].
2007-07-20 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/blas.h, itpp/base/copy_vector.h, itpp/base/vec.h:
Added scal_vector() and axpy_vector() low level functions
These two functions uses BLAS methods for double and
std::complex<double> types of a vector. The function scal_vector()
realizes "x *= alpha", whereas axpy_vector() realizes
"y = alpha*x + y". Vector x and y are of the same size.
BTW, improved performance of Vec's "*=" and "/=" operators with
scalar arguments by using scal_vector() method.
* INSTALL, README, configure.ac, doc/doxygen_html.cfg.in,
doc/local/index.doc.in, doc/local/installation.doc,
itpp/base/blas.h, itpp/base/copy_vector.h, itpp/base/mat.cpp,
itpp/base/mat.h, itpp/base/sources.mk, itpp/base/vec.cpp,
itpp/base/vec.h, itpp/config_msvc.h, itpp/signal/transforms.cpp,
tests/Makefile.am, tests/blas_test.cpp, tests/blas_test.ref,
win32/itpp_acml.vcproj, win32/itpp_mkl.vcproj: Removed CBLAS
dependency
To limit the number of external libraries required by IT++ CBLAS
interfaces have been replaced with a Fortran BLAS. Besides, vec
and cvec specialisation of the outer_product() method using BLAS
functions has been added. To verify BLAS-aided routines, an extra
blas_test has been added.
This commit closes feature request [1746876].
2007-07-19 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.h: Fixed a bug in set_size() method
When resizing a smaller matrix into a bigger one with copying the
content, the unused entries were not initialised to zeros
properly.
Besides, the use of a copy_vector() function instead of nested
loops with element by element copying increases the overall
performance of various operations on matrices. Therefore, this
patch improves performance of set_size(), transpose(),
hermitian_transpose(), concat_horizontal() and concat_vertical()
functions.
* itpp/base/vec.h : Fixed assertion check in operator "/="
2007-07-18 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/vec.h: Use copy_vector() where possible
This patch improves the consistency and possibly the performance
of various Vec's methods by using copy_vector() instead of
explicit copying of elements in a loop. It also fixes a minor bug
in "/=" operator for the case of division of a vector with itself,
i.e. "v /= v;". Finally, this patch adds missing friend
declarations for concat() functions and improves if statements in
the alloc() function.
2007-07-17 Adam Piatyszek <ediap@users.sourceforge.net>
* **/*: Removed trailing whitespace
Trailing whitespace (spaces and tabs at the end of each line) does
not contain any information. Moreover, it sometimes causes
conflicts when applying patches or merging branches. Therefore,
let's get rid of it from the code and other text files.
Trailing whitespace can be easily removed with sed or perl and
their regular expressions:
% sed -i -e 's/[ \t]*$//' source.cpp
% perl -i -p -e 's/[ \t]*$//' source.cpp
2007-07-16 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/documentation.doc, extras/itload.m, extras/itsave.m,
itpp/**/*.cpp, itpp/**/*.h, tests/*.cpp: Removed $Revision: 1418 $ and
$Date: 2008-02-15 15:03:10 +0100 (Fri, 15 Feb 2008) $ keywords
The $Revision: 1418 $ and $Date: 2008-02-15 15:03:10 +0100 (Fri, 15 Feb 2008) $ keywords in each file comment sometimes
cause errors when trying to apply patches or merged branches.
Therefore, IT++ sources will not use them any more.
* itpp/**/*.cpp, itpp/**/*.h: Removed trailing whitespace
Trailing whitespace (spaces and tabs at the end of each line) does
not contain any information. Moreover, it sometimes causes
conflicts when applying patches or merging branches. Therefore,
let's get rid of it from the code.
* itpp/base/mat.h: Improved del_rows() performance
The more optimum but not working implementation of del_rows() has
been fixed and uncommented, so it now replaces the slow execution
of del_row() method for each deleted row in a loop.
2007-07-11 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/commfunc.cpp: Compilation warning suppressed by
initializing the lambda variable
2007-07-04 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/matfunc.cpp, itpp/base/matfunc.h: Added repmat()
function for vectors
Matrin Senst provided a new repmat() implementation which
concatenates a multiple number of vectors. It extends the
functionality of recently added repmat() functions for matrices.
2007-06-29 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/signal/resampling.h: Minor spelling fixes in documentation
* tests/*.cpp: Copyright dates updated
* configure.ac: Version number updated
* itpp/base/matfunc.cpp, itpp/base/matfunc.h,
tests/matfunc_test.cpp, tests/matfunc_test.ref: Added repmat()
function (feature request [1744527])
This functions is a clone of a Matlab's repmat function. It
expands an input matrix or vector to a larger matrix by
concatenating (m x n) copies of the input matrix (vector). Thanks
to Mark Dobossy for providing a patch.
2007-06-22 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp: Improved LDPC binary files versioning
A global static const variable LDPC_binary_file_version has been
defined, which is now used in load/save methods of LDPC_Generator
and LDPC_Code classes. Besides, H_defined and G_defined boolean
variables are loaded/saved using the new stream operators of
it_file and it_ifile classes.
* TODO, itpp/base/binfile.cpp, itpp/base/binfile.h,
itpp/base/itfile.cpp, itpp/base/itfile.h, tests/itfile_test.cpp,
tests/itfile_test.ref, tests/itfile_test_data.it: Added support
for bool variables in it_file class
It is now possible to read and write bool variables using standard
stream operators ">>" and "<<" of the it_file and it_ifile
classes. Boolean variables are stored in a binary file using a
char datatype.
------------------------------------------------------------------------------
2007-06-20 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.99.2 released (SVN tag: release-3-99-2)
* NEWS, TODO: Updated to reflect recent changes
* itpp/comm/ldpc.cpp: Fixed a minor bug reported as error in
MSVC++
The implicit cast of int variables to bool results in compilation
errors under MS Visual C++ .NET 2005 compiler. The applied fix is
a workaround solution. In future fstream operators ">>" and "<<"
for bool variables should be implemented in it_file class.
* configure.ac: Removed "-fno-exceptions" flag from CXXFLAGS
This conditional flag was added to CXXFLAGS and CXXFLAGS_DEBUG
when "--enable-exceptions" switch was passed to configure.
However, it is better not to use it by default, since it might
cause problems when linking the IT++ library with other programs
that use exceptions.
2007-06-19 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/specmat.cpp, itpp/base/specmat.h: Fixed bug [1739500]
in hadamard() function
The initial recursion for creating Hadamard matrices has to start
with a 1x1 matrix H = [1], not with a 2x2 matrix. This fix
provides correct solution for imat H = hadamard(1). Thanks to
Matthias for reporting this problem.
2007-06-18 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/math/elem_math.cpp: Fixed bug [1739267] in binom() and
binom_i()
The binomial coefficient was calculated wrongly for n = k. Instead
of 1 the functions result was n+1.
2007-06-16 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h: Added B-LDPC Codes
implementation
B-LDPC Codes implementation in IT++ consists of a BLDPC_Parity and
BLDPC_Generator classes. The former one can be used for
constructing the parity-check matrix from so-called base-matrix.
Base matrix can be saved and loaded from a text file. The
BLDPC_Generator class implements an efficient encoding algorithm
using a preprocessed version of the parity-check matrix.
2007-06-10 Adam Piatyszek <ediap@users.sourceforge.net>
* INSTALL, config/acx_blas.m4, config/acx_fft.m4,
config/acx_lapack.m4, configure.ac, doc/local/installation.doc,
itpp/config_msvc.h, itpp/signal/transforms.cpp:
Improvements in MKL detection macros
The latest MKL release 9.1.018 has different naming of a lapack
shared library (libmkl_lapack32.so and libmkl_lapack64.so ->
libmkl_lapack.so). Cosmetic changes in MKL's FFT macro and
variable names (MKL8 -> MKL)
2007-06-04 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/srccode/pnm.cpp: The functions for reading ppm and pgm
images have to use binary mode when opening files. This fixes bug
[1730610]. Thanks to Thomas Andersson for reporting this problem.
------------------------------------------------------------------------------
2007-06-02 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.10.11 released (SVN tag: release-3-10-11)
(merged rev. 1050:1051 from itpp-3-10 branch)
* NEWS-3.10: Updated to reflect recent changes
(merged rev. 1050:1051 from itpp-3-10 branch)
* itpp/base/vec.h: The outer_product() function now uses an extra
argument "hermitian", which controls the calculation for complex
vectors. By default "hermitian" is set to false, which results in
(x * y^T) calculation. If "hermitian" is true, (x * y^H) is
calculated. This solution is backward compatible with 3.10.x
interface of outer_product(). Final fix for bug [1727923].
2007-05-29 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/vec.h: Added specialisation of the outer_product()
method for complex vector arguments. This fixes bug [1727923].
Thanks to Yngve Selen for reporting this issue.
* itpp/signal/transforms.cpp: Fixed bug [1724746], i.e. a problem
with modified input data in ifft_real() function. Additional
FFTW_PRESERVE_INPUT flag used during FFTW plan creation solves
this problem. Thanks to Klaas Hofstra for reporting this bug.
2007-05-22 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/schur_test.cpp, tests/schur_test.ref: Schur decomposition
is not unique, therefore the comparision of the non-zero norm of
the lower triangular part of matrix T was not a good idea. Fixed
this problem in the schur_test program.
2007-05-15 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/signal/transforms.cpp, itpp/signal/transforms.h: Fixed
linking errors when trying to use Hadamard and Walsh-Hadamard
transform functions. This fixes bug report [1719146] submitted by
Stephan Ludwig.
2007-05-03 Adam Piatyszek <ediap@users.sourceforge.net>
* AUTHORS, doc/local/authors.doc: Sean Finney added to the list of
contributors
* itpp/base/random.h, tests/channel_test.ref,
tests/cholesky_test.ref, tests/det_test.ref, tests/eigen_test.ref,
tests/filter_design_test.ref, tests/filter_test.ref,
tests/inv_test.ref, tests/ls_solve_test.ref, tests/lu_test.ref,
tests/matfunc_test.ref, tests/modulator_nd_test.ref,
tests/modulator_test.ref, tests/poly_test.ref, tests/qr_test.ref,
tests/schur_test.ref, tests/source_test.ref, tests/svd_test.ref,
tests/transforms_test.ref: New implementation of the
Complex_Normal_RNG class, which now uses the improved Normal_RNG
for generating the real and imaginary parts of the complex random
sample. The new generator is about four times faster than the
previous implementation. This closes feature request [1711727].
Thanks to Sean Finney for providing a patch.
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h: Now the decode() methods
return only systematic bits, to be symetric with the encode()
methods. New methods decode_soft_out() added, which return soft
LLR values for all bits in a codeword.
2007-05-02 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/tests/commfunc_test.cpp, itpp/tests/commfunc_test.ref:
Added missing test program
* itpp/comm/commfunc.cpp: Fixed missing memory allocation
2007-04-30 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/commfunc.h, itpp/comm/commfunc.cpp: Added a new
function "waterfilling()" to solve water-filling problems
2007-04-29 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.cpp, itpp/base/random.h,
tests/cholesky_test.ref, tests/circular_buffer_test.ref,
tests/det_test.ref, tests/eigen_test.ref,
tests/filter_design_test.ref, tests/filter_test.ref,
tests/histogram_test.ref, tests/inv_test.ref, tests/ldpc_test.cpp,
tests/ldpc_test.ref, tests/ls_solve_test.ref, tests/lu_test.ref,
tests/matfunc_test.ref, tests/mat_test.ref,
tests/modulator_nd_test.ref, tests/modulator_test.ref,
tests/poly_test.ref, tests/qr_test.ref, tests/rand_test.ref,
tests/schur_test.ref, tests/sigfun_test.ref,
tests/source_test.ref, tests/sparse_test.ref, tests/stat_test.ref,
tests/svd_test.ref, tests/transforms_test.ref,
tests/turbo_test.ref, tests/vec_test.ref: New implementation of
the Normal_RNG sample() function, which uses the so-called
Ziggurat algorithm. The new generator is about five times faster
than the previous one using the Box-Mueller method. This fixes
feature request [1707969]. Thanks to Sean Finney for providing a
patch.
2007-04-26 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp, itpp/comm/ldpc.cpp,
itpp/comm/ldpc.h, tests/ldpc_test.ref: Fixed bugs in
LDPC_Code::load_code() and LDPC_Code::save_code() functions. It
could happen that LDPC generator object might be left
uninitialised when loading the coded from a binary file. Removed
unnecessary integrity_check() execution from the load_code()
function. setup_decoder() method replaced with three separate
methods, which are more flexible to use. Tutorial example updated
to reflect recent changes.
2007-04-23 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/itmex.h: Fixed bug [1703731] by implementing the missing
double2mxArray() and double_complex2mxArray() functions. Thanks to
Danilo Zanatta Filho for providing a patch.
2007-04-18 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/**/*.{cpp,h}: Copyright dates updated to `1995-2007'
* itpp/base/svec.h, itpp/protocol/selective_repeat.cpp,
itpp/stat/mog_diag.cpp: Once again added missing #include
<cstdlib> statements
2007-04-17 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/itassert.cpp, itpp/base/math/elem_math.h,
itpp/base/parser.cpp, itpp/comm/error_counters.cpp,
itpp/comm/llr.h, itpp/protocol/selective_repeat.cpp,
itpp/protocol/tcp.cpp, itpp/srccode/vq.cpp: Added missing #include
<cstdlib> and <limits> header files. This fixes problems with
building using GCC 4.3 snapshot. Thanks to Martin Michlmayr from
the Debian project for reporting this bug.
(merged rev. 1005:1006 from the itpp-3-10 branch)
2007-04-12 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/itassert.cpp: Fixed a problem with not displayed
assert and error messages, which was introduced in rev. 982.
------------------------------------------------------------------------------
2007-04-10 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.10.10 released (SVN tag: release-3-10-10)
(merged rev. 999:1000 from the itpp-3-10 branch)
* NEWS-3.10: Updated to reflect recent changes
(merged rev. 999:1000 from the itpp-3-10 branch)
* TODO: Updated to reflect recent changes in IT++ file format
(merged rev. 986:997 from the it_file-v3 temporary branch)
* extras/itload.m, extras/itsave.m: Updated to be compatible with
IT++ file format version 3. Implemented missing load functions for
Array<Vec<T> >, Array<Mat<T> > and Array<string> types. Function
itsave() detects the type of a saved vector or matrix and uses
bvec, bmat, ivec, imat, vec, mat, cvec or cmat types respecively.
(merged rev. 986:997 from the it_file-v3 temporary branch)
* itpp/base/binfile.cpp, itpp/base/binfile.h,
itpp/base/gf2mat.cpp, itpp/base/itfile.cpp, itpp/base/itfile.h,
tests/itfile_test.cpp, tests/itfile_test.ref,
tests/itfile_test_data.it:
Major changes in IT++ file format related classes:
- the new file format (version 3) is incompatible with version 2,
which was used in IT++ 3.10.x series; for backward compatibility
the previous format can be handled using the it_file_old and
it_ifile_old classes, which are considered as deprecated and will
be removed from the library in future
- data is always saved using a little endian byte ordering; files
files written on machines using big or little endian ordering
should be identical; endianity variable removed from the
data_header structure
- all size variables are stored using fixed-width 64-bit unsigned
integer type, and therefore are independent of the architecture
word size (32- or 64-bit)
- short and int data types are explicitly casted to fixed-with
types int16_t, uint16_t, int32_t and uint32_t, since C/C++
standards do not assume fixed widths of these types
- cleaner and more efficient implementation of the
write_data_header() function
- added missing implementation of a pack() function, which compacts
an opened it_file by removing free space between data blocks
- added optional description filed which can be saved with each
variable
- added missing operators and methods for reading and writing svec
and smat data types
(merged rev. 986:997 from the it_file-v3 temporary branch)
* tests/timer_test.cpp, tests/timer_test.ref: CPU_Timer test is
now independent of a Real_Timer test. This should solve test
failures in some specific cases (high load of CPU, etc.).
(merged rev. 993:994 from the itpp-3-10 branch)
2007-04-07 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/ldpc/ldpc.cpp, tests/ldpc_test.ref: "<=" changed to "<" in
iteration count in decoder. Thanks to M. Senst for reporting this.
2007-04-06 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/vec.cpp, tests/vec_test.cpp, tests/vec_test.ref: Fixed
a minor bug in the set() method, when parsing an "a:b" or "a:b:c"
fromat. Due to precision problems the last value from some
specific ranges was not included in the result, e.g. "0:0.2:3"
resulted in a vector with 2.8 at the end (instead of 3). Thanks to
Martin Senst for reporting this issue.
2007-04-04 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/itfile_test.cpp, tests/itfile_test_data.it,
tests/itfile_test.ref: IT++ file format test program improved
2007-04-03 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/itassert.cpp: Fixed a compilation problem when IT++ is
configured with the "--enable-exceptions" switch
* itpp/base/itfile.cpp: Fixed bug [1693384] caused by a missing
explicit cast of string size to int
* configure.ac, itpp.spec.in: Minor cleanups and improvements
* AUTHORS, doc/local/authors.doc: Added Gunter Dannoritzer as
openSUSE distribution packages maintainer
2007-04-01 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h: Documentation updates
2007-03-30 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h: Fixed a small bug in the
integrity_check() function. Some of the private data and methods
made protected to allow access by the classes who might inherit
from the LDPC_Code.
2007-03-27 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/gf2mat.cpp, itpp/base/gf2mat.h: Added set_size()
method to the GF2mat class, which is compatible with Mat's
set_size() function.
* configure.ac: Version bump
------------------------------------------------------------------------------
2007-03-22 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.99.1 released (SVN tag: release-3-99-1)
* NEWS: Updated to reflect recent changes
* doc/local/verification.doc: Added a new verification report for
MSVC++ .NET and IT++ with ACML
2007-03-21 Adam Piatyszek <ediap@users.sourceforge.net>
* win32/itpp_acml.sln, win32/itpp_acml.vcproj, win32/itpp_mkl.sln,
win32/itpp_mkl.vcproj, doc/local/installation.doc,
doc/local/linking.doc, itpp/config_msvc.h, win32/itpp.sln,
win32/itpp.vcproj, win32/Makefile.am: Added a new MSVC++ project
file for linking IT++ with ACML (PGI build for Windows).
Installation manual and "Linking with IT++" document updated to
reflect these changes.
2007-03-20 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.cpp, itpp/base/random.h: Added
rand53_01_lclosed() function for 53-bit resolution [0,1) random
numbers generator. Global static initialization flag moved into
Random_Generator class.
2007-03-09 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h: "std::string" replaced
with "const std::string&" in function arguments to prevent passing
by value. Cosmetic changes related to line wrapping.
2007-03-08 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h: "init_state" variable
renamed to "init_flag". Cosmetic changes in the integrity_check()
function.
2007-03-07 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp,
doc/tutorial/src/ldpc_gen_codes.cpp, itpp/comm/ldpc.cpp,
itpp/comm/ldpc.h, tests/ldpc_test.cpp: LDPC_Parity_Matrix class
split into a set of classes, which inherits from the new base
class LDPC_Parity. Test and tutorials programs updated
accordingly.
2007-03-06 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/svec.h: Added a new method get_nz_indices(), which
returns the indices of non-zero values in a sparse vector.
2007-03-02 Adam Piatyszek <ediap@users.sourceforge.net>
* config/acx_blas.m4: Fixed a bug in BLAS detection, when an
explicit library is passed to configure using "--with-blas=..."
option.
2007-03-01 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/gf2mat.cpp, itpp/base/gf2mat.h: Portability improved
by replacing "unsigned short int" with 8-bit "unsigned char" type
for storing data bits. Implemented missing GF2mat constructor that
uses bmat as an argument. A few other cosmetic changes and
documentation improvements done.
* itpp/base/itfile.cpp, itpp/base/itfile.h: Added missing
read/write operators for the char type
2007-03-01 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/modulator_nd.h: Added a function set_llrcalc()
2007-02-28 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/Makefile.am: Test programs are now linked to the optimised
library by default. Fixed the problem of missing "*.ref" files in
the distribution package, when some modules were disabled during
the configuration process.
* tests/gf2mat_test.cpp: Added EXTENSIVE_TESTS macro definition,
which turns on/off extensive tests.
2007-02-22 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp: Changed the Nbits type
to 64-bit int64_t
* itpp/comm/ldpc.cpp: Fixed a problem in the integrity_check()
function when no generator is defined.
2007-02-21 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/tutorial/src/ldpc_bersim_awgn.cpp,
doc/tutorial/src/ldpc_gen_codes.cpp, itpp/comm/ldpc.cpp,
itpp/comm/ldpc.h, tests/ldpc_test.cpp: LDPC_Generator abstract
base class added. It provides a common interface for user defined
generators. LDPC_Generator_Matrix replaced with the
LDPC_Generator_Systematic class derived from the LDPC_Generator.
Improved the interface of LDPC_Code class. Tutorial examples and
test program updated accordingly.
2007-02-18 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h, itpp/comm/ldpc.cpp, tests/ldpc_test.cpp: Added
a feature to generator matrix computation (minor interface change)
2007-02-17 Adam Piatyszek <ediap@users.sourceforge.net>
* config/acx_blas.m4, config/acx_cblas.m4, config/acx_fft.m4,
config/acx_lapack.m4, configure.ac: Improved the speed and
portability of external libraries detection macros
2007-02-16 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp: Fixed some assertions
2007-02-16 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/modulator.h: Fixed bug [1661419] by adding default
constructors to the QAM, PSK, PAM_c and PAM modulator classes.
Thanks to Jordy Potman for reporting this bug.
2007-02-12 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/Makefile.am, Makefile.am: Changed the naming scheme of
snapshots to "itpp-VERSION_preYYYYMMDD"
------------------------------------------------------------------------------
2007-02-10 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.10.9 released (SVN tag: release-3-10-9)
(merged rev. 929:930 from the itpp-3-10 branch)
* NEWS: Updated to include recent changes
(merged rev. 929:930 from the itpp-3-10 branch)
2007-02-09 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/gf2mat.cpp: Replaced it_info() with it_info_debug() to
disable information messages when using an optimized library
2007-02-08 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.cpp, itpp/base/mat.h, itpp/base/vec.cpp,
itpp/base/vec.h, itpp/signal/freq_filt.cpp: Fixed improper changes
in template specializations
* doc/doxygen_html.cfg.in, itpp/base/binary.h,
itpp/base/circular_buffer.h, itpp/base/gf2mat.h,
itpp/base/itfile.h, itpp/base/mat.cpp, itpp/base/mat.h,
itpp/base/parser.h, itpp/base/vec.cpp, itpp/base/vec.h,
itpp/comm/channel.h, itpp/comm/channel_code.h,
itpp/comm/convcode.cpp, itpp/comm/convcode.h, itpp/comm/ldpc.cpp,
itpp/comm/ldpc.h, itpp/comm/llr.h, itpp/comm/modulator.h,
itpp/comm/modulator_nd.h, itpp/comm/reedsolomon.h,
itpp/comm/spread.h, itpp/comm/turbo.h, itpp/fixed/cfix.h,
itpp/fixed/cfixed.h, itpp/fixed/fix.h, itpp/fixed/fix_base.h,
itpp/fixed/fix_factory.h, itpp/fixed/fixed.h,
itpp/optim/newton_search.h, itpp/signal/fastica.cpp,
itpp/signal/filter.h, itpp/signal/filter_design.h,
itpp/signal/freq_filt.cpp, itpp/signal/freq_filt.h,
itpp/signal/poly.h, itpp/signal/sigfun.h,
itpp/signal/transforms.cpp, itpp/stat/histogram.h: Fixed Doxygen
warnings by adding or correcting the documentation syntax
* doc/local/installation.doc: Updated CXXFLAGS description
* configure.ac, Makefile.am: "upload" target removed
* itpp/comm/rec_syst_conv_code.cpp,
itpp/comm/rec_syst_conv_code.h: "INF" preprocessor definition
replaced with a private constant "infinity"
* itpp/comm/bch.h, itpp/comm/channel_code.h, itpp/comm/convcode.h,
itpp/comm/egolay.h, itpp/comm/hammcode.h, itpp/comm/ldpc.h,
itpp/comm/punct_convcode.h, itpp/comm/reedsolomon.h,
itpp/comm/turbo.h: Changed get_rate() functions into const ones
2007-02-07 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/fastmath.h, itpp/base/gf2mat.h, itpp/base/ittypes.h,
itpp/base/mat.h, itpp/base/matfunc.h, itpp/base/math/elem_math.h,
itpp/base/math/error.cpp, itpp/base/math/integration.cpp,
itpp/base/operators.h, itpp/base/parser.h, itpp/base/smat.h,
itpp/base/svec.h, itpp/base/vec.h: Fixed Doxygen warnings by
adding or correcting the documentation
2007-02-06 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/itassert.h: Added missing documentation for macros
* itpp/base/converters.cpp, itpp/base/converters.h: Fixed Doxygen
errors and improved the implementation of to_cvec() and to_cmat()
functions
2007-02-05 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/array.h, itpp/base/binfile.cpp, itpp/base/binfile.h,
itpp/base/converters.cpp: Documentation fixes related to Doxygen
warnings and errors
* itpp/base/algebra/ls_solve.h: Fixed improper declarations of
ls_solve_od() and ls_solve_ud() methods
* itpp/base/itfile.h: Replaced "uint32_t" with "unsigned int",
which is a workaroud for the compilation problem under Cygwin.
2007-02-04 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp, tests/ldpc_test.ref: Updated information
messages
2007-02-04 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/Makefile.am: Redirecting stderr to /dev/null during "make
check"
* itpp/base/itassert.h, itpp/base/itassert.cpp: Added
it_info_no_endl() and it_info_no_endl_debug() macros, which does
not append "std::endl" at the end of message.
2007-02-03 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/algebra/ls_solve.cpp: Minor fixes to prevent "unused
variable" warnings when NDEBUG flag is defined.
2007-02-03 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/base/gf2mat.cpp, itpp/comm/llr.cpp, itpp/comm/ldpc.cpp:
Updated some assertions and information messages
2007-02-02 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/algebra/det.cpp, itpp/base/algebra/eigen.cpp,
itpp/base/algebra/inv.cpp, itpp/base/algebra/ls_solve.cpp,
itpp/base/algebra/lu.cpp, itpp/base/algebra/schur.cpp,
itpp/base/array.h, itpp/base/binary.h,
itpp/base/circular_buffer.h, itpp/base/converters.cpp,
itpp/base/gf2mat.cpp, itpp/base/gf2mat.h, itpp/base/mat.cpp,
itpp/base/matfunc.h, itpp/base/mat.h, itpp/base/operators.cpp,
itpp/base/smat.h, itpp/base/specmat.cpp, itpp/base/stack.h,
itpp/base/svec.h, itpp/base/vec.h, itpp/comm/commfunc.cpp,
itpp/comm/convcode.cpp, itpp/comm/galois.h, itpp/comm/ldpc.cpp,
itpp/comm/ldpc.h, itpp/comm/llr.cpp, itpp/comm/llr.h,
itpp/comm/modulator.cpp, itpp/comm/modulator.h,
itpp/fixed/cfix.cpp, itpp/fixed/cfix.h, itpp/fixed/fix_base.cpp,
itpp/fixed/fix.cpp, itpp/fixed/fix_functions.h, itpp/fixed/fix.h,
itpp/fixed/fix_operators.cpp, itpp/signal/resampling.h,
itpp/signal/sigfun.cpp, itpp/signal/transforms.cpp,
itpp/srccode/audiofile.cpp, itpp/srccode/pnm.cpp:
Mass replace of the depreceted it_assert0() and it_assert1()
macros with it_assert_debug()
* itpp/base/itassert.h: Fixed a small bug in the it_info_debug()
macro definition. Documentation improved.
2007-02-01 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, itpp/base/itassert.cpp, itpp/base/itassert.h:
Improved and reorganised existing error handling macros:
- using standard NDEBUG flag for controlling it_assert_debug()
macro, which replaced a three-level ASSERT_LEVEL definition
- for backward compatibility it_assert0() and it_assert1() now
behaves the same as it_assert_debug()
- added new it_info() and it_info_debug() macros for printing
information messages; it_info_debug() is also dependent on the
NDEBUG compile-time definition
- added it_error_msg_style() function for changing the format of
it_assert(), it_error() and it_warning() messages; if style is set
to Minimum, file name and line number of the error/assert/warning
macro is not printed
2007-02-01 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp: Fix in the standard constructor
2007-01-31 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h, itpp/comm/ldpc.cpp: Added some initialization
functions for completeness of the class hierarchy
2007-01-31 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/punct_convcode.h: Protected inheritance of the
Convolutional_Code class replaced with a public one. This fixes
the problem of assigning the Punctured_Convolutional_Code class
object to a pointer of Channel_Code class.
* itpp/base/gf2mat.cpp: Fixed improper reading and writing
functions of the alist file format
2007-01-30 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, extras/itpp-config.t2t, extras/txt2man.sh,
itpp-config.1.in, Makefile.am: Added man page for itpp-config
script
2007-01-29 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/comm/ldpc.cpp: Replaced long with int, since long and int
have the same sizes on most IT++ supported architectures. If there
is a need for 64-bit integers, (u)int64_t type should be used
instead of long.
2007-01-28 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.cpp, itpp/base/random.h: Replaced "unsigned
long" type of "seed" argument of function reset() with "unsigned
int", because the rest of Random_Generator implementation uses
"unsigned int" type.
* itpp/base/itfile.cpp, itpp/comm/convcode.cpp,
itpp/comm/convcode.h, itpp/comm/interleave.h,
itpp/comm/punct_convcode.cpp, itpp/comm/punct_convcode.h,
itpp/comm/turbo.cpp, itpp/comm/turbo.h, itpp/signal/resampling.h,
itpp/srccode/gmm.cpp: Replaced long with int, since long and int
have the same sizes on most IT++ supported architectures. If there
is a need for 64-bit integers, due to portability
reasons (u)int64_t type should be used instead of long.
2007-01-27 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/bessel/hyperg.cpp, itpp/comm/modulator_nd.cpp: Fixes
to avoid warnings on possibly uninitialised variables
2007-01-26 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/math/elem_math.cpp, itpp/base/math/elem_math.h:
Replaced long with int in binom_i() and gcd() functions, since
long and int have the same sizes on most IT++ supported
architectures. If there is a need for 64-bit integers, (u)int64_t
type should be used instead of long.
2007-01-26 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp: Fix to avoid compiler warning
2007-01-26 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/binfile.cpp: Fixed a minor bug, which caused infinite
loop of itfile_test on Solaris SPARC with GCC 3.4.5
* itpp/base/mat.h, itpp/base/vec.h, itpp/comm/crc.cpp,
itpp/comm/crc.h: Added some missing const keywords, as suggested
in feature request [1644569]. Thanks to Christian for providing a
patch.
* itpp/base/binfile.cpp, itpp/base/binfile.h, itpp/base/itfile.h:
long type replaced with int or int64_t where necessary due to
portability issues. Fixed assumptions of type sizes in << and >>
operators replaced with size dependent read_endian() and
write_endian() templated functions. Minor cosmetic changes.
2007-01-25 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac, itpp/base/ittypes.h, itpp/config_msvc.h,
win32/itpp.vcproj: Improved portability by adding checks for sizes
of short, int, long and "long long" integer types. Assuming that
short has always 2 bytes and int has always 4 bytes. Instead of
long or "long long" types, an int64_t type should be used, which
has always 8 bytes on both 32- and 64-bit platforms. MSVC++
project file and configuration header updated accordingly.
2007-01-24 Adam Piatyszek <ediap@users.sourceforge.net>
* AUTHORS, doc/local/authors.doc: Added Kumar Appaiah (Debian
packages maintainer) to the list of authors
* itpp/base/sort.h: Minor documentation improvements
* tests/Makefile.am: Added missing "tests/itfile_test_data.it"
file
* itpp/base/sources.mk: Added missing "ittp/base/ittypes.h" file
2007-01-23 Adam Piatyszek <ediap@users.sourceforge.net>
* configure.ac: IT++ version incremented
2007-01-23 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/modulator_nd.cpp: Fixed an incorrect assertion check
2007-01-23 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/itfile.cpp, itpp/base/itfile.h, itpp/base/ittypes.h,
itpp/fixed/fix_base.cpp, itpp/fixed/fix_base.h, itpp/itbase.h:
Improved inter-platform portability by using fixed-length integer
types where needed.
* itpp/base/binfile.cpp, itpp/base/binfile.h: Documentation
improvements and minor cosmetic changes
* tests/itfile_test.cpp, tests/itfile_test_data.it,
tests/itfile_test.ref: Improved it_file tests
2007-01-22 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/itfile_test.cpp, tests/itfile_test_data.it,
tests/itfile_test.ref, tests/Makefile.am: Added test file for a
binary it_file format. It is supposed to detect wrong endianness
detection on various platforms.
(merged rev. 860:863 from the itpp-3-10 branch)
* itpp/comm/modulator.cpp: Fixed wrong assertion check in QAM
modulator set_M() function
------------------------------------------------------------------------------
2007-01-21 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.99.0 released (SVN tag: release-3-99-0)
* Makefile.am: Added missing files to EXTRA_DIST
2007-01-20 Adam Piatyszek <ediap@users.sourceforge.net>
* ChangeLog-2006: ChangeLog entries from year 2006 moved to a
separate file
* doc/local/verification.doc: Updated to include tests under
Solaris SunOS with ATLAS
2007-01-19 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/verification.doc: Updated to include recent tests
under Cygwin/Windows XP and Solaris SunOS
2007-01-18 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/verification.doc: Updated to include recent test under
Gentoo Linux with Intel MKL
2007-01-18 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.h, itpp/comm/ldpc.cpp: Changed one function name
and updated documentation
* doc/local/verification.doc: Updated
2007-01-17 Adam Piatyszek <ediap@users.sourceforge.net>
* doc/local/verification.doc: Updated to reflect recent tests
* NEWS: Consistancy and language improved. Thanks to Erik for his
valuable comments.
2007-01-17 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/base/gf2mat.h, itpp/base/gf2mat.cpp, itpp/comm/ldpc.cpp:
Changed int to bool and vice versa for code portability
2007-01-17 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/random.h: Fixed bug [1635988] by implementing the
twist() function in a similar way as the original TWIST() macro
from Takuji Nishimura's and Makoto Matsumoto's C sources.
* win32/itpp.vcproj: Updated to reflect recent changes in source
files' locations
2007-01-16 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp, tests/ldpc_test.ref: Changed rand() to
randi() for code portability and to use it++ routines for random
numbers
* itpp/comm/llr.h: C convention for INT_MAX changed to C++
2007-01-16 Adam Piatyszek <ediap@users.sourceforge.net>
* tests/Makefile.am: Fixed non-portable parts of the Makefile
reported by the latest stable automake 1.10
2007-01-14 Adam Piatyszek <ediap@users.sourceforge.net>
* NEWS, NEWS-3.10: NEWS file with 3.10 series information copied
to NEWS-3.10. Preliminary information for 3.99.x
development releases prepared in NEWS.
------------------------------------------------------------------------------
2007-01-14 Adam Piatyszek <ediap@users.sourceforge.net>
* IT++ 3.10.8 released (SVN tag: release-3-10-8)
(merged rev. 828:830 from the itpp-3-10 branch)
2007-01-13 Adam Piatyszek <ediap@users.sourceforge.net>
* NEWS: Updated to reflect recent changes
(merged rev. 828:830 from the itpp-3-10 branch)
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h, tests/channel_test.cpp,
tests/ldpc_test.cpp: Added missing SVN properties
2007-01-13 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp, itpp/comm/ldpc.h, itpp/comm/modulator_nd.h,
itpp/comm/modulator_nd.cpp: Code cleanup, removing local
declarations, etc.
2007-01-11 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/comm/ldpc.cpp, tests/ldpc_test.ref: Minor enhancements
* itpp/base/specmat.h, itpp/base/specmat.cpp: Added function
"zigzag_space()"
2007-01-09 Conrad Sanderson <conrad_s@users.sourceforge.net>
* itpp/base/itassert.cpp: Changed "Assertation" to "Assertion"
2007-01-07 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* AUTHORS, doc/local/authors.doc, itpp/comm/ldpc.h,
itpp/comm/ldpc.cpp, itpp/itcomm.h, itpp/tests/ldpc_test.cpp,
itpp/tests/ldpc_test.ref, itpp/comm/sources.mk, tests/Makefile.am,
doc/tutorial/tutorial.doc, doc/tutorial/sources.mk,
doc/tutorial/src/sources.mk, doc/tutorial/ldpc_gen_codes.doc,
doc/tutorial/ldpc_bersim_awgn.doc,
doc/tutorial/src/ldpc_gen_codes.cpp,
doc/tutorial/src/ldpc_bersim_awgn.cpp: Added first version of the
LDPC codec class
* itpp/comm/llr.h, itpp/comm/llr.cpp, itpp/tests/llr_test.ref,
itpp/tests/modulator_nd_test.ref: Minor updates
* itpp/base/smat.h: Minor efficiency improvements
* itpp/comm/error_counters.h: Added function get_total_bits() and
get_total_blocks()
* itpp/base/gf2mat.h: Documentation updates
* TODO: Updated
2007-01-05 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/base/gf2mat.h: Clarification in documentation
2007-01-04 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/base/gf2mat.h, itpp/base/gf2mat.cpp, tests/Makefile.am:
Code readability and documentation improvements. Minor fixes.
2007-01-03 Erik G. Larsson <erik_g_larsson@users.sourceforge.net>
* itpp/base/gf2mat.h, itpp/base/gf2mat.cpp, tests/gf2mat_test.cpp,
tests/gf2mat_test.ref: Added support for "alist" representation
(based on code provided by Adam P) of sparse GF(2)
matrices. Implemented minor improvements.
* doc/tutorial/src/mimoconv.cpp: Minor improvements
* itpp/base/random.h: Minor documentation improvement
2007-01-02 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/mat.h: Implemented feature request [1216416]. Multiply
operator `*' of a vector `v' and single-row matrix `m' now works
for any size of vector `v'. This change is backward compatible
with the previous implementation.
* itpp/base/array.h: Fixed a small bug caused by a missing "const"
keyword in in_range() inline function.
2007-01-01 Adam Piatyszek <ediap@users.sourceforge.net>
* itpp/base/array.h, tests/array_test.cpp, tests/array_test.ref,
TODO: Added missing left(), right() and mid() methods to the Array
class.
|