-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathChangeLog-2007
2199 lines (1572 loc) · 85.4 KB
/
ChangeLog-2007
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
2007-12-30 Erik G. Larsson <[email protected]>
* doc/local/verification.doc: Documentation update
2007-12-24 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* doc/local/linking.doc: Cosmetic documentation fixes
------------------------------------------------------------------------------
2007-12-15 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* itpp/comm/ldpc.h, itpp/comm/ldpc.cpp: Improvements to the
generation of regular LDPC codes
2007-12-10 Erik G. Larsson <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* doc/tutorial/src/ldpc_bersim_awgn.cpp: Fixes in tutorial
examples.
2007-12-07 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* doc/local/installation.doc: Updated the "no root" installation
description
2007-10-30 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* IT++ 4.0.0 released (SVN tag: release-4-0-0)
* NEWS: Updated for 4.0.0 stable release
2007-10-12 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* itpp/base/vec.cpp, itpp/base/vec.cpp: Removed unnecessary
conditional checks for MKL & MSVC++
2007-10-09 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* IT++ 4.0.0-rc2 released (SVN tag: release-4-0-0-rc2)
* NEWS: Updated to reflect recent changes
2007-10-05 Adam Piatyszek <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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.