Mercurial > hg > octave-lojdl
annotate liboctave/ChangeLog @ 11570:57632dea2446
attempt better backward compatibility for Array constructors
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 19 Jan 2011 17:55:56 -0500 |
parents | 7e9a111cae20 |
children | 0e414f837c58 |
rev | line source |
---|---|
11570
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
1 2011-01-19 John W. Eaton <jwe@octave.org> |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
2 |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
3 * Array.h (explicit Array (octave_idx_type, const T&)): |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
4 Restore constructor, but mark as deprecated. |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
5 (explicit Array (octave_idx_type, octave_idx_type)): Delete. |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
6 (Array (const Array<T>&, octave_idx_type, octave_idx_type)): Delete. |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
7 Fix all uses in Octave. |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
8 * Array3.h: Deprecate header file. Remove all uses from Octave. |
57632dea2446
attempt better backward compatibility for Array constructors
John W. Eaton <jwe@octave.org>
parents:
11569
diff
changeset
|
9 |
11569
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
10 2011-01-19 John W. Eaton <jwe@octave.org> |
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
11 |
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
12 * file-stat.cc (mode_as_string): Declare buffer as an array of |
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
13 12 characters, not 11. Don't set buf[10] to '\0'; strmode |
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
14 NUL-terminates the array. |
7e9a111cae20
allocate sufficient space for strmode
John W. Eaton <jwe@octave.org>
parents:
11528
diff
changeset
|
15 |
11528
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
16 2011-01-14 David Grundberg <individ@acc.umu.se> |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
17 |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
18 * SparseQR.cc (SparseQR_rep::SparseQR_rep) [HAVE_CXSPARSE]: |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
19 Make initialization list depend on macro. Fixes compile error when |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
20 macro isn't defined. |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
21 * SparseCmplxQR.cc (SparseComplexQR_rep::SparseComplexQR_rep) |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
22 [HAVE_CXSPARSE]: Ditto. |
feb90c7cfc16
Build successfully without HAVE_CXSPARSE
David Grundberg <individ@acc.umu.se>
parents:
11525
diff
changeset
|
23 |
11525
ab231f944252
avoid exposing gnulib:: in header files
John W. Eaton <jwe@octave.org>
parents:
11524
diff
changeset
|
24 2011-01-14 John W. Eaton <jwe@octave.org> |
ab231f944252
avoid exposing gnulib:: in header files
John W. Eaton <jwe@octave.org>
parents:
11524
diff
changeset
|
25 |
ab231f944252
avoid exposing gnulib:: in header files
John W. Eaton <jwe@octave.org>
parents:
11524
diff
changeset
|
26 * lo-mappers.cc (xfloor): Move function body here from |
ab231f944252
avoid exposing gnulib:: in header files
John W. Eaton <jwe@octave.org>
parents:
11524
diff
changeset
|
27 lo-mappers.h to avoid exposing gnulib:: in a header file. |
ab231f944252
avoid exposing gnulib:: in header files
John W. Eaton <jwe@octave.org>
parents:
11524
diff
changeset
|
28 |
11524
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
29 2011-01-14 John W. Eaton <jwe@octave.org> |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
30 |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
31 * file-stat.cc (mode_as_string): Call strmode instead of mode_string. |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
32 |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
33 * filemode.h, filemode.c: Delete. |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
34 * Makefile.am (INCS): Remove filemode.h from the list. |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
35 (LIBOCTAVE_C_SOURCES): Remove filemode.c from the list. |
bd6e37860be5
use gnulib filemode module
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
36 |
11523 | 37 2011-01-14 John W. Eaton <jwe@octave.org> |
38 | |
39 * Update copyright notices for 2011. | |
40 | |
11518 | 41 2011-01-13 John W. Eaton <jwe@octave.org> |
42 | |
43 * CColVector.cc, CMatrix.cc, CRowVector.cc, CSparse.cc, | |
44 CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxLU.cc, CmplxQR.cc, | |
45 CmplxQRP.cc, EIG.cc, Quad.cc, dColVector.cc, dMatrix.cc, | |
46 dRowVector.cc, dSparse.cc, dbleAEPBAL.cc, dbleCHOL.cc, | |
47 dbleLU.cc, dbleQR.cc, dbleQRP.cc, eigs-base.cc, fCColVector.cc, | |
48 fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, fCmplxAEPBAL.cc, | |
49 fCmplxCHOL.cc, fCmplxLU.cc, fCmplxQR.cc, fCmplxQRP.cc, | |
50 fCmplxSVD.cc, fColVector.cc, fEIG.cc, fMatrix.cc, fNDArray.cc, | |
51 fRowVector.cc, floatAEPBAL.cc, floatCHOL.cc, floatLU.cc, | |
52 floatQR.cc, floatQRP.cc, lo-specfun.cc, oct-convn.cc: | |
53 Style fixes. | |
54 | |
11516 | 55 2011-01-13 John W. Eaton <jwe@octave.org> |
56 | |
57 * CMatrix.cc (get_blas_trans_arg): Return char, not char *. | |
58 Change all uses. | |
59 * dMatrix.cc (get_blas_trans_arg): Likewise. | |
60 * fCMatrix.cc (get_blas_trans_arg): Likewise. | |
61 * fMatrix.cc (get_blas_trans_arg): Likewise. | |
62 Suggested by Pascal Dupuis <Pascal.Dupuis@worldonline.be>. | |
63 | |
11512
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
64 2011-01-13 John W. Eaton <jwe@octave.org> |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
65 |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
66 * filemode.c: Use prototypes for function definitions. Reorder |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
67 functions to eliminate need for forward declarations. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
68 * filemode.h: New file. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
69 * file-stat.cc: Include filemode.h instead of using local extern |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
70 declarations. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
71 * Makefile.am (INCS): Add filemode.h to the list. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
72 |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
73 * lo-cutils.h: New file. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
74 (octave_qsort, octave_strcasecmp, octave_strncasecmp, |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
75 octave_w32_library_search, octave_waitpid): Move decls here from |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
76 lo-utils.h. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
77 * Makefile.am (INCS): Add lo-cutils.h to the list. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
78 * lo-utils.h: Include cutils.h. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
79 * lo-cutils.c: Include cutils.h. |
e4e82740e9cd
prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
11510
diff
changeset
|
80 |
11510
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
81 2011-01-13 John W. Eaton <jwe@octave.org> |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
82 |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
83 * SparseCmplxQR.cc |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
84 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
85 Correct order of member initialization. |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
86 * SparseQR.cc (SparseQR::SparseQR_rep::SparseQR_rep): Likewise. |
f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
John W. Eaton <jwe@octave.org>
parents:
11509
diff
changeset
|
87 |
11509
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
88 2011-01-13 John W. Eaton <jwe@octave.org> |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
89 |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
90 * oct-fftw.cc (octave_fftw_planner::octave_fftw_planner, |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
91 octave_float_fftw_planner::octave_float_fftw_planner): |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
92 Avoid duplicate initializations. Correctly initialize RN to |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
93 empty dim_vector. |
fc35194006d6
oct-fftw.cc: more constructor tweaks
John W. Eaton <jwe@octave.org>
parents:
11508
diff
changeset
|
94 |
11508
41866901ec62
Sparse.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11507
diff
changeset
|
95 2011-01-13 John W. Eaton <jwe@octave.org> |
41866901ec62
Sparse.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11507
diff
changeset
|
96 |
41866901ec62
Sparse.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11507
diff
changeset
|
97 * Sparse.cc (Sparse::Sparse): Initialize all data members in |
41866901ec62
Sparse.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11507
diff
changeset
|
98 initialization lists. |
41866901ec62
Sparse.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11507
diff
changeset
|
99 |
11507
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
100 2011-01-13 John W. Eaton <jwe@octave.org> |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
101 |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
102 * Array.cc (rec_permute_helper::rec_permute_helper, |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
103 rec_index_helper::rec_index_helper, |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
104 rec_resize_helper::rec_resize_helper): Initialize all data |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
105 members in initialization lists. |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
106 |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
107 * Array.h, Array.cc (Array::Array): Initialize slice_data and |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
108 slice_len in memeber initialization lists. |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
109 (Array::~Array): Now virtual. |
c3ad80f4ce36
Array.h, Array.cc: more constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11506
diff
changeset
|
110 |
11506
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
111 2011-01-13 John W. Eaton <jwe@octave.org> |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
112 |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
113 * oct-locbuf.h (octave_chunk_buffer::~octave_chunk_buffer): |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
114 Now virtual. |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
115 (class octave_local_buffer, class octave_chunk_buffer): |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
116 Don't allow copying or assignment. |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
117 |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
118 * file-stat.h (base_file_stat::~base_file_stat): |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
119 Now protected and virtual. |
964b7fd379f1
more constructor/destructor fixes
John W. Eaton <jwe@octave.org>
parents:
11505
diff
changeset
|
120 |
11505
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
121 2011-01-13 John W. Eaton <jwe@octave.org> |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
122 |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
123 * base-lu.h (base_lu::base_lu): Initialize all data members in |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
124 initialization lists. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
125 * base-qr.h (base_qr::base_qr): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
126 * DET.h (base_det::base_det): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
127 * sparse-base-lu.h (sparse_base_lu::sparse_base_lu): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
128 * sparse-base-chol.h (sparse_base_chol::sparse_base_chol): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
129 |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
130 * base-lu.h (base_lu::~base_lu): Explicitly define virtual destrutor. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
131 * base-qr.h (base_qr::~base_qr): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
132 * base-aepbal.h (base_aepbal::~base_aepval): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
133 * sparse-base-lu.h (sparse_base_lu::~sparse_base_lu): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
134 * sparse-base-chol.h (sparse_base_chol::~sparse_base_chol): Likewise. |
9a308e96194e
more data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11504
diff
changeset
|
135 |
11504
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
136 2011-01-13 John W. Eaton <jwe@octave.org> |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
137 |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
138 * DAE.h (DAE::~DAE): Now virtual. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
139 * DAERT.h (DAERT::~DAERT): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
140 * ODE.h (ODE::~ODE): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
141 * DAEFunc.h (DAEFunc::~DAEFunc): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
142 * DAERTFunc.h (DAEFunc::~DAEFunc): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
143 * ODEFunc.h (ODE::~ODE): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
144 * ODESFunc.h (ODESFunc::~ODESFunc): Likewise. |
81ff63e43f54
really make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11503
diff
changeset
|
145 |
11503
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
146 2011-01-13 John W. Eaton <jwe@octave.org> |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
147 |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
148 * idx-vector.h (idx_vector_rep::idx_vector_rep, |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
149 idx_vector::idx_mask_rep::idx_mask_rep): |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
150 Initialize all data members in initialization lists. |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
151 |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
152 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep): |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
153 Initialize data in member initialization list. |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
154 (class idx_base_rep, class idx_colon_rep, class idx_range_rep, |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
155 class idx_scalar_rep, class idx_vector_rep, class idx_mask_rep): |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
156 Don't allow assignment. |
b3f511c48b14
idx-vector.h, idx-vector.cc: data member initialization and constructor fixes
John W. Eaton <jwe@octave.org>
parents:
11502
diff
changeset
|
157 |
11502
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
158 2011-01-13 John W. Eaton <jwe@octave.org> |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
159 |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
160 * LSODE.h (class LSODE): Delete pointer data members. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
161 (LSODE::LSODE): Initialize all data members in initialization lists. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
162 * LSODE.cc (LSODE::integrate): Extract pointers to data from |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
163 array data members at each call. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
164 |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
165 * DASPK.h (class DASPK): Delete pointer data members. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
166 (DASPK::DASPK): Initialize all data members in initialization lists. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
167 * DASPK.cc (DASPK::integrate): Extract pointers to data from |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
168 array data members at each call. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
169 |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
170 * DASSL.h (class DASSL): Delete pointer data members. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
171 (DASSL::DASSL): Initialize all data members in initialization lists. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
172 * DASSL.cc (DASSL::integrate): Extract pointers to data from |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
173 array data members at each call. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
174 |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
175 * DASRT.h (class DASRT): Delete pointer data members. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
176 (DASRT::DASRT): Initialize all data members in initialization lists. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
177 * DASRT.cc (DASRT::integrate): Extract pointers to data from |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
178 array data members at each call. |
4638800cd660
delete data pointer members from liboctave ODE/DAE classes; make destuctors virtual in ODE/DAE base classes
John W. Eaton <jwe@octave.org>
parents:
11501
diff
changeset
|
179 |
11501
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
180 2011-01-13 John W. Eaton <jwe@octave.org> |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
181 |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
182 * kpse.cc (struct str_llist_elt, struct cache_entry): |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
183 Explicitly define constructor and destructor. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
184 |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
185 * Quad.h (Quad::Quad, IndefQuad::IndefQuad, |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
186 FloatIndefQuad::FloatIndefQuad): Initialize all data members in |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
187 initialization lists. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
188 * CollocWt.h (CollocWt::CollocWt): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
189 * oct-time.h (octave_strptime::octave_strptime): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
190 * oct-time.cc (octave_time::octave_time): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
191 * pathsearch.h (dir_path::dir_path): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
192 * regex-match.h (regex_match::regex_match): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
193 * oct-sort.h (octave_sort::MergeState::MergeState): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
194 * oct-shlib.h, oct-shlib.cc (octave_shlib::shlib_rep::shlib_rep, |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
195 octave_shlib::octave_shlib): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
196 * oct-mutex.h, oct-mutex.cc (octave_mutex::octave_mutex): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
197 * MatrixType.cc (MatrixType::MatrixType): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
198 * oct-fftw.cc (octave_fftw_planner::octave_fftw_planner, |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
199 octave_float_fftw_planner::octave_float_fftw_planner): Likewise. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
200 |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
201 * mach-info.h, mach-info.cc (oct_mach_info::oct_mach_info): |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
202 Initialize all data members in initialization lists. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
203 (ten_little_endians): Rename from oct_mach_info::ten_little_endians. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
204 Now static instead of private member function |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
205 (get_float_format): Rename from oct_mach_info::init_float_format. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
206 Now static instead of private member function. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
207 |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
208 * dir-ops.h, dir-ops.cc (dir_entry::copy): Delete. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
209 (dir_entry::dir_entry): Initialize all data members in |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
210 initialization lists. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
211 (dir_entry::operator =): Copy elements directly here instead of |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
212 calling copy. |
331fcc41ca23
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11500
diff
changeset
|
213 |
11500
7aeb4eb7403f
cmd-hist.h, cmd-hist.cc: sprinkle with const
John W. Eaton <jwe@octave.org>
parents:
11498
diff
changeset
|
214 2011-01-13 John W. Eaton <jwe@octave.org> |
7aeb4eb7403f
cmd-hist.h, cmd-hist.cc: sprinkle with const
John W. Eaton <jwe@octave.org>
parents:
11498
diff
changeset
|
215 |
7aeb4eb7403f
cmd-hist.h, cmd-hist.cc: sprinkle with const
John W. Eaton <jwe@octave.org>
parents:
11498
diff
changeset
|
216 * cmd-hist.h, cmd-hist.cc: Sprinkle with const. |
7aeb4eb7403f
cmd-hist.h, cmd-hist.cc: sprinkle with const
John W. Eaton <jwe@octave.org>
parents:
11498
diff
changeset
|
217 |
11498
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
218 2011-01-13 John W. Eaton <jwe@octave.org> |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
219 |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
220 * CmplxCHOL.h (ComplexCHOL::ComplexCHOL): Initialize all data |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
221 members in constructor initialization lists. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
222 * CmplxGEPBAL.h (ComplexGEPBALANCE::ComplexGEPBALANCE): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
223 * CmplxHESS.h (ComplexHESS::ComplexHESS): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
224 * CmplxSCHUR.h, CmplxSCHUR.cc (ComplexSCHUR::ComplexSCHUR): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
225 * CmplxSVD.h (ComplexSVD::ComplexSVD): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
226 * DET.h (base_det::base_det): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
227 * EIG.h (EIG::EIG): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
228 * SparseCmplxQR.cc |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
229 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
230 Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
231 * SparseQR.cc (SparseQR::SparseQR_rep::SparseQR_rep): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
232 * dbleCHOL.h (CHOL::CHOL): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
233 * dbleGEPBAL.h (GEPBALANCE::GEPBALANCE): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
234 * dbleHESS.h (HESS::HESS): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
235 * dbleSCHUR.h, dbleSCHUR.cc (SCHUR::SCHUR): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
236 * dbleSVD.h (SVD::SVD): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
237 * fCmplxCHOL.h (FloatComplexCHOL::FloatComplexCHOL): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
238 * fCmplxGEPBAL.h |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
239 (FloatComplexGEPBALANCE::FloatComplexGEPBALANCE): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
240 * fCmplxHESS.h (FloatComplexHESS::FloatComplexHESS): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
241 * fCmplxSCHUR.h, fCmplxSCHUR.cc |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
242 (FloatComplexSCHUR::FloatComplexSCHUR): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
243 * fCmplxSVD.h (FloatComplexSVD::FloatComplexSVD): |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
244 Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
245 * fEIG.h (FloatEIG::FloatEIG): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
246 * floatCHOL.h (FloatCHOL::FloatCHOL): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
247 * floatGEPBAL.h (FloatGEPBALANCE::FloatGEPBALANCE): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
248 * floatHESS.h (FloatHESS::FloatHESS): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
249 * floatSCHUR.h, floatSCHUR.cc (FloatSCHUR::FloatSCHUR): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
250 * floatSVD.h (FloatSVD::FloatSVD): Likewise. |
367bfee35ba0
data member initialization fixes
John W. Eaton <jwe@octave.org>
parents:
11496
diff
changeset
|
251 |
11495 | 252 2011-01-13 John W. Eaton <jwe@octave.org> |
253 | |
254 * LSODE.cc, DASSL.cc, DASRT.cc, DASPK.cc, CmplxSVD.cc, | |
255 CmplxSCHUR.cc, CmplxHESS.cc, CmplxGEPBAL.cc, CmplxCHOL.cc, | |
256 EIG.cc, dbleCHOL.cc, dbleGEPBAL.cc, dbleHESS.cc, dbleSCHUR.cc, | |
257 dbleSVD.cc, fCmplxCHOL.cc, fCmplxGEPBAL.cc, fCmplxHESS.cc, | |
258 fCmplxSCHUR.cc, fCmplxSVD.cc, fEIG.cc, floatCHOL.cc, | |
259 floatGEPBAL.cc, floatHESS.cc, floatSCHUR.cc, floatSVD.cc: | |
260 Style fixes. | |
261 | |
11490
0a4dfc867e60
avoid GCC warning for oct-rl-hist.c
John W. Eaton <jwe@octave.org>
parents:
11488
diff
changeset
|
262 2011-01-12 John W. Eaton <jwe@octave.org> |
0a4dfc867e60
avoid GCC warning for oct-rl-hist.c
John W. Eaton <jwe@octave.org>
parents:
11488
diff
changeset
|
263 |
0a4dfc867e60
avoid GCC warning for oct-rl-hist.c
John W. Eaton <jwe@octave.org>
parents:
11488
diff
changeset
|
264 * oct-rl-hist.c (hc_erasedups): Avoid GCC warning. |
0a4dfc867e60
avoid GCC warning for oct-rl-hist.c
John W. Eaton <jwe@octave.org>
parents:
11488
diff
changeset
|
265 |
11488
49368dbf0822
Replace history control macros with enum
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
11486
diff
changeset
|
266 2011-01-12 Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
49368dbf0822
Replace history control macros with enum
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
11486
diff
changeset
|
267 |
49368dbf0822
Replace history control macros with enum
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
11486
diff
changeset
|
268 * oct-rl-hist.h: Replace macros with an enum |
49368dbf0822
Replace history control macros with enum
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
11486
diff
changeset
|
269 |
11486
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
270 2011-01-12 Pascal Dupuis <Pascal.Dupuis@worldonline.be> |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
271 John W. Eaton <jwe@octave.org> |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
272 |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
273 * cmd-hist.cc (command_history::process_histcontrol, |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
274 command_history::hist_control, command_history::process_histcontrol, |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
275 command_history::hist_control): New functions. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
276 (command_history::initialize, command_history::do_initialize): |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
277 New arg, control_arg. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
278 * cmd-hist.cc (gnu_history::do_add): Pass history_control to |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
279 octave_add_history. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
280 * cmd-hist.h (command_history::process_histcontrol, |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
281 command_history::hist_control, command_history::process_histcontrol, |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
282 command_history::hist_control): Provide decls. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
283 (command_history::history_control): New data member. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
284 |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
285 * oct-rl-hist.c (octave_add_history): New arg, history_control. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
286 Return int, not void. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
287 (check_history_control, hc_erasedups): New static functions |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
288 borrowed from Bash. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
289 * oct-rl-hist.h (octave_add_history): Fix decl. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
290 (HC_IGNSPACE, HC_IGNDUPS, HC_ERASEDUPS): New #defined constants. |
a1deab9a6e71
bash-like history control
Pascal Dupuis <Pascal.Dupuis@worldonline.be> and John W. Eaton <jwe@octave.org>
parents:
11450
diff
changeset
|
291 |
11450
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
292 2011-01-06 John W. Eaton <jwe@octave.org> |
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
293 |
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
294 * oct-md5.cc (oct_md5_file): Tag call to fclose with gnulib::. |
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
295 * Range.cc (tfloor): Tag calls to floor with gnulib::. |
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
296 * lo-mappers.h (xfloor): Tag call to floor with gnulib:: |
5eb10763069f
substitute and use LAPACK_LIBS in mkoctfile script
John W. Eaton <jwe@octave.org>
parents:
11397
diff
changeset
|
297 |
11397
57868a21170e
lo-mappers.h (xrem, xmod): prevent use of extra precision
John W. Eaton <jwe@octave.org>
parents:
11369
diff
changeset
|
298 2010-12-20 John W. Eaton <jwe@octave.org> |
57868a21170e
lo-mappers.h (xrem, xmod): prevent use of extra precision
John W. Eaton <jwe@octave.org>
parents:
11369
diff
changeset
|
299 |
57868a21170e
lo-mappers.h (xrem, xmod): prevent use of extra precision
John W. Eaton <jwe@octave.org>
parents:
11369
diff
changeset
|
300 * lo-mappers.h (xrem, xmod): Declare temporary result from |
57868a21170e
lo-mappers.h (xrem, xmod): prevent use of extra precision
John W. Eaton <jwe@octave.org>
parents:
11369
diff
changeset
|
301 multiplication volatile. |
57868a21170e
lo-mappers.h (xrem, xmod): prevent use of extra precision
John W. Eaton <jwe@octave.org>
parents:
11369
diff
changeset
|
302 |
11368
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
303 2010-12-15 John W. Eaton <jwe@octave.org> |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
304 |
11369 | 305 Bug #31883. |
306 | |
11368
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
307 * cmd-hist.cc (command_history::do_clean_up_and_save, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
308 command_history::do_truncate_file, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
309 command_history::do_append, command_history::do_write, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
310 gnu_history::do_clean_up_and_save, gnu_history::do_truncate_file, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
311 gnu_history::do_append, gnu_history::do_write, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
312 gnu_history::do_read_range): |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
313 Don't do anything if not initialized. |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
314 |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
315 * cmd-hist.cc, cmd-hist.h (command_history::initialize, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
316 command_history::is_initialized): New static functions. |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
317 (command_history::do_initialize, |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
318 command_history::do_is_initialized): New member functions. |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
319 |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
320 * cmd-hist.h (command_history::initialized): New data member. |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
321 (comand_history::command_history): Initialize it. |
944b7e20fc5a
improve handling of exceptions for startup files
John W. Eaton <jwe@octave.org>
parents:
11362
diff
changeset
|
322 |
11361
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
323 2010-12-14 John W. Eaton <jwe@octave.org> |
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
324 |
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
325 * lo-mappers.h (xcopysign (double)): Call copysign, not copysignf. |
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
326 (xmod): Call X_NINT, not D_NINT. Call xfloor, not floor. |
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
327 Bug #31872. |
140c8fbe8b0b
use correct types in mod template function
John W. Eaton <jwe@octave.org>
parents:
11352
diff
changeset
|
328 |
11352
5ea2644b0111
fix cut and paste error in Matrix by ComplexMatrix multiplication operator
John W. Eaton <jwe@octave.org>
parents:
11339
diff
changeset
|
329 2010-12-13 John W. Eaton <jwe@octave.org> |
5ea2644b0111
fix cut and paste error in Matrix by ComplexMatrix multiplication operator
John W. Eaton <jwe@octave.org>
parents:
11339
diff
changeset
|
330 |
5ea2644b0111
fix cut and paste error in Matrix by ComplexMatrix multiplication operator
John W. Eaton <jwe@octave.org>
parents:
11339
diff
changeset
|
331 * CMatrix.cc (operator * (const Matrix& m, const ComplexMatrix& a)): |
11362 | 332 Fix cut and paste error. Bug #31869. |
11352
5ea2644b0111
fix cut and paste error in Matrix by ComplexMatrix multiplication operator
John W. Eaton <jwe@octave.org>
parents:
11339
diff
changeset
|
333 |
11327
ef0e995f8c0f
correctly compute gamma for negative integer values when tgamma is available
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
11311
diff
changeset
|
334 2010-12-09 Marco Atzeri <marco_atzeri@yahoo.it> |
ef0e995f8c0f
correctly compute gamma for negative integer values when tgamma is available
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
11311
diff
changeset
|
335 |
ef0e995f8c0f
correctly compute gamma for negative integer values when tgamma is available
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
11311
diff
changeset
|
336 * lo-specfun.cc (xgamma): Also handle negative integer values as |
11362 | 337 special cases when using tgamma. Bug #31772. |
11327
ef0e995f8c0f
correctly compute gamma for negative integer values when tgamma is available
Marco Atzeri <marco_atzeri@yahoo.it>
parents:
11311
diff
changeset
|
338 |
11311
3bddc4ea8141
Fix bug #31734 where certain indices caused sparse matrices to segfault.
Rik <octave@nomad.inbox5.com>
parents:
11293
diff
changeset
|
339 2010-11-25 John W. Eaton <jwe@octave.org> |
3bddc4ea8141
Fix bug #31734 where certain indices caused sparse matrices to segfault.
Rik <octave@nomad.inbox5.com>
parents:
11293
diff
changeset
|
340 |
3bddc4ea8141
Fix bug #31734 where certain indices caused sparse matrices to segfault.
Rik <octave@nomad.inbox5.com>
parents:
11293
diff
changeset
|
341 * Sparse.cc (Sparse<T>::assign): Use correct endpoint for |
11339 | 342 destination range when making room for new elements. |
11362 | 343 Bug #31734. |
11311
3bddc4ea8141
Fix bug #31734 where certain indices caused sparse matrices to segfault.
Rik <octave@nomad.inbox5.com>
parents:
11293
diff
changeset
|
344 |
11293
202bd0f1863d
oct_md5_result_to_str: avoid buffer overrun; replace loop with single call to sprintf
John W. Eaton <jwe@octave.org>
parents:
11292
diff
changeset
|
345 2010-11-23 John W. Eaton <jwe@octave.org> |
202bd0f1863d
oct_md5_result_to_str: avoid buffer overrun; replace loop with single call to sprintf
John W. Eaton <jwe@octave.org>
parents:
11292
diff
changeset
|
346 |
202bd0f1863d
oct_md5_result_to_str: avoid buffer overrun; replace loop with single call to sprintf
John W. Eaton <jwe@octave.org>
parents:
11292
diff
changeset
|
347 * oct-md5.cc (oct_md5_result_to_str): Avoid buffer overrun in |
202bd0f1863d
oct_md5_result_to_str: avoid buffer overrun; replace loop with single call to sprintf
John W. Eaton <jwe@octave.org>
parents:
11292
diff
changeset
|
348 call to sprintf. Replace loop with a single call to sprintf. |
11362 | 349 Bug #31689. |
11293
202bd0f1863d
oct_md5_result_to_str: avoid buffer overrun; replace loop with single call to sprintf
John W. Eaton <jwe@octave.org>
parents:
11292
diff
changeset
|
350 |
11292
231e6d1b57d6
oct_md5_file: close file after reading
John W. Eaton <jwe@octave.org>
parents:
11287
diff
changeset
|
351 2010-11-23 John W. Eaton <jwe@octave.org> |
231e6d1b57d6
oct_md5_file: close file after reading
John W. Eaton <jwe@octave.org>
parents:
11287
diff
changeset
|
352 |
231e6d1b57d6
oct_md5_file: close file after reading
John W. Eaton <jwe@octave.org>
parents:
11287
diff
changeset
|
353 * oct-md5.cc (oct_md5_file): Close file after reading. |
231e6d1b57d6
oct_md5_file: close file after reading
John W. Eaton <jwe@octave.org>
parents:
11287
diff
changeset
|
354 |
11287 | 355 2010-11-22 John W. Eaton <jwe@octave.org> |
356 | |
357 * boolSparse.cc (SparseBoolMatrix::sum, SparseBoolMatrix::any): | |
358 Cast integer idx_vector argument to octave_idx_type. | |
359 | |
11265
a117dc8ea1b9
charMatrix::row_as_string: never strip trailing nul characters
John W. Eaton <jwe@octave.org>
parents:
11244
diff
changeset
|
360 2010-11-18 John W. Eaton <jwe@octave.org> |
a117dc8ea1b9
charMatrix::row_as_string: never strip trailing nul characters
John W. Eaton <jwe@octave.org>
parents:
11244
diff
changeset
|
361 |
a117dc8ea1b9
charMatrix::row_as_string: never strip trailing nul characters
John W. Eaton <jwe@octave.org>
parents:
11244
diff
changeset
|
362 * chMatrix.cc (charMatrix::row_as_string): Never strip trailing |
a117dc8ea1b9
charMatrix::row_as_string: never strip trailing nul characters
John W. Eaton <jwe@octave.org>
parents:
11244
diff
changeset
|
363 nul characters. Bug #31689. |
a117dc8ea1b9
charMatrix::row_as_string: never strip trailing nul characters
John W. Eaton <jwe@octave.org>
parents:
11244
diff
changeset
|
364 |
11244
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
365 2010-11-12 John W. Eaton <jwe@octave.org> |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
366 |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
367 * Makefile.am (LIBOCTAVE_SOURCES): Delete variable. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
368 (liboctave_la_SOURCES): Include $(LIBOCTAVE_CXX_SOURCES) and |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
369 $(LIBOCTAVE_C_SOURCES) in this list instead of |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
370 $(LIBOCTAVE_SOURCES). |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
371 (nodist_liboctave_la_SOURCES): New variable. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
372 (octinclude_HEADERS): Don't include $(BUILT_INCS) in the list. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
373 (noinst_octinclude_HEADERS): New variable. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
374 (PRIVATE_INCS): Delete variable. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
375 (INCS): Include oct-glob.h in the list. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
376 (liboctave_la_SOURCES): Don't include $(PRIVATE_INCS) in the |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
377 list. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
378 (LIBOCT_PATHSEARCH_CXX_SOURCES, LIBOCT_PATHSEARCH_C_SOURCES, |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
379 LIBOCT_PATHSEARCH_SOURCES): Delete variables. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
380 (LIBOCTAVE_CXX_SOURCES): Include pathsearch.cc in the list. |
dea482126ec3
liboctave/Makefile.am: clean up some variables; don't distribute generated files
John W. Eaton <jwe@octave.org>
parents:
11242
diff
changeset
|
381 |
11242
0090bb47d0b5
simplify special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11241
diff
changeset
|
382 2010-11-12 John W. Eaton <jwe@octave.org> |
0090bb47d0b5
simplify special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11241
diff
changeset
|
383 |
0090bb47d0b5
simplify special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11241
diff
changeset
|
384 * Array.cc (Array<T>::cat): Simplify previous change. |
0090bb47d0b5
simplify special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11241
diff
changeset
|
385 |
11241
80e01d79cf80
special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11237
diff
changeset
|
386 2010-11-11 John W. Eaton <jwe@octave.org> |
80e01d79cf80
special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11237
diff
changeset
|
387 |
80e01d79cf80
special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11237
diff
changeset
|
388 * Array.cc (Array<T>::cat): New special case for concatenating |
80e01d79cf80
special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11237
diff
changeset
|
389 empty matrices. Bug #31615. |
80e01d79cf80
special case for concatenation of empty matrices
John W. Eaton <jwe@octave.org>
parents:
11237
diff
changeset
|
390 |
11237
110e570e5f8d
keep gnulib out of lo-mappers.h
John W. Eaton <jwe@octave.org>
parents:
11236
diff
changeset
|
391 2010-11-11 John W. Eaton <jwe@octave.org> |
110e570e5f8d
keep gnulib out of lo-mappers.h
John W. Eaton <jwe@octave.org>
parents:
11236
diff
changeset
|
392 |
110e570e5f8d
keep gnulib out of lo-mappers.h
John W. Eaton <jwe@octave.org>
parents:
11236
diff
changeset
|
393 * lo-mappers.cc (xtrunc, xround): Move definitions here from |
110e570e5f8d
keep gnulib out of lo-mappers.h
John W. Eaton <jwe@octave.org>
parents:
11236
diff
changeset
|
394 lo-mappers.h. |
110e570e5f8d
keep gnulib out of lo-mappers.h
John W. Eaton <jwe@octave.org>
parents:
11236
diff
changeset
|
395 |
11236 | 396 2010-11-10 John W. Eaton <jwe@octave.org> |
397 | |
398 * kpse-xfns.c: Delete. | |
399 * kpse-xfns.h: Delete. Move defintions to kpse.cc. | |
400 * Makefile.am (INCS): Remove kpse-xfns.h from the list. | |
401 (LIBOCT_PATHSEARCH_SOURCES): Define to pathsearch.cc. | |
402 (LIBOCT_PATHSEARCH_CXX_SOURCES, LIBOCT_PATHSEARCH_C_SOURCES): | |
403 Delete variables. | |
404 | |
11235
9900d375e585
eliminate additional special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11234
diff
changeset
|
405 2010-11-10 John W. Eaton <jwe@octave.org> |
9900d375e585
eliminate additional special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11234
diff
changeset
|
406 |
9900d375e585
eliminate additional special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11234
diff
changeset
|
407 * lo-cieee.c Eliminate special cases for SCO. |
9900d375e585
eliminate additional special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11234
diff
changeset
|
408 |
11234
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
409 2010-11-10 John W. Eaton <jwe@octave.org> |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
410 |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
411 * lo-ieee.cc (octave_ieee_init): Don't initialize octave_Inf, |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
412 octave_NaN, and octave_NA to DBL_MAX. Don't initialize |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
413 octave_Float_Inf, octave_Float_NaN, and octave_Float_NA to FLT_MAX. |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
414 (octave_ieee_init): Simplify using std::numeric_limits template. |
2718e1fdf82f
IEEE math initialization tweaks
John W. Eaton <jwe@octave.org>
parents:
11232
diff
changeset
|
415 |
11232
88e4ea8b2c19
eliminate special cases for NeXT systems
John W. Eaton <jwe@octave.org>
parents:
11231
diff
changeset
|
416 2010-11-10 John W. Eaton <jwe@octave.org> |
88e4ea8b2c19
eliminate special cases for NeXT systems
John W. Eaton <jwe@octave.org>
parents:
11231
diff
changeset
|
417 |
88e4ea8b2c19
eliminate special cases for NeXT systems
John W. Eaton <jwe@octave.org>
parents:
11231
diff
changeset
|
418 * syswait.h: Delete special cases for NeXT systems. |
88e4ea8b2c19
eliminate special cases for NeXT systems
John W. Eaton <jwe@octave.org>
parents:
11231
diff
changeset
|
419 |
11231
2f29b765c0ef
eliminate special cases for __EMX__ systems
John W. Eaton <jwe@octave.org>
parents:
11229
diff
changeset
|
420 2010-11-10 John W. Eaton <jwe@octave.org> |
2f29b765c0ef
eliminate special cases for __EMX__ systems
John W. Eaton <jwe@octave.org>
parents:
11229
diff
changeset
|
421 |
2f29b765c0ef
eliminate special cases for __EMX__ systems
John W. Eaton <jwe@octave.org>
parents:
11229
diff
changeset
|
422 * lo-sysdep.cc (octave_chdir): Delete special case for __EMX__. |
2f29b765c0ef
eliminate special cases for __EMX__ systems
John W. Eaton <jwe@octave.org>
parents:
11229
diff
changeset
|
423 * oct-env.cc (octave_env::do_make_absolute): Likewise. |
2f29b765c0ef
eliminate special cases for __EMX__ systems
John W. Eaton <jwe@octave.org>
parents:
11229
diff
changeset
|
424 |
11229
2f36145742c9
eliminate special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11222
diff
changeset
|
425 2010-11-10 John W. Eaton <jwe@octave.org> |
2f36145742c9
eliminate special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11222
diff
changeset
|
426 |
2f36145742c9
eliminate special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11222
diff
changeset
|
427 * lo-ieee.h: Eliminate special cases for SCO. |
2f36145742c9
eliminate special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11222
diff
changeset
|
428 * lo-ieee.cc (octave_ieee_init): Eliminate special cases for SCO. |
2f36145742c9
eliminate special cases for SCO systems
John W. Eaton <jwe@octave.org>
parents:
11222
diff
changeset
|
429 |
11213
009d16b010fa
lo-mappers.cc (xmod, xrem): don't copy sign if result is zero
John W. Eaton <jwe@octave.org>
parents:
11212
diff
changeset
|
430 2010-11-09 John W. Eaton <jwe@octave.org> |
009d16b010fa
lo-mappers.cc (xmod, xrem): don't copy sign if result is zero
John W. Eaton <jwe@octave.org>
parents:
11212
diff
changeset
|
431 |
009d16b010fa
lo-mappers.cc (xmod, xrem): don't copy sign if result is zero
John W. Eaton <jwe@octave.org>
parents:
11212
diff
changeset
|
432 * lo-mappers.h (xmod, xrem): Don't copy sign if result is zero. |
009d16b010fa
lo-mappers.cc (xmod, xrem): don't copy sign if result is zero
John W. Eaton <jwe@octave.org>
parents:
11212
diff
changeset
|
433 |
11211
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
434 2010-11-09 John W. Eaton <jwe@octave.org> |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
435 |
11212
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
436 * lo-mappers.cc, lo-mappers.h (xisnan, xisinf, xfinite, xmod, |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
437 xrem, floor, ceil, xround, xroundb, signum): Move definitions |
11211
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
438 from lo-mappers.cc to lo-mappers.h and convert to templates. |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
439 (xtrunc): Move definitions from lo-mappers.cc to lo-mappers.h. |
11212
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
440 * lo-mappers.cc (fix): Use xtrunc. Move definitions to |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
441 lo-mappers.cc from lo-mappers.h. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
442 (real, imag, conj) Move definitions to lo-mappers.h and declare inline. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
443 (round): Move definitions to lo-mappers.h and declare inline. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
444 Use roundf for float version. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
445 (arg): Move definitions to lo-mappers.h and declare inline. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
446 Use atan2f for float version. |
ce27d6f4e134
use templates and inline for more lo-mappers functionos
John W. Eaton <jwe@octave.org>
parents:
11211
diff
changeset
|
447 * lo-mappers.h (xceil): New functions. |
11211
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
448 (X_NINT): New template function. |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
449 (D_NINT, F_NINT): Define in terms of X_NINT. |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
450 * lo-utils.h, lo-utils.cc (D_NINT, F_NINT): Delete. |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
451 * lo-mappers.h, lo-mappers.cc (NINTbig, NINT): Move from |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
452 lo-utils.cc and lo-utils.h. |
2554b4a0806e
use templates for some lo-mappers functions
John W. Eaton <jwe@octave.org>
parents:
11210
diff
changeset
|
453 |
11210
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
454 2010-11-09 John W. Eaton <jwe@octave.org> |
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
455 |
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
456 * Array.cc (Array<T>::sort, Array<T>::is_sorted, |
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
457 Array<T>::is_sorted_rows): Use comparisons to sortmode values |
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
458 instead of testing mode directly. |
b79924abf776
Array.cc: use comparisons to sortmode values instead of testing mode directly
John W. Eaton <jwe@octave.org>
parents:
11209
diff
changeset
|
459 |
11209
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
460 2010-11-09 John W. Eaton <jwe@octave.org> |
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
461 |
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
462 * lo-mappers.cc (xmod, xrem): New functions. |
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
463 (mod): Delete. |
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
464 * lo-mappers.h (xmod, xrem): Provide decls. |
94d9d412a2a0
improve Matlab compatibility of rem and mod
John W. Eaton <jwe@octave.org>
parents:
11173
diff
changeset
|
465 |
11173
298a75c128ad
Additional exported symbols [MSVC]
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11130
diff
changeset
|
466 2010-10-31 Michael Goffioul <michael.goffioul@gmail.com> |
298a75c128ad
Additional exported symbols [MSVC]
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11130
diff
changeset
|
467 |
298a75c128ad
Additional exported symbols [MSVC]
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11130
diff
changeset
|
468 * dim-vector.h (class dim_vector): tag with OCTAVE_API. |
298a75c128ad
Additional exported symbols [MSVC]
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11130
diff
changeset
|
469 |
11130
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
470 2010-10-21 John W. Eaton <jwe@octave.org> |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
471 |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
472 * Makefile.am (INCS): Include lo-array-gripes.h in the list. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
473 (LIBOCTAVE_CXX_SOURCES): Include lo-array-gripes.cc in the list. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
474 |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
475 * lo-array-gripes.h: New file. Move gripe function decls here |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
476 from Array-util.h. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
477 * lo-array-gripes.c: New file. Move gripe function definitions |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
478 here from Array-util.cc. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
479 |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
480 * CMatrix.cc (ComplexMatrix::operator !): Gripe if any element is NaN. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
481 * CNDArray.cc (ComplexNDArray::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
482 * CSparse.cc (SparseComplexMatrix::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
483 * dMatrix.cc (Matrix::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
484 * dNDArray.cc (NDArray::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
485 * dSparse.cc (SparseMatrix::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
486 * fCMatrix.cc (FloatComplexMatrix::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
487 * fCNDArray.cc (FloatComplexNDArray::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
488 * fMatrix.cc (FloatMatrix::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
489 * fNDArray.cc (FloatNDArray::operator !): Likewise. |
7c573eb981eb
consistently give error for operator not applied to NaN values
John W. Eaton <jwe@octave.org>
parents:
11129
diff
changeset
|
490 |
11129
0de5cc44e690
use gripe functions for NaN to logical and NaN to character conversions more consistently
John W. Eaton <jwe@octave.org>
parents:
11116
diff
changeset
|
491 2010-10-21 John W. Eaton <jwe@octave.org> |
0de5cc44e690
use gripe functions for NaN to logical and NaN to character conversions more consistently
John W. Eaton <jwe@octave.org>
parents:
11116
diff
changeset
|
492 |
0de5cc44e690
use gripe functions for NaN to logical and NaN to character conversions more consistently
John W. Eaton <jwe@octave.org>
parents:
11116
diff
changeset
|
493 * Array-util.cc (gripe_nan_to_character_conversion): New function. |
0de5cc44e690
use gripe functions for NaN to logical and NaN to character conversions more consistently
John W. Eaton <jwe@octave.org>
parents:
11116
diff
changeset
|
494 * Array-util.h: Provide decl. |
0de5cc44e690
use gripe functions for NaN to logical and NaN to character conversions more consistently
John W. Eaton <jwe@octave.org>
parents:
11116
diff
changeset
|
495 |
11116
ec2a6c5760b2
liboctave/Makefile.am (INCS): include caseless-str.h in the list
John W. Eaton <jwe@octave.org>
parents:
11088
diff
changeset
|
496 2010-10-19 John W. Eaton <jwe@octave.org> |
ec2a6c5760b2
liboctave/Makefile.am (INCS): include caseless-str.h in the list
John W. Eaton <jwe@octave.org>
parents:
11088
diff
changeset
|
497 |
ec2a6c5760b2
liboctave/Makefile.am (INCS): include caseless-str.h in the list
John W. Eaton <jwe@octave.org>
parents:
11088
diff
changeset
|
498 * Makefile.am (INCS): Add caseless-str.h to the list. |
ec2a6c5760b2
liboctave/Makefile.am (INCS): include caseless-str.h in the list
John W. Eaton <jwe@octave.org>
parents:
11088
diff
changeset
|
499 |
11075
4e31d44a9763
extract caseless_str class to separate header file
John W. Eaton <jwe@octave.org>
parents:
11013
diff
changeset
|
500 2010-10-01 John W. Eaton <jwe@octave.org> |
4e31d44a9763
extract caseless_str class to separate header file
John W. Eaton <jwe@octave.org>
parents:
11013
diff
changeset
|
501 |
4e31d44a9763
extract caseless_str class to separate header file
John W. Eaton <jwe@octave.org>
parents:
11013
diff
changeset
|
502 * caseless-str.h: New file, extracted from src/graphics.h.in. |
4e31d44a9763
extract caseless_str class to separate header file
John W. Eaton <jwe@octave.org>
parents:
11013
diff
changeset
|
503 |
11013
63f79f798a14
fix small typos in new tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11010
diff
changeset
|
504 2010-09-22 Jaroslav Hajek <highegg@gmail.com> |
63f79f798a14
fix small typos in new tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11010
diff
changeset
|
505 |
63f79f798a14
fix small typos in new tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11010
diff
changeset
|
506 * lo-utils.cc (xis_int_or_inf_or_nan): Fix typos. |
63f79f798a14
fix small typos in new tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11010
diff
changeset
|
507 |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
508 2010-09-21 Jaroslav Hajek <highegg@gmail.com> |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
509 |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
510 * Array.h (Array::test, Array::test_all, Array::test_any): New |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
511 overloaded template methods. |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
512 * lo-mappers.h (xisinteger, xnegative_sign): New bool mappers. |
11088 | 513 * dNDArray.cc (NDArray::any_element_is_negative, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
514 NDArray::all_integers): Simplify. |
11088 | 515 * fNDArray.cc (FloatNDArray::any_element_is_negative, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
516 FloatNDArray::all_integers): Simplify. |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
517 |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
518 * lo-utils.cc (xis_int_or_inf_or_nan, xis_one_or_zero, |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
519 xis_zero, xtoo_large_for_float): New utility functions. |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
520 |
11088 | 521 * dNDArray.cc (NDArray::any_element_is_negative, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
522 NDArray::all_integers, NDArray::all_elements_are_zero, |
11088 | 523 NDArray::all_elements_are_int_or_inf_or_nan, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
524 NDArray::any_element_not_one_or_zero, |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
525 NDArray::too_large_for_float): Simplify. |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
526 |
11088 | 527 * fNDArray.cc (FloatNDArray::any_element_is_negative, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
528 FloatNDArray::all_integers, FloatNDArray::all_elements_are_zero, |
11088 | 529 FloatNDArray::all_elements_are_int_or_inf_or_nan, |
11010
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
530 FloatNDArray::any_element_not_one_or_zero, |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
531 FloatNDArray::too_large_for_float): Simplify. |
9478b216752e
simplify more array tests
Jaroslav Hajek <highegg@gmail.com>
parents:
11008
diff
changeset
|
532 |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
533 2010-09-21 Jaroslav Hajek <highegg@gmail.com> |
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
534 |
11088 | 535 * dNDArray.cc (NDArray::any_element_is_negative, |
536 NDArray::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
537 NDArray::any_element_is_inf_or_nan): Simplify. |
11088 | 538 * fNDArray.cc (FloatNDArray::any_element_is_negative, |
539 FloatNDArray::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
540 FloatNDArray::any_element_is_inf_or_nan): Simplify. |
11088 | 541 * dMatrix.cc (Matrix::any_element_is_negative, |
542 Matrix::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
543 Matrix::any_element_is_inf_or_nan): Simplify. |
11088 | 544 * fMatrix.cc (FloatMatrix::any_element_is_negative, |
545 FloatMatrix::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
546 FloatMatrix::any_element_is_inf_or_nan): Simplify. |
11088 | 547 * CNDArray.cc (ComplexNDArray::any_element_is_negative, |
548 ComplexNDArray::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
549 ComplexNDArray::any_element_is_inf_or_nan): Simplify. |
11088 | 550 * fCNDArray.cc (FloatComplexNDArray::any_element_is_negative, |
551 FloatComplexNDArray::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
552 FloatComplexNDArray::any_element_is_inf_or_nan): Simplify. |
11088 | 553 * CMatrix.cc (ComplexMatrix::any_element_is_negative, |
554 ComplexMatrix::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
555 ComplexMatrix::any_element_is_inf_or_nan): Simplify. |
11088 | 556 * fCMatrix.cc (FloatComplexMatrix::any_element_is_negative, |
557 FloatComplexMatrix::any_element_is_nan, | |
11008
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
558 FloatComplexMatrix::any_element_is_inf_or_nan): Simplify. |
3622db30ff05
simplify some array tests in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
11006
diff
changeset
|
559 |
11006
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
560 2010-09-21 John W. Eaton <jwe@octave.org> |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
561 |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
562 * oct-env.cc (do_get_host_name): Call gnulib::gethostname |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
563 instead of octave_gethostname. |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
564 |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
565 * lo-utils.h, lo-cutils.c (octave_gethostname): Delete. |
aca961a3f387
provide gethostname function
John W. Eaton <jwe@octave.org>
parents:
11005
diff
changeset
|
566 |
11005
0de4eff677d6
use mktime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10983
diff
changeset
|
567 2010-09-20 John W. Eaton <jwe@octave.org> |
0de4eff677d6
use mktime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10983
diff
changeset
|
568 |
0de4eff677d6
use mktime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10983
diff
changeset
|
569 * oct-time.cc (octave_time::octave_time, octave_strptime::init): |
0de4eff677d6
use mktime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10983
diff
changeset
|
570 Call gnulib::mktime instead of mktime (may fix bug #31079). |
0de4eff677d6
use mktime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10983
diff
changeset
|
571 |
10983
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
572 2010-09-15 Jaroslav Hajek <highegg@gmail.com> |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
573 |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
574 * dSparse.h (SparseMatrix::SparseMatrix (const Sparse<double>&)): |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
575 New ctor. |
11088 | 576 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix |
10983
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
577 (const Sparse<Complex>&)): New ctor. |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
578 * boolSparse.cc (SparseBoolMatrix::sum): New method. |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
579 * boolSparse.h: Declare it. |
4b51c0a20a98
optimize sum of sparse logical matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10976
diff
changeset
|
580 |
10976
80653e42a551
optimize any for sparse bool matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10908
diff
changeset
|
581 2010-09-15 Jaroslav Hajek <highegg@gmail.com> |
80653e42a551
optimize any for sparse bool matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10908
diff
changeset
|
582 |
80653e42a551
optimize any for sparse bool matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10908
diff
changeset
|
583 * boolSparse.cc (SparseBoolMatrix::any): Optimize. |
80653e42a551
optimize any for sparse bool matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10908
diff
changeset
|
584 |
10908
c98a0d05b24a
inline char sorts for small boost to sortrows of char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10905
diff
changeset
|
585 2010-08-24 Jaroslav Hajek <highegg@gmail.com> |
c98a0d05b24a
inline char sorts for small boost to sortrows of char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10905
diff
changeset
|
586 |
c98a0d05b24a
inline char sorts for small boost to sortrows of char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10905
diff
changeset
|
587 * Array-ch.cc: Inline basic sorts. |
c98a0d05b24a
inline char sorts for small boost to sortrows of char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10905
diff
changeset
|
588 |
11088 | 589 2010-08-21 Rik <octave@nomad.inbox5.com> |
10905
9ee5a0a1b93d
Return permutation vector from QR as a row, not column, vector.
Rik <octave@nomad.inbox5.com>
parents:
10900
diff
changeset
|
590 |
9ee5a0a1b93d
Return permutation vector from QR as a row, not column, vector.
Rik <octave@nomad.inbox5.com>
parents:
10900
diff
changeset
|
591 * CmplxQRP.cc, CmplxQRP.h, dbleQRP.cc, dbleQRP.h, fCmplxQRP.cc, |
9ee5a0a1b93d
Return permutation vector from QR as a row, not column, vector.
Rik <octave@nomad.inbox5.com>
parents:
10900
diff
changeset
|
592 fCmplxQRP.h, floatQRP.cc, floatQRP.h: Declare Pvec as RowVector, |
9ee5a0a1b93d
Return permutation vector from QR as a row, not column, vector.
Rik <octave@nomad.inbox5.com>
parents:
10900
diff
changeset
|
593 not ColumnVector. Bug #30832. |
9ee5a0a1b93d
Return permutation vector from QR as a row, not column, vector.
Rik <octave@nomad.inbox5.com>
parents:
10900
diff
changeset
|
594 |
10900
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
595 2010-08-18 Jaroslav Hajek <highegg@gmail.com> |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
596 |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
597 * mx-inlines.cc (mx_inline_all_finite): New check. |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
598 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_1, SPARSE_SMS_BIN_OP_2, |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
599 SPARSE_SSM_BIN_OP_1, SPARSE_SSM_BIN_OP_2): Use unchecked access where |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
600 appropriate. |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
601 (SPARSE_SMM_BIN_OP_1, SPARSE_MSM_BIN_OP_1): Simplify. |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
602 (SPARSE_SMM_BIN_OP_2, SPARSE_MSM_BIN_OP_2): Use optimized code path |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
603 if all values are finite. |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
604 (SPARSE_MSM_BIN_OPS): Use SPARSE_MSM_BIN_OP_1 for division. |
b64803a8be4e
optimize element-wise sparse-dense multiplication and division
Jaroslav Hajek <highegg@gmail.com>
parents:
10840
diff
changeset
|
605 |
11088 | 606 2010-07-31 Rik <octave@nomad.inbox5.com> |
607 | |
608 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
11222 | 609 Quad-opts.in: Grammarcheck .cc files |
10840 | 610 |
10830
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
611 2010-07-29 Jaroslav Hajek <highegg@gmail.com> |
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
612 |
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
613 * dim-vector.cc (dim_vector::dim_max (void)): Turn it into a function. |
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
614 (dim_vector::safe_numel): Update usage. |
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
615 * dim-vector.h: Update declaration. |
b4ebfd675321
avoid static initialization disaster in dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
10822
diff
changeset
|
616 |
10822 | 617 2010-07-27 Jaroslav Hajek <highegg@gmail.com> |
618 | |
11088 | 619 * dbleSCHUR.cc (SCHUR::SCHUR (const Matrix&, const Matrix&)): |
10822 | 620 New ctor. |
621 * dbleSCHUR.h: Declare it. | |
622 * floatSCHUR.cc (FloatSCHUR::FloatSCHUR (const FloatMatrix&, const | |
623 FloatMatrix&)): New ctor. | |
624 * floatSCHUR.h: Declare it. | |
625 * CmplxSCHUR.cc (ComplexSCHUR::ComplexSCHUR (const ComplexMatrix&, | |
626 const ComplexMatrix&), | |
627 ComplexSCHUR::ComplexSCHUR (const SCHUR&)): New ctors. | |
628 * CmplxSCHUR.h: Declare them. | |
11088 | 629 * fCmplxSCHUR.cc (FloatComplexSCHUR::FloatComplexSCHUR |
10822 | 630 (const FloatComplexMatrix&, const FloatComplexMatrix&), |
631 FloatComplexSCHUR::FloatComplexSCHUR (const FloatSCHUR&)): New ctors. | |
632 * fCmplxSCHUR.h: Declare them. | |
633 | |
10813
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
634 2010-07-22 Jaroslav Hajek <highegg@gmail.com> |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
635 |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
636 * dMatrix.cc (Matrix::lssolve): Fix decision test for workaround. |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
637 * fMatrix.cc (FloatMatrix::lssolve): Ditto. |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
638 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
639 * fCMatrix.cc (FloatComplexMatrix::lssolve): Ditto. |
2c2d4a2f1047
fix workspace bug workaround for xGELSD (since 7486:6a6d2abe51ff)
Jaroslav Hajek <highegg@gmail.com>
parents:
10810
diff
changeset
|
640 |
10810
6683f0c9d742
make the maximum extent externally accessible
Jaroslav Hajek <highegg@gmail.com>
parents:
10805
diff
changeset
|
641 2010-07-20 Jaroslav Hajek <highegg@gmail.com> |
6683f0c9d742
make the maximum extent externally accessible
Jaroslav Hajek <highegg@gmail.com>
parents:
10805
diff
changeset
|
642 |
6683f0c9d742
make the maximum extent externally accessible
Jaroslav Hajek <highegg@gmail.com>
parents:
10805
diff
changeset
|
643 * dim-vector.cc (dim_vector::dim_max): New static const member. |
6683f0c9d742
make the maximum extent externally accessible
Jaroslav Hajek <highegg@gmail.com>
parents:
10805
diff
changeset
|
644 * dim-vector.h: Declare it. |
6683f0c9d742
make the maximum extent externally accessible
Jaroslav Hajek <highegg@gmail.com>
parents:
10805
diff
changeset
|
645 |
10805
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
646 2010-07-20 Jaroslav Hajek <highegg@gmail.com> |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
647 |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
648 * dMatrix.cc (Matrix::extract, Matrix::extract_n): Reimplement using |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
649 index. |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
650 * fMatrix.cc (FloatMatrix::extract, FloatMatrix::extract_n): Ditto. |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
651 * CMatrix.cc (ComplexMatrix::extract, ComplexMatrix::extract_n): Ditto. |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
652 * fCMatrix.cc (FloatComplexMatrix::extract, FloatComplexMatrix::extract_n): Ditto. |
8c858a1a2079
simplify Matrix::extract
Jaroslav Hajek <highegg@gmail.com>
parents:
10796
diff
changeset
|
653 |
10785
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
654 2010-07-13 Jaroslav Hajek <highegg@gmail.com> |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
655 |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
656 * MSparse.h (MSparse<T>::index): Remove overloads. |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
657 * dSparse.h (SparseMatrix::index): Likewise. |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
658 * dSparse.cc (SparseMatrix::index): Likewise. |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
659 * CSparse.h (SparseComplexMatrix::index): Likewise. |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
660 * CSparse.cc (SparseComplexMatrix::index): Likewise. |
c2041adcf234
remove unnecessary sparse indexing overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10779
diff
changeset
|
661 |
10779
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
662 2010-07-09 Jaroslav Hajek <highegg@gmail.com> |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
663 |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
664 * CMatrix.cc (ComplexMatrix::lssolve (const ComplexMatrix&)): |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
665 Undo 10708:2786b7ae3f80, implement proper correction. |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
666 * fCMatrix.cc (FloatComplexMatrix::lssolve (const FloatComplexMatrix&)): |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
667 Ditto. |
add87b12e63c
implement proper CGELSD/ZGELSD RWORK size formulas, as found in lapack SVN
Jaroslav Hajek <highegg@gmail.com>
parents:
10758
diff
changeset
|
668 |
10758
f3892d8eea9f
optimize horzcat/vertcat for scalars, cells and structs
Jaroslav Hajek <highegg@gmail.com>
parents:
10726
diff
changeset
|
669 2010-06-28 Jaroslav Hajek <highegg@gmail.com> |
f3892d8eea9f
optimize horzcat/vertcat for scalars, cells and structs
Jaroslav Hajek <highegg@gmail.com>
parents:
10726
diff
changeset
|
670 |
f3892d8eea9f
optimize horzcat/vertcat for scalars, cells and structs
Jaroslav Hajek <highegg@gmail.com>
parents:
10726
diff
changeset
|
671 * dim-vector.h (dim_vector::scalar_1x1): New method. |
f3892d8eea9f
optimize horzcat/vertcat for scalars, cells and structs
Jaroslav Hajek <highegg@gmail.com>
parents:
10726
diff
changeset
|
672 * lo-traits.h (equal_types): Fix. |
f3892d8eea9f
optimize horzcat/vertcat for scalars, cells and structs
Jaroslav Hajek <highegg@gmail.com>
parents:
10726
diff
changeset
|
673 |
10716
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
674 2010-06-21 Jaroslav Hajek <highegg@gmail.com> |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
675 |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
676 * Array.cc (Array<T>::cat): Implement the loose horzcat/vertcat rules |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
677 under dim=-1/-2. |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
678 * Sparse.cc (Array<T>::cat): Implement the loose horzcat/vertcat rules |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
679 under dim=-1/-2. |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
680 * Array.h, Sparse.h: Document it. |
f7f26094021b
improve cat code design in data.cc, make horzcat/vertcat more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10715
diff
changeset
|
681 |
10715
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
682 2010-06-17 Jaroslav Hajek <highegg@gmail.com> |
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
683 |
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
684 * dim-vector.cc (dim_vector::hvcat): New method. |
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
685 * dim-vector.h (dim_vector::hvcat, dim_vector::cat): Update decls. |
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
686 (dim_vector::empty_2d): New method. |
53253f796351
make [] (hopefully) more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10713
diff
changeset
|
687 |
10713
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
688 2010-06-17 Jaroslav Hajek <highegg@gmail.com> |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
689 |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
690 * MatrixType.cc (matrix_real_probe): Use OCTAVE_LOCAL_BUFFER for |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
691 temporary array. |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
692 (matrix_complex_probe): Parametrize by real type. Use |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
693 OCTAVE_LOCAL_BUFFER for temporary array. |
0e05ed9f2a62
improve some MatrixType code
Jaroslav Hajek <highegg@gmail.com>
parents:
10711
diff
changeset
|
694 |
11088 | 695 2010-06-16 Rik <octave@nomad.inbox5.com> |
10711
fbd7843974fa
Periodic grammar check of documentation files to ensure common format.
Rik <octave@nomad.inbox5.com>
parents:
10710
diff
changeset
|
696 |
10796
eaf7c8ab3b0c
Replace 8 spaces with tabs in ChangeLogs
Rik <octave@nomad.inbox5.com>
parents:
10785
diff
changeset
|
697 * DASSL-opts.in: Periodic grammar check on documentation. |
10711
fbd7843974fa
Periodic grammar check of documentation files to ensure common format.
Rik <octave@nomad.inbox5.com>
parents:
10710
diff
changeset
|
698 |
10710
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
699 2010-06-16 David Bateman <dbateman@free.fr> |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
700 |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
701 * oct-rand.cc (void octave_rand:do_reset (void), |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
702 void octave_rand:do_reset (const std::string&)): New functions |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
703 * oct-rand.h (void octave_rand:do_reset (void), |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
704 void octave_rand:do_reset (const std::string&)): Declare them |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
705 (void octave_rand:reset (void), |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
706 void octave_rand:reset (const std::string&)): New functions. |
4669da47fe0d
Opps committed changeset for random generators in latest changeset that should have been in a seperate changeset. Add the ChangeLog messages for this
David Bateman <dbateman@free.fr>
parents:
10708
diff
changeset
|
707 |
10708
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
708 2010-06-16 Jaroslav Hajek <highegg@gmail.com> |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
709 |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
710 * CMatrix.cc (ComplexMatrix::lssolve (const ComplexMatrix&)): |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
711 Workaround LAPACK bug. |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
712 * fCMatrix.cc (FloatComplexMatrix::lssolve (const FloatComplexMatrix&)): |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
713 Ditto. |
2786b7ae3f80
workaround bug #30044 (likely in LAPACK)
Jaroslav Hajek <highegg@gmail.com>
parents:
10703
diff
changeset
|
714 |
10703
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
715 2010-06-14 Jaroslav Hajek <highegg@gmail.com> |
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
716 |
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
717 * Array.cc (Array::sort, Array::nth_element): Fix behavior when |
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
718 trailing singleton dim is specified. |
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
719 * Sparse.cc (Sparse::sort): Ditto. |
5eb420d92307
fix sort and nth_element when trailing singleton dim is specified
Jaroslav Hajek <highegg@gmail.com>
parents:
10702
diff
changeset
|
720 |
10702
c49911ab7ac7
implement missing copy_data case in idx_vector (bug #30099)
Jaroslav Hajek <highegg@gmail.com>
parents:
10682
diff
changeset
|
721 2010-06-14 Jaroslav Hajek <highegg@gmail.com> |
c49911ab7ac7
implement missing copy_data case in idx_vector (bug #30099)
Jaroslav Hajek <highegg@gmail.com>
parents:
10682
diff
changeset
|
722 |
c49911ab7ac7
implement missing copy_data case in idx_vector (bug #30099)
Jaroslav Hajek <highegg@gmail.com>
parents:
10682
diff
changeset
|
723 * idx-vector.cc (idx_vector::copy_data): Handle class_mask case. |
c49911ab7ac7
implement missing copy_data case in idx_vector (bug #30099)
Jaroslav Hajek <highegg@gmail.com>
parents:
10682
diff
changeset
|
724 (idx_vector::increment): Fix class_colon and add class_mask. |
c49911ab7ac7
implement missing copy_data case in idx_vector (bug #30099)
Jaroslav Hajek <highegg@gmail.com>
parents:
10682
diff
changeset
|
725 |
10682
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
726 2010-06-06 Michael Goffioul <michael.goffioul@gmail.com> |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
727 |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
728 * mx-op-defs.h (MNANCHK): Add matrix element type argument and use it |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
729 to specify template argument for mx_inline_any_nan. |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
730 (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP, |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
731 NDND_BOOL_OP): Specify new MNANCHK argument. |
7b4ffe27bbb4
Specify template arguments explicitely [MSVC].
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10681
diff
changeset
|
732 |
10681
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
733 2010-06-04 Jaroslav Hajek <highegg@gmail.com> |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
734 |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
735 * dim-vector.cc: New source. |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
736 * Makefile.am: Add it. |
10726
f062b569a301
eliminate trailing whitespace in ChangeLog files
John W. Eaton <jwe@octave.org>
parents:
10716
diff
changeset
|
737 * dim-vector.h (dim_vector::chop_all_singletons, |
f062b569a301
eliminate trailing whitespace in ChangeLog files
John W. Eaton <jwe@octave.org>
parents:
10716
diff
changeset
|
738 dim_vector::str, dim_vector::num_ones, dim_vector::safe_numel, |
10681
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
739 dim_vector::squeeze, dim_vector::concat, dim_vector::redim): |
10726
f062b569a301
eliminate trailing whitespace in ChangeLog files
John W. Eaton <jwe@octave.org>
parents:
10716
diff
changeset
|
740 Move bodies to dim_vector.cc. |
10681
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
741 (dim_vector::concat): Rewrite. |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
742 * Array.cc (Array::cat): Fix dim_vector concatenation. Don't use 0x0 |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
743 as neutral element, because it isn't with dim > 1. |
0ba9bd294421
make cat() (hopefully) more matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10674
diff
changeset
|
744 |
10674
e3064439d6b4
new Array method for internal use
Jaroslav Hajek <highegg@gmail.com>
parents:
10673
diff
changeset
|
745 2010-06-01 Jaroslav Hajek <highegg@gmail.com> |
e3064439d6b4
new Array method for internal use
Jaroslav Hajek <highegg@gmail.com>
parents:
10673
diff
changeset
|
746 |
e3064439d6b4
new Array method for internal use
Jaroslav Hajek <highegg@gmail.com>
parents:
10673
diff
changeset
|
747 * Array.cc (Array<T>::optimize_dimensions): New method. |
e3064439d6b4
new Array method for internal use
Jaroslav Hajek <highegg@gmail.com>
parents:
10673
diff
changeset
|
748 * Array.h: Declare it. |
e3064439d6b4
new Array method for internal use
Jaroslav Hajek <highegg@gmail.com>
parents:
10673
diff
changeset
|
749 |
10673
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
750 2010-06-01 Jaroslav Hajek <highegg@gmail.com> |
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
751 |
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
752 * Array.cc (Array<T>::maybe_delete_dims): Remove method (makes no |
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
753 longer sense). |
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
754 * Array.h: Update decls. |
b17a966099ed
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10645
diff
changeset
|
755 |
10645
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
756 2010-05-20 Jaroslav Hajek <highegg@gmail.com> |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
757 |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
758 * dim-vector.h (dim_vector::compute_index (const octave_idx_type *, |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
759 int)): New method overload. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
760 (dim_vector::compute_index, dim_vector::cum_compute_index, |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
761 dim_vector::increment_index): Add missing const qualifiers. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
762 |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
763 * Array-util.cc (compute_index (..., const dim_vector&)): Rewrite, |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
764 add new overloads. Move code from Array<T>::checkelem here. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
765 * Array-util.h: Update decls. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
766 * Array.h (Array<T>::compute_index): Forward to the above. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
767 (Array<T>::compute_index_unchecked): New method. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
768 (Array<T>::elem, Array<T>::xelem): Call it here. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
769 |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
770 * Array.cc (Array<T>::checkelem): Use compute_index where suitable. |
8645b7087859
abstract scalar index checking off Array<T> (prep for struct optimizations)
Jaroslav Hajek <highegg@gmail.com>
parents:
10643
diff
changeset
|
771 |
10643
9852264314d1
fix cumulative logical sum
Jaroslav Hajek <highegg@gmail.com>
parents:
10636
diff
changeset
|
772 2010-05-19 Jaroslav Hajek <highegg@gmail.com> |
9852264314d1
fix cumulative logical sum
Jaroslav Hajek <highegg@gmail.com>
parents:
10636
diff
changeset
|
773 |
9852264314d1
fix cumulative logical sum
Jaroslav Hajek <highegg@gmail.com>
parents:
10636
diff
changeset
|
774 * mx-inlines.cc (mx_inline_cumcount): Fix 2D version instantiation. |
9852264314d1
fix cumulative logical sum
Jaroslav Hajek <highegg@gmail.com>
parents:
10636
diff
changeset
|
775 |
10636
c170eb1c067f
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10630
diff
changeset
|
776 2010-05-14 Jaroslav Hajek <highegg@gmail.com> |
c170eb1c067f
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10630
diff
changeset
|
777 |
c170eb1c067f
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10630
diff
changeset
|
778 * Array.cc (Array<T>::linearize): Remove. |
c170eb1c067f
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10630
diff
changeset
|
779 * Array.h (Array<T>::linearize): Remove decl. |
c170eb1c067f
remove deprecated Array method
Jaroslav Hajek <highegg@gmail.com>
parents:
10630
diff
changeset
|
780 |
10630
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
781 2010-05-13 Jaroslav Hajek <highegg@gmail.com> |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
782 |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
783 * dMatrix.cc (Matrix::lssolve): Remove warnings about rank. |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
784 * fMatrix.cc (FloatMatrix::lssolve): Ditto. |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
785 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
786 * fCMatrix.cc (FloatComplexMatrix::lssolve): Ditto. |
832732c2eb80
use ID for singularity warning in matrix division
Jaroslav Hajek <highegg@gmail.com>
parents:
10620
diff
changeset
|
787 |
10620
6fb954475e21
fix off-by-1 error in idx_vector (bug #29851)
Jaroslav Hajek <highegg@gmail.com>
parents:
10610
diff
changeset
|
788 2010-05-11 Jaroslav Hajek <highegg@gmail.com> |
6fb954475e21
fix off-by-1 error in idx_vector (bug #29851)
Jaroslav Hajek <highegg@gmail.com>
parents:
10610
diff
changeset
|
789 |
6fb954475e21
fix off-by-1 error in idx_vector (bug #29851)
Jaroslav Hajek <highegg@gmail.com>
parents:
10610
diff
changeset
|
790 * idx-vector.cc (idx_vector::unmask): Fix off-by-1 bug. Add tests. |
6fb954475e21
fix off-by-1 error in idx_vector (bug #29851)
Jaroslav Hajek <highegg@gmail.com>
parents:
10610
diff
changeset
|
791 |
10610
f5f6bde82e19
fix null assignment bug #29785
Jaroslav Hajek <highegg@gmail.com>
parents:
10608
diff
changeset
|
792 2010-05-06 Jaroslav Hajek <highegg@gmail.com> |
f5f6bde82e19
fix null assignment bug #29785
Jaroslav Hajek <highegg@gmail.com>
parents:
10608
diff
changeset
|
793 |
f5f6bde82e19
fix null assignment bug #29785
Jaroslav Hajek <highegg@gmail.com>
parents:
10608
diff
changeset
|
794 * Array.cc (Array::delete_elements (const idx_vector&)): Only call |
f5f6bde82e19
fix null assignment bug #29785
Jaroslav Hajek <highegg@gmail.com>
parents:
10608
diff
changeset
|
795 resize1 when deleting the last element of a vector. |
f5f6bde82e19
fix null assignment bug #29785
Jaroslav Hajek <highegg@gmail.com>
parents:
10608
diff
changeset
|
796 |
10608 | 797 2010-05-06 Jaroslav Hajek <highegg@gmail.com> |
798 | |
799 * oct-norm.h: Fix include guard. | |
800 | |
10607
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
801 2010-05-06 Jaroslav Hajek <highegg@gmail.com> |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
802 |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
803 * dbleSCHUR.cc (SCHUR::init): Handle empty matrix case. |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
804 Use clear rather than resize to realloc matrix. |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
805 * floatSCHUR.cc (FloatSCHUR::init): Ditto. |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
806 * CmplxSCHUR.cc (ComplexSCHUR::init): Ditto. |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
807 * fCmplxSCHUR.cc (FloatComplexSCHUR::init): Ditto. |
f7501986e42d
make schur more Matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
10604
diff
changeset
|
808 |
10603
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
809 2010-05-04 John W. Eaton <jwe@octave.org> |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
810 |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
811 * CollocWt.cc (diff, jcobi, dfopr): New functions, based on |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
812 Fortran functions in libcruft/villad. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
813 (jcobi): Handle iteration failure at large N. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
814 (CollocWt::init): Call them instead of Fortran code. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
815 * CollocWt.h (CollocWt::initialized): Declare as bool, not int. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
816 Change all uses. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
817 Addresses bug #29473. |
d909c4c14b63
convert villad functions to C++
John W. Eaton <jwe@octave.org>
parents:
10601
diff
changeset
|
818 |
10601 | 819 2010-05-03 Jaroslav Hajek <highegg@gmail.com> |
820 | |
821 * dbleSVD.h (SVD::driver): New enum. | |
822 (SVD::SVD, SVD::init): Add driver option. | |
823 * floatSVD.h (FloatSVD::FloatSVD, FloatSVD::init): Add driver option. | |
10604 | 824 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::init): |
825 Add driver option. | |
826 * fCmplxSVD.h (FloatComplexSVD::FloatComplexSVD, | |
827 FloatComplexSVD::init): Add driver option. | |
10601 | 828 * dbleSVD.cc (SVD::init): Optionally use xGESDD driver. |
829 * floatSVD.cc (FloatSVD::init): Ditto. | |
830 * CmplxSVD.cc (ComplexSVD::init): Ditto. | |
831 * fCmplxSVD.cc (FloatComplexSVD::init): Ditto. | |
832 | |
10586 | 833 2010-04-28 John W. Eaton <jwe@octave.org> |
834 | |
835 * dim-vector.h (dim_vector (const octave_idx_type *, size_t)): Delete. | |
836 * Sparse.cc (Sparse<T>::assign): Cast 0 to octave_idx_type in | |
837 call to Sparse<T> constructor. | |
838 Addresses bug #29692. | |
839 | |
10577
87f879cf48fd
don't alter arg values in call to abs or sign for integer values
John W. Eaton <jwe@octave.org>
parents:
10543
diff
changeset
|
840 2010-04-27 John W. Eaton <jwe@octave.org> |
87f879cf48fd
don't alter arg values in call to abs or sign for integer values
John W. Eaton <jwe@octave.org>
parents:
10543
diff
changeset
|
841 |
87f879cf48fd
don't alter arg values in call to abs or sign for integer values
John W. Eaton <jwe@octave.org>
parents:
10543
diff
changeset
|
842 * intNDArray.cc (intNDArray<T>::abs, intNDArray<T>::signum): |
87f879cf48fd
don't alter arg values in call to abs or sign for integer values
John W. Eaton <jwe@octave.org>
parents:
10543
diff
changeset
|
843 Create new vector for return values. Fixes bug #29685. |
87f879cf48fd
don't alter arg values in call to abs or sign for integer values
John W. Eaton <jwe@octave.org>
parents:
10543
diff
changeset
|
844 |
10543
f41c6634d5af
fix bug in sparse vector assignment (bug #29646)
Jaroslav Hajek <highegg@gmail.com>
parents:
10537
diff
changeset
|
845 2010-04-23 Jaroslav Hajek <highegg@gmail.com> |
f41c6634d5af
fix bug in sparse vector assignment (bug #29646)
Jaroslav Hajek <highegg@gmail.com>
parents:
10537
diff
changeset
|
846 |
f41c6634d5af
fix bug in sparse vector assignment (bug #29646)
Jaroslav Hajek <highegg@gmail.com>
parents:
10537
diff
changeset
|
847 * Sparse.cc (Sparse<T>::assign): Fix typos. |
f41c6634d5af
fix bug in sparse vector assignment (bug #29646)
Jaroslav Hajek <highegg@gmail.com>
parents:
10537
diff
changeset
|
848 |
10537
fdf28dae0f37
remove old assign decls from Sparse.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10535
diff
changeset
|
849 2010-04-20 Jaroslav Hajek <highegg@gmail.com> |
fdf28dae0f37
remove old assign decls from Sparse.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10535
diff
changeset
|
850 |
fdf28dae0f37
remove old assign decls from Sparse.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10535
diff
changeset
|
851 * Sparse.h (::assign, ::assign1): Remove declarations. |
fdf28dae0f37
remove old assign decls from Sparse.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10535
diff
changeset
|
852 |
10535
3f973f6c841c
improve sparse concatenation operator
Jaroslav Hajek <highegg@gmail.com>
parents:
10533
diff
changeset
|
853 2010-04-19 Jaroslav Hajek <highegg@gmail.com> |
3f973f6c841c
improve sparse concatenation operator
Jaroslav Hajek <highegg@gmail.com>
parents:
10533
diff
changeset
|
854 |
3f973f6c841c
improve sparse concatenation operator
Jaroslav Hajek <highegg@gmail.com>
parents:
10533
diff
changeset
|
855 * Array.cc (Array<T>::cat): Fast return for single array case. |
3f973f6c841c
improve sparse concatenation operator
Jaroslav Hajek <highegg@gmail.com>
parents:
10533
diff
changeset
|
856 * Sparse.cc (Sparse<T>::cat): Ditto. |
3f973f6c841c
improve sparse concatenation operator
Jaroslav Hajek <highegg@gmail.com>
parents:
10533
diff
changeset
|
857 |
10533
f094ac9bc93e
reuse Array<T>::cat and Sparse<T>::cat in cat/horzcat/vertcat
Jaroslav Hajek <highegg@gmail.com>
parents:
10531
diff
changeset
|
858 2010-04-19 Jaroslav Hajek <highegg@gmail.com> |
f094ac9bc93e
reuse Array<T>::cat and Sparse<T>::cat in cat/horzcat/vertcat
Jaroslav Hajek <highegg@gmail.com>
parents:
10531
diff
changeset
|
859 |
f094ac9bc93e
reuse Array<T>::cat and Sparse<T>::cat in cat/horzcat/vertcat
Jaroslav Hajek <highegg@gmail.com>
parents:
10531
diff
changeset
|
860 * Array.cc (Array<T>::cat): Miscellaneous fixes. |
f094ac9bc93e
reuse Array<T>::cat and Sparse<T>::cat in cat/horzcat/vertcat
Jaroslav Hajek <highegg@gmail.com>
parents:
10531
diff
changeset
|
861 * Sparse.cc (Sparse<T>::cat): Ditto. |
f094ac9bc93e
reuse Array<T>::cat and Sparse<T>::cat in cat/horzcat/vertcat
Jaroslav Hajek <highegg@gmail.com>
parents:
10531
diff
changeset
|
862 |
10531
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
863 2010-04-18 Jaroslav Hajek <highegg@gmail.com> |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
864 |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
865 * Array.cc (Array<T>::cat): New method. |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
866 * Array.h: Declare it. |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
867 * Sparse.cc (Sparse<T>::cat): New method. |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
868 * Sparse.h: Declare it. |
2dd8ea8bfd71
basic cat functionality in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10527
diff
changeset
|
869 |
10527
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
870 2010-04-16 David Bateman <dbateman@free.fr> |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
871 |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
872 * Sparse.cc (template <class T> Sparse<T>::Sparse (const Array<T>&, |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
873 const idx_vector&, const idx_vector&, octave_idx_type, |
10796
eaf7c8ab3b0c
Replace 8 spaces with tabs in ChangeLogs
Rik <octave@nomad.inbox5.com>
parents:
10785
diff
changeset
|
874 octave_idx_type, bool, octave_idx_type)): Add argument defining the |
10527
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
875 minimum storage to allocate for the sparse matrix. |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
876 * Sparse.h (template <class T> Sparse (const Array<T>&, |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
877 const idx_vector&, const idx_vector&, octave_idx_type, |
10796
eaf7c8ab3b0c
Replace 8 spaces with tabs in ChangeLogs
Rik <octave@nomad.inbox5.com>
parents:
10785
diff
changeset
|
878 octave_idx_type, bool, octave_idx_type)): ditto. |
10527
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
879 * MSparse.h : ditto |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
880 * CSparse.h : ditto |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
881 * dSparse.h : ditto |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
882 * boolSparse.h : ditto |
b4d2080b6df7
Replace nzmax by nnz as needed
David Bateman <dbateman@free.fr>
parents:
10520
diff
changeset
|
883 |
10520
72c90e7132a9
fix failing sparse assignment tests
Jaroslav Hajek <highegg@gmail.com>
parents:
10516
diff
changeset
|
884 2010-04-14 Jaroslav Hajek <highegg@gmail.com> |
72c90e7132a9
fix failing sparse assignment tests
Jaroslav Hajek <highegg@gmail.com>
parents:
10516
diff
changeset
|
885 |
72c90e7132a9
fix failing sparse assignment tests
Jaroslav Hajek <highegg@gmail.com>
parents:
10516
diff
changeset
|
886 * Sparse.cc: Update failing tests. |
72c90e7132a9
fix failing sparse assignment tests
Jaroslav Hajek <highegg@gmail.com>
parents:
10516
diff
changeset
|
887 |
10516
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
888 2010-04-13 Jaroslav Hajek <highegg@gmail.com> |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
889 |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
890 * Sparse.cc (Sparse<T>::index): If S is a sparse column vector, |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
891 forward S(I,1) and S(I,:) to 1D indexing. Handle permutation indexing |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
892 in the 1D case. |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
893 (Sparse<T>::assign): If S is a sparse column vector, |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
894 forward S(I,1) = X and S(I,:) =X to 1D indexed assignment. |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
895 * idx-vector.cc (idx_vector::inverse_permutation): Add missing break. |
f0266ee4aabe
optimize some special indexing & assignment cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10512
diff
changeset
|
896 |
10512
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
897 2010-04-13 Jaroslav Hajek <highegg@gmail.com> |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
898 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
899 * Array-util.cc (gripe_invalid_assignment_size, |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
900 gripe_assignment_dimension_mismatch): Move funcs here from Array.cc |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
901 * Array-util.h: Declare them. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
902 * Array.cc: Remove them. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
903 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
904 * Sparse.cc (Sparse<T>::assign): New overloaded method. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
905 (Sparse<T>::operator =): Update. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
906 (Sparse<T>::resize1): Rewrite to match sparse assignment specifics. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
907 (Sparse<T>::set_index, Sparse<T>::clear_index, Sparse<T>::index_count, |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
908 Sparse<T>::value): Remove methods. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
909 (::assign1, ::assign): Remove funcs. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
910 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
911 (INSTANTIATE_SPARSE): Move here from Sparse.h. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
912 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
913 * Sparse.h (Sparse<T>::idx, Sparse<T>::idx_count): Remove member |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
914 fields. Remove initializations from all ctors. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
915 (Sparse<T>::get_idx): Remove. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
916 (Sparse<T>::assign): Add decls. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
917 (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE_AND_ASSIGN): Remove. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
918 (INSTANTIATE_SPARSE): Move to Sparse.cc |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
919 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
920 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Only call INSTANTIATE_SPARSE. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
921 |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
922 * idx-vector.cc (idx_vector::inverse_permutation): New method. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
923 * idx-vector.h: Declare it. |
aac9f4265048
rewrite sparse indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
10509
diff
changeset
|
924 |
10509
ddbd812d09aa
properly compress sparse matrices after assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10506
diff
changeset
|
925 2010-04-12 Jaroslav Hajek <highegg@gmail.com> |
ddbd812d09aa
properly compress sparse matrices after assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10506
diff
changeset
|
926 |
ddbd812d09aa
properly compress sparse matrices after assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10506
diff
changeset
|
927 * Sparse.cc (Sparse<T>::Sparse (const Array<T>&, const idx_vector&, |
ddbd812d09aa
properly compress sparse matrices after assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10506
diff
changeset
|
928 const idx_vector&, ...)): Call maybe_compress after matrix is created. |
ddbd812d09aa
properly compress sparse matrices after assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10506
diff
changeset
|
929 |
10506
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
930 2010-04-09 Jaroslav Hajek <highegg@gmail.com> |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
931 |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
932 * Sparse.cc (Sparse<T>::diag): Change nzmax to nnz where appropriate. |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
933 * MatrixType.cc (MatrixType::MatrixType): Ditto. |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
934 * SparseQR.cc: Ditto. |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
935 * SparseCmplxQR.cc: Ditto. |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
936 * boolSparse.cc: Ditto. |
bdf5d85cfc5e
replace nzmax by nnz where appropriate in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10499
diff
changeset
|
937 |
10499
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
938 2010-04-08 Jaroslav Hajek <highegg@gmail.com> |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
939 |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
940 * Sparse.cc (Sparse<T>::resize (octave_idx_type, octave_idx_type)): |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
941 Rewrite. Be smarter esp. when resizing to more columns. |
fabed15083a4
optimize sparse resize
Jaroslav Hajek <highegg@gmail.com>
parents:
10498
diff
changeset
|
942 |
10498
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
943 2010-04-08 Jaroslav Hajek <highegg@gmail.com> |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
944 |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
945 * dim-vector.h (dim_vector::concat): Ignore zero_by_zero, but not |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
946 all_zero arrays in concatenation (like Matlab). |
8615b55b5caf
fix & improve cat (bug #29465)
Jaroslav Hajek <highegg@gmail.com>
parents:
10494
diff
changeset
|
947 |
10494
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
948 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
949 |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
950 * Sparse.cc (Sparse<T>::index (const idx_vector&, bool)): Use shallow |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
951 copy when column is indexed by colon. |
e52f41fd82c7
optimize (:) indexing of sparse column vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10493
diff
changeset
|
952 |
10493
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
953 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
954 |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
955 * Sparse.cc (lblookup): Move in front of Sparse<T>::delete_elements. |
2f8bacc2a57d
fix order of func defs in Sparse.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10492
diff
changeset
|
956 |
10492
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
957 2010-04-07 Jaroslav Hajek <highegg@gmail.com> |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
958 |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
959 * str-vec.h (string_vector::string_vector (const Array<std::string>)): |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
960 New constructor. |
a6b64a7a3769
make feval work with overloaded handles
Jaroslav Hajek <highegg@gmail.com>
parents:
10491
diff
changeset
|
961 |
10491
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
962 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
963 |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
964 * idx-vector.cc (idx_vector::complement): Rewrite. |
077fef5da460
optimize null assignment with bool masks
Jaroslav Hajek <highegg@gmail.com>
parents:
10490
diff
changeset
|
965 |
10490
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
966 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
967 |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
968 * Sparse.cc (Sparse<T>::maybe_delete_elements): Rename to |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
969 delete_elements. Use const reference arguments. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
970 (Sparse<T>::delete_elements (const idx_vector&, const idx_vector&)): |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
971 Rewrite. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
972 (Sparse<T>::maybe_delete_elements (int dim, const idx_vector&)): New |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
973 overload. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
974 (Sparse<T>::maybe_delete_elements (Array<idx_vector>&)): Remove |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
975 overload. |
fdccd69d26bd
rewrite sparse null assignment (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10489
diff
changeset
|
976 |
10489
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
977 2010-04-06 Jaroslav Hajek <highegg@gmail.com> |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
978 |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
979 * idx-vector.cc, Array-util.h, Array-util.cc: Reverse effects of |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
980 4e64fbbd5c58. |
d47802f0e557
Back out changeset 4e64fbbd5c58
Jaroslav Hajek <highegg@gmail.com>
parents:
10487
diff
changeset
|
981 |
10487 | 982 2010-04-02 John W. Eaton <jwe@octave.org> |
983 | |
984 * Array-util.cc, idx-vector.cc, idx-vector.h: Style fixes. | |
985 | |
10486
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
986 2010-04-02 John W. Eaton <jwe@octave.org> |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
987 |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
988 * idx-vector.cc (idx_vector::idx_vector (const Range&)): |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
989 Move here from idx-vector.h. Allow non-integer values in ranges, |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
990 but warn by default (for Matlab compatibility). |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
991 * Array-util.h, Array-util.cc (gripe_invalid_index): New arg, ERR. |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
992 If ERR is false, generate warning instead of error. |
4e64fbbd5c58
allow non-integer values in ranges used for array indexing
John W. Eaton <jwe@octave.org>
parents:
10484
diff
changeset
|
993 |
10484
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
994 2010-04-02 Jaroslav Hajek <highegg@gmail.com> |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
995 |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
996 * Sparse.cc (Sparse<T>::maybe_delete_elements): Rewrite. Optimize for |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
997 sparse column vectors. |
6a9571b57745
rewrite sparse null assignment (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10481
diff
changeset
|
998 |
10481
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
999 2010-04-01 Jaroslav Hajek <highegg@gmail.com> |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1000 |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1001 * mx-inlines.cc: Declare all loops as throw (). Ditto for |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1002 corresponding applier arguments. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1003 (do_mx_check): New applier. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1004 (logical_value): Do not throw exceptions. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1005 * mx-op-defs.h (SNANCHK, MNANCHK): New helper macros. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1006 (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP, |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1007 NDND_BOOL_OP): Use them here. |
e8811e5dd699
avoid exception throwing in mx-inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
10480
diff
changeset
|
1008 |
10480
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1009 2010-03-31 Jaroslav Hajek <highegg@gmail.com> |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1010 |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1011 * Sparse.cc (Sparse<T>::Sparse (const Array<T>&, |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1012 const Array<octave_idx_type>&, ...), Sparse<T>::Sparse (const Array<T>&, |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1013 const Array<double>&, ...)): |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1014 Remove old constructors. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1015 * Sparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1016 * MSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1017 * dSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1018 * CSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1019 * boolSparse.h: Ditto. |
19e1e4470e01
remove old sparse assembly ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10479
diff
changeset
|
1020 |
10479
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1021 2010-03-31 Jaroslav Hajek <highegg@gmail.com> |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1022 |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1023 * idx-vector.cc (idx_vector::idx_range_rep::as_array): Fix typo. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1024 (idx_vector::raw): Use unchecked constructor. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1025 * Sparse.cc (Sparse<T>::Sparse (const Array<T>&, const idx_vector&, |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1026 const idx_vector&, ...)): New ctor. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1027 * Sparse.h: Declare it. |
ded9beac7582
optimize sparse matrix assembly
Jaroslav Hajek <highegg@gmail.com>
parents:
10478
diff
changeset
|
1028 |
10477
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
1029 2010-03-30 John W. Eaton <jwe@octave.org> |
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
1030 |
10604 | 1031 * str-vec.cc (string_vector::string_vector (const char * const *)): |
10477
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
1032 Create empty string_vector object if arg is NULL. |
10478 | 1033 Fixes bug #29386. |
10477
a9649f994b07
avoid segfault in string_vector constructor
John W. Eaton <jwe@octave.org>
parents:
10475
diff
changeset
|
1034 |
10475
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
1035 2010-03-29 Jaroslav Hajek <highegg@gmail.com> |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
1036 |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
1037 * idx-vector.cc (idx_vector::raw): New method. |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
1038 * idx-vector.h: Declare it. |
739109ef88ee
helper idx_vector methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10471
diff
changeset
|
1039 |
10471
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
1040 2010-03-27 David Bateman <dbateman@free.fr> |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
1041 |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
1042 * oct-openmp.h: New file. |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
1043 * Makefile.am (INCS): Add it here. |
bcabc1c4f20c
Add detection of OpenMP support to configure. Disabled by default
David Bateman <dbateman@free.fr>
parents:
10468
diff
changeset
|
1044 |
10468
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
1045 2010-03-26 Jaroslav Hajek <highegg@gmail.com> |
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
1046 |
10604 | 1047 * Sparse.cc (Sparse<T>::index (const idx_vector&, const idx_vector&, |
1048 bool)): Specialize for contiguous row range, row permutation, | |
1049 and implement general case through double index-transpose. | |
10468
197b096001b7
improve sparse 2d indexing (part 3)
Jaroslav Hajek <highegg@gmail.com>
parents:
10466
diff
changeset
|
1050 |
10466
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
1051 2010-03-25 John W. Eaton <jwe@octave.org> |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
1052 |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
1053 * eigs-base.cc (EigsComplexNonSymmetricFunc): Avoid warning |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
1054 about deprecated Array constructor. |
c0c24219fccf
eigs-base.cc: avoid warning about deprecated Array constructor
John W. Eaton <jwe@octave.org>
parents:
10463
diff
changeset
|
1055 |
10463
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1056 2010-03-25 John W. Eaton <jwe@octave.org> |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1057 |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1058 * cmd-edit.cc, file-ops.cc, lo-math.h, lo-utils.cc, oct-env.cc, |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1059 dir-ops.cc, file-stat.cc, cmd-hist.cc, oct-time.cc, oct-time.h, |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1060 oct-uname.cc: Revert changes from 2010-03-24 and 2010-03-25. |
bbe99b2a5ba7
undo recent gnulib-related changes
John W. Eaton <jwe@octave.org>
parents:
10459
diff
changeset
|
1061 |
10459
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1062 2010-03-25 Jaroslav Hajek <highegg@gmail.com> |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1063 |
10604 | 1064 * lo-mappers.cc (fix (double)): Forward to gnulib::trunc. |
10459
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1065 (fix (float)): Forward to gnulib::truncf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1066 (xround (double)): Forward to gnulib::round. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1067 (xround (float)): Forward to gnulib::roundf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1068 (xtrunc (double)): Forward to gnulib::trunc. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1069 (xtrunc (float)): Forward to gnulib::truncf. |
20ce1bea653d
use round and trunc from gnulib where possible
Jaroslav Hajek <highegg@gmail.com>
parents:
10458
diff
changeset
|
1070 |
10458
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
1071 2010-03-25 David Grundberg <davidg@cs.umu.se> |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
1072 |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
1073 * oct-time.h (octave_time): Revert ::modf to std::modf again now |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
1074 that cmath is included again. |
9684b3c3b417
Revert modf usage now that cmath is back.
David Grundberg <davidg@cs.umu.se>
parents:
10457
diff
changeset
|
1075 |
10457
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
1076 2010-03-25 Jaroslav Hajek <highegg@gmail.com> |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
1077 |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
1078 * lo-math.h: Include both "math.h" and "cmath". |
56e3a4c765a6
include both math.h and cmath in lo-math.h
Jaroslav Hajek <highegg@gmail.com>
parents:
10447
diff
changeset
|
1079 |
10447
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1080 2010-03-24 David Grundberg <davidg@cs.umu.se> |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1081 |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1082 * cmd-edit.cc: Include gnulib stdlib.h/string.h instead of C++ |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1083 headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1084 * file-ops.cc: Include gnulib stdlib.h/stdio.h/string.h instead of |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1085 C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1086 * lo-math.h: Include gnulib math.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1087 * lo-utils.cc: Include gnulib stdlib.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1088 * oct-env.cc, dir-ops.cc, file-stat.cc, cmd-hist.cc: Include |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1089 gnulib string.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1090 * oct-time.cc: Include gnulib time.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1091 * oct-time.h (octave_time): Use default namespace ::modf instead |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1092 of std::modf. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1093 * oct-uname.cc: Include gnulib string.h instead of C++ headers. |
12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
David Grundberg <davidg@cs.umu.se>
parents:
10442
diff
changeset
|
1094 |
10442
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1095 2010-03-24 Jaroslav Hajek <highegg@gmail.com> |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1096 |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1097 * Sparse.cc (lblookup): New helper func. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1098 (Sparse<T>::index (const idx_vector&, bool)): Use it here for lookups. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1099 (Sparse<T>::index (const idx_vector&, const idx_vector&, bool)): |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1100 Specialize for scalar row index. |
3011d1765a6e
improve sparse 2d indexing (part 2)
Jaroslav Hajek <highegg@gmail.com>
parents:
10438
diff
changeset
|
1101 |
10438
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
1102 2010-03-23 John W. Eaton <jwe@octave.org> |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
1103 |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
1104 * config-ops.sh: Work properly for "all" cases. |
44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
John W. Eaton <jwe@octave.org>
parents:
10436
diff
changeset
|
1105 |
10436
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1106 2010-03-23 Jaroslav Hajek <highegg@gmail.com> |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1107 |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1108 * oct-inttypes.h (octave_int_arith_base::rem, octave_int_base::mod): |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1109 New methods. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1110 (rem, mod): New template functions. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1111 * lo-mappers.cc (rem, mod): New overloaded functions. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1112 * lo-mappers.h: Declare them. |
00219bdd2d17
implement built-in rem and mod
Jaroslav Hajek <highegg@gmail.com>
parents:
10435
diff
changeset
|
1113 |
10435
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
1114 2010-03-23 Jaroslav Hajek <highegg@gmail.com> |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
1115 |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
1116 * oct-binmap.h: New source. |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
1117 * Makefile.am: Include it here. |
6a271334750c
implement general binary mapping facility
Jaroslav Hajek <highegg@gmail.com>
parents:
10434
diff
changeset
|
1118 |
10434
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1119 2010-03-22 John W. Eaton <jwe@octave.org> |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1120 |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1121 * config-ops.sh: Accept additional arguments. |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1122 * Makefile.am ($(srcdir)/vx-op-inc.mk, $(srcdir)/mx-op-inc.mk |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1123 $(srcdir)/smx-op-inc.mk, $(srcdir)/vx-op-src.mk, $(srcdir)/mx-op-src.mk |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1124 $(srcdir)/smx-op-src.mk): Pass additional arguments to config-ops.sh. |
f387c5b3a369
avoid problems if liboctave/config-ops.sh is run in parallel
John W. Eaton <jwe@octave.org>
parents:
10432
diff
changeset
|
1125 |
10432
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1126 2010-03-22 Jaroslav Hajek <highegg@gmail.com> |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1127 |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1128 * Sparse.cc (Sparse<T>::index (const idx_vector&, const idx_vector&, |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1129 bool)): Handle resize_ok in advance. Optimize colon as the first index. |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1130 (Sparse<T>::index (const idx_vector&, bool)): Small fixes. |
10207338603a
improve sparse 2D indexing (part 1)
Jaroslav Hajek <highegg@gmail.com>
parents:
10431
diff
changeset
|
1131 |
10431
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
1132 2010-03-22 Jaroslav Hajek <highegg@gmail.com> |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
1133 |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
1134 * dSparse.cc (SparseMatrix::matrix_value): Simplify. |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
1135 * CSparse.cc (SparseComplexMatrix::matrix_value): Simplify. |
5dd7a7bf4950
simplify sparse->full conversions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10425
diff
changeset
|
1136 |
10425
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1137 2010-03-19 Jaroslav Hajek <highegg@gmail.com> |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1138 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1139 * Array-util.cc (gripe_invalid_resize): Move here from Array.cc. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1140 * Array-util.h: Declare it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1141 * Array.cc: Use it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1142 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1143 * idx-vector.cc (idx_vector::idx_mask_rep::unconvert): Fix non-owned |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1144 case. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1145 (idx_vector::idx_mask_rep::as_array): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1146 * idx-vector.h: Declare it. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1147 |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1148 * Sparse.cc (Sparse<T>::index (const idx_vector&, bool)): Rewrite. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1149 (Sparse<T>::array_value): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1150 (Sparse<T>::resize1): New method. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1151 (Sparse<T>::resize): Move resize_no_fill bodies in here. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1152 (Sparse<T>::resize_no_fill): Remove. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1153 * Sparse.h: Update decls. |
0677c5d80b77
rewrite 1D sparse indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
10421
diff
changeset
|
1154 |
10421
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1155 2010-03-18 Jaroslav Hajek <highegg@gmail.com> |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1156 |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1157 * Sparse.h (Sparse<T>::index): Use const references. Use bool for |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1158 resize_ok. Remove Array<idx_vector> overload. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1159 * MSparse.h (MSparse<T>::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1160 * dSparse.h, dSparse.cc (SparseMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1161 * CSparse.h, CSparse.cc (SparseComplexMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1162 * boolSparse.h, boolSparse.cc (SparseBoolMatrix::index): Ditto. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1163 * Sparse.cc (Sparse<T>::index): Ditto. Redim index to 2 dimensions. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1164 Don't use non-const methods. Use gripe_index_out_of_range. |
99e9bae2d81e
improve sparse indexing interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10420
diff
changeset
|
1165 |
10420
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
1166 2010-03-17 John W. Eaton <jwe@octave.org> |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
1167 |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
1168 * dim-vector.h (dim_vector): Also use DIM_VECTOR macro for 2 and |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
1169 3 dimensions. |
3373fdc0b14a
use macro for 2 and 3 arg dim_vector constructors
John W. Eaton <jwe@octave.org>
parents:
10419
diff
changeset
|
1170 |
10419
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1171 2010-03-17 Jaroslav Hajek <highegg@gmail.com> |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1172 |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1173 * lo-macros.h: New source. |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1174 * dim-vector.h: Use the macro magic to define constructors |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1175 generically. |
afe44ee90cbd
implement generic macro magic for repeated decls
Jaroslav Hajek <highegg@gmail.com>
parents:
10418
diff
changeset
|
1176 |
10418
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
1177 2010-03-17 Jaroslav Hajek <highegg@gmail.com> |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
1178 |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
1179 * dim-vector.h: Provide constructors up to order 7. |
6c19d6fcd7e5
up to 7th-order dim_vector constructors
Jaroslav Hajek <highegg@gmail.com>
parents:
10414
diff
changeset
|
1180 |
10414
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1181 2010-03-16 Jaroslav Hajek <highegg@gmail.com> |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1182 |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1183 * lo-specfun.cc: Substitute cbrt and cbrtf if needed. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1184 * lo-specfun.h: Declare cbrt and cbrtf if needed. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1185 * configure.ac: Check for cbrt and cbrtf. |
2a8b1db1e2ca
implement built-in cbrt
Jaroslav Hajek <highegg@gmail.com>
parents:
10411
diff
changeset
|
1186 |
10411 | 1187 2010-03-15 John W. Eaton <jwe@octave.org> |
1188 | |
1189 * oct-glob.cc (octave_glob): Tag calls to glob and globfree with | |
1190 gnulib::. | |
1191 | |
1192 * kpse.cc (DEBUG_START, DEBUGF, FATAL_PERROR, FATAL, KPSE_DEBUG, | |
1193 log_search, find_first_of): Tag calls to | |
1194 fputs with gnulib::. | |
1195 (DEBUGF1, DEBUGF2, DEBUGF3, DEBUGF4, log_search, find_first_of, | |
1196 kpse_element_dirs): Tag calls to fprintf with gnulib::. | |
1197 (hash_lookup, search, find_first_of, kpse_element_dirs): | |
1198 Tag calls to putc with gnulib::. | |
1199 (do_subdir): Tag call to opendir with gnulib::. | |
1200 (xclosedir): Tag call to closedir with gnulib::. Assume closedir | |
1201 returns int value. | |
1202 | |
1203 * cmd-hist.cc (gnu_history::do_append): Tag calls to open and | |
1204 close with gnulib::. | |
1205 (command_history::error): Tag call to strerror with gnulib::. | |
1206 | |
1207 * cmd-edit.cc (gnu_readline::command_generator, | |
1208 gnu_readline::command_quoter, gnu_readline::command_dequoter): | |
1209 Tag call to malloc with gnulib::. | |
1210 (default_command_editor::do_readline): Tag call to fputs with gnulib::. | |
1211 (command_editor::error): Tag call to strerror with gnulib::. | |
1212 | |
1213 * sparse-util.cc (SparseCholPrint): Tag call to vfprintf with gnulib::. | |
1214 | |
1215 * oct-uname.cc (octave_uname::init): Tag call to strerror with gnulib::. | |
1216 | |
1217 * oct-time.cc (octave_time::stamp): Tag call to gettimeofday | |
1218 with gnulib::. | |
1219 (octave_strptime::init): Tag call to strptime with gnulib::. | |
1220 | |
1221 * oct-syscalls.cc (octave_syscalls::dup2, | |
1222 octave_syscalls::execvp, octave_syscalls::fork, | |
1223 octave_syscalls::vfork, octave_syscalls::getpgrp, | |
1224 octave_syscalls::pipe, octave_syscalls::waitpid, | |
1225 octave_syscalls::kill, octave_fcntl): | |
1226 Tag call to strerror with gnulib::. | |
1227 (octave_syscalls::dup2): Tag call to dup2 with gnulib::. | |
1228 (octave_syscalls::popen2): Tag calls to close with gnulib::. | |
1229 (octave_fcntl): Tag call to fcntl with gnulib::. | |
1230 | |
1231 * oct-env.cc (octave_env::error): Tag call to strerror with gnulib::. | |
1232 | |
1233 * lo-utils.cc (octave_putenv): Tag call to malloc with gnulib::. | |
1234 (octave_fgets): Tag calls to malloc and realloc with gnulib::. | |
1235 | |
1236 * lo-sysdep.cc (octave_getcwd): Tag call to getcwd with gnulib::. | |
1237 | |
1238 * lo-mappers.cc (xround): Tag call to round with gnulib::. | |
1239 | |
1240 * file-stat.cc (file_stat::update_internal): Tag calls to lstat | |
1241 and strerror with gnulib::. | |
1242 (file_fstat::update_internal): Tag calls to fstat and strerror | |
1243 with gnulib::. | |
1244 | |
1245 * file-ops.cc (octave_mkdir): Tag call to mkdir with gnulib::. | |
1246 (octave_mkfifo): Tag call to mkfifo with gnulib::. | |
1247 (octave_link): Tag call to link with gnulib::. | |
1248 (octave_symlink): Tag call to symlink with gnulib::. | |
1249 (octave_readlink): Tag call to readlink with gnulib::. | |
1250 (octave_rename): Tag call to rename with gnulib::. | |
1251 (octave_rmdir): Tag call to rmdir with gnulib::. | |
1252 (octave_unlink): Tag call to unlink with gnulib::. | |
1253 (octave_canonicalize_file_name): Tag call to | |
1254 canonicalize_file_name with gnulib::. | |
1255 (octave_mkdir, octave_mkfifo, octave_link, octave_symlink, | |
1256 octave_readlink, octave_rename, octave_rmdir, octave_unlink, | |
1257 octave_tempnam, octave_canonicalize_file_name): Tag calls to | |
1258 strerror with gnulib::. | |
1259 | |
1260 * dir-ops.cc (dir_entry::close): Tag closedir call with gnulib::. | |
1261 (dir_entry::open): Tag opendir and strerror calls with gnulib::. | |
1262 | |
10405
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1263 2010-03-09 Jaroslav Hajek <highegg@gmail.com> |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1264 |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1265 * oct-inttypes.h (octave_int_base::ftrunc, octave_int_base::fnon_int, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1266 octave_int_base::fnan, octave_int_base::get_trunc_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1267 octave_int_base::get_nan_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1268 octave_int_base::get_non_int_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1269 octave_int_base::get_math_trunc_flag, |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1270 octave_int_base::clear_conv_flags): Remove. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1271 Remove occurences of ftrunc, fnon_int and fnan eveywhere. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1272 * oct-inttypes.cc: Ditto last sentence. Remove warning tests. |
cc69a17ec801
remove integer math warnings
Jaroslav Hajek <highegg@gmail.com>
parents:
10403
diff
changeset
|
1273 |
10403
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
1274 2010-03-07 Soren Hauberg <hauberg@gmail.com> |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
1275 |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
1276 * dim-vector.h: New constructor accepting a C array of dimensions. |
69ecfbffcf4f
liboctave/dim-vector.h: New constructor accepting a C array of dimensions.
Soren Hauberg <hauberg@gmail.com>
parents:
10396
diff
changeset
|
1277 |
10396
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
1278 2010-03-05 Jaroslav Hajek <highegg@gmail.com> |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
1279 |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
1280 * MArray.cc (MArray<T>::idx_add_nd): New method. |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
1281 * MArray.h: Declare it. |
a0b51ac0f88a
optimize accumdim with summation
Jaroslav Hajek <highegg@gmail.com>
parents:
10391
diff
changeset
|
1282 |
10391
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
1283 2010-03-04 Jaroslav Hajek <highegg@gmail.com> |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
1284 |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
1285 * lo-specfun.cc (erfcx, erfcx_impl): New functions. |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
1286 * lo-specfun.h: Declare erfcx. |
59e34bcdff13
implement built-in erfcx
Jaroslav Hajek <highegg@gmail.com>
parents:
10389
diff
changeset
|
1287 |
10389
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
1288 2010-03-03 John W. Eaton <jwe@octave.org> |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
1289 |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
1290 * oct-convn.cc (convolve): Cast int constant to octave_idx_type in |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
1291 call to std::max. |
8a551f02f10d
oct-convn.cc (convolve): cast int constant to octave_idx_type in call to std::max
John W. Eaton <jwe@octave.org>
parents:
10388
diff
changeset
|
1292 |
10388
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1293 2010-03-03 Jaroslav Hajek <highegg@gmail.com> |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1294 |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1295 * oct-convn.cc (convolve_2d_axpy_kernel, convolve_2d_axpy): Remove. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1296 (convolve_2d): Forward to Fortran implementations, add inner flag. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1297 (convolve_nd): Handle inner-convolution case. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1298 (convolve): Ditto. |
5af0b4bb384d
rewrite convn optimizations based on xAXPY
Jaroslav Hajek <highegg@gmail.com>
parents:
10384
diff
changeset
|
1299 |
10384
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
1300 2010-03-02 Jaroslav Hajek <highegg@gmail.com> |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
1301 |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
1302 * oct-convn.h, oct-convn.cc: New sources. |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
1303 * Makefile.am: Include them. |
978f5c94b11f
initial implementation of conv2/convn in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10383
diff
changeset
|
1304 |
10383
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1305 2010-03-01 David Bateman <dbateman@free.fr> |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1306 |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1307 * Sparse.cc (Sparse<T>::maybe_delete_elements (idxx_vector&)): |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1308 Special case the deletion of elements in sparse vectors. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1309 (Sparse<T>::index (idx_vector&, int) const): Special case indexing |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1310 of sparse matrices with ranges with a step of 1. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1311 * Sparse.h: Include oct-mem.h for the copy_or_memcpy declaration. |
796258b94b22
Changelog for previous change
David Bateman <dbateman@free.fr>
parents:
10376
diff
changeset
|
1312 |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1313 2010-02-28 John W. Eaton <jwe@octave.org> |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1314 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1315 * Makefile.am ($(srcdir)/vx-op-inc.mk, $(srcdir)/mx-op-inc.mk, |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1316 $(srcdir)/smx-op-inc.mk, $(srcdir)/vx-op-src.mk, |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1317 $(srcdir)/mx-op-src.mk, $(srcdir)/smx-op-src.mk): New targets. |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1318 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1319 * config-ops.sh: Accept top_srcdir argument. Work from build |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1320 directory too, not just source tree. |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10374
diff
changeset
|
1321 |
10374
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1322 2010-02-28 Michael Goffioul <michael.goffioul@gmail.com> |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1323 |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1324 * Array-C.cc (DiagArray2<Complex>::Proxy): Remove explicit |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1325 instantiation under MSVC. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1326 Array-d.cc (DiagArray2<double>::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1327 Array-f.cc (DiagArray2<float>::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1328 Array-fC.cc (DiagArray2<FloatComplex::Proxy): Ditto. |
950c23c26f87
Remove obsolete DiagArray2::Proxy explicit instantiations.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10370
diff
changeset
|
1329 |
10370
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1330 2010-02-28 Jaroslav Hajek <highegg@gmail.com> |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1331 |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1332 * Array-util.cc (gripe_index_out_of_range): Throw errors with id. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1333 (gripe_nonconformant): Likewise. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1334 (error_id_index_out_of_bounds, error_id_invalid_index, |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1335 error_id_nonconformant_args): New variables. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1336 (gripe_invalid_index): New function. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1337 * Array-util.h: Declare them. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1338 * Array.cc (Array<T>::checkelem): Throw invalid-index when negative |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1339 indices are encountered. |
9c4daf174387
implement IDs for common liboctave exceptions
Jaroslav Hajek <highegg@gmail.com>
parents:
10367
diff
changeset
|
1340 |
10367
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
1341 2010-02-27 John W. Eaton <jwe@octave.org> |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
1342 |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
1343 * Sparse.cc (Sparse<T>::diag): Handle case of diag (szv) when szv |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
1344 is a sparse vector with nnz = 0. |
173e10268080
avoid indexing nonexistent elements in sparse diag
John W. Eaton <jwe@octave.org>
parents:
10366
diff
changeset
|
1345 |
10366
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1346 2010-02-27 Jaroslav Hajek <highegg@gmail.com> |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1347 |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1348 * Array-util.cc (gripe_index_out_of_range): New function. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1349 * Array.cc (Array<T>::range_error): Remove. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1350 (Array<T>::checkelem): Rewrite. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1351 (Array<T>::index, Array<T>::delete_elements): Simplify. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1352 * DiagArray2.cc (DiagArray2::checkelem): Use gripe_index_out_of_range. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1353 * Range.cc (Range::checkelem, Range::index): Ditto. |
e5ae13b8b2c2
improve Array indexing error messages
Jaroslav Hajek <highegg@gmail.com>
parents:
10365
diff
changeset
|
1354 |
10365
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1355 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1356 |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1357 * mx-inlines.cc (OP_DUP_FCN): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1358 (mx_inline_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1359 (mx_inline_not): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1360 (mx_inline_make_complex): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1361 (mx_inline_change_sign): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1362 (mx_inline_fabs_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1363 (mx_inline_cabs_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1364 (mx_inline_imag_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1365 (mx_inline_real_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1366 (mx_inline_conj_dup): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1367 (mx_inline_change_sign): Remove. |
532802559f39
remove mx_*_dup relics from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10364
diff
changeset
|
1368 |
10364
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1369 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1370 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1371 * Array.h (Array<T>::ArrayRep): Simplify copy constructor. Add |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1372 conversion constructor. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1373 (Array<T>): Remove pointer acquiring ctors. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1374 (Array<T>::maybe_economize): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1375 (Array<T>::make_unique): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1376 * Array.cc (Array<T>::fill): Update. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1377 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1378 * MArray.h (MArray<T>::MArray<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1379 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1380 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1381 * Array3.h (Array3<T>::Array3<T> (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1382 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1383 * dColVector.h (ColumnVector::ColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1384 * fColVector.h (FloatColumnVector::FloatColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1385 * CColVector.h (ComplexColumnVector::ComplexColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1386 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1387 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1388 * dRowVector.h (RowVector::RowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1389 * fRowVector.h (FloatRowVector::FloatRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1390 * CRowVector.h (ComplexRowVector::ComplexRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1391 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1392 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1393 * dMatrix.h (Matrix::Matrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1394 * fMatrix.h (FloatMatrix::FloatMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1395 * CMatrix.h (ComplexMatrix::ComplexMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1396 * fCMatrix.h (FloatComplexMatrix::FloatComplexMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1397 * boolMatrix.h (boolMatrix::boolMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1398 * chMatrix.h (charMatrix::charMatrix (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1399 |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1400 * dNDArray.h (NDArray::NDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1401 * fNDArray.h (FloatNDArray::FloatNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1402 * CNDArray.h (ComplexNDArray::ComplexNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1403 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1404 * boolNDArray.h (boolNDArray::boolNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1405 * chNDArray.h (charNDArray::charNDArray (T *, ...)): Remove. |
96ed7c629bbd
remove dangerous pointer-acquiring Array ctors
Jaroslav Hajek <highegg@gmail.com>
parents:
10363
diff
changeset
|
1406 |
10363
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1407 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1408 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1409 * DiagArray2.h (DiagArray2): Clean up ctors. Remove Proxy class. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1410 Remove non-const two-index elem methods. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1411 * DiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1412 * MDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1413 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1414 * dDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1415 * dDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1416 * fDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1417 * fDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1418 * CDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1419 * CDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1420 * fCDiagArray2.h: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1421 * fCDiagArray2.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1422 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1423 * dMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1424 * fMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1425 * CMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1426 * fCMatrix.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1427 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1428 * dRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1429 * fRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1430 * CRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1431 * fCRowVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1432 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1433 * dColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1434 * fColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1435 * CColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1436 * fCColVector.cc: Update. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1437 |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1438 * dColVector.cc (ColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1439 * dColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1440 * fColVector.cc (FloatColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1441 * fColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1442 * CColVector.cc (ComplexColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1443 * CColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1444 * fCColVector.cc (FloatComplexColumnVector::abs): New method. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1445 * fCColVector.h: Declare it. |
a0728e81ed25
improve diag matrix interface & implementation
Jaroslav Hajek <highegg@gmail.com>
parents:
10362
diff
changeset
|
1446 |
10362
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1447 2010-02-26 Jaroslav Hajek <highegg@gmail.com> |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1448 |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1449 * mx-inlines.cc: Parameterize all appliers by value types rather than |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1450 Array types. Return & accept Array instances. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1451 * mx-op-defs.h: Update references. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1452 * CMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1453 * CNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1454 * DiagArray2.h: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1455 * MArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1456 * boolMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1457 * boolNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1458 * bsxfun-defs.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1459 * chMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1460 * chNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1461 * dMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1462 * dNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1463 * fCMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1464 * fCNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1465 * fMatrix.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1466 * fNDArray.cc: Ditto. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1467 * intNDArray.cc: Ditto. |
10604 | 1468 * MDiagArray2.cc: Remove computed assignment operators, adapt |
10362
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1469 operators to new mechanism. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1470 * MDiagArray2.h: Declare operators as friends. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1471 * MArray-decl.h (MDIAGARRAY2_OPS_FRIEND_DECLS): Don't expand |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1472 MARRAY_OP_ASSIGN_FRIENDS here. |
b47ab50a6aa8
simplify appliers in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
10361
diff
changeset
|
1473 |
10361
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1474 2010-02-25 John W. Eaton <jwe@octave.org> |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1475 |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1476 * eigs-base.cc: Use octave_idx_type for Fortran LOGICAL values |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1477 in function prototypes. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1478 (EigsRealSymmetricMatrix, EigsRealSymmetricMatrixShift, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1479 EigsRealSymmetricFunc, EigsRealNonSymmetricMatrix, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1480 EigsRealNonSymmetricMatrixShift, EigsRealNonSymmetricFunc, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1481 EigsComplexNonSymmetricMatrix, EigsComplexNonSymmetricMatrixShift, |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1482 EigsComplexNonSymmetricFunc): Declare rvec argument as bool, not int. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1483 Fix explicit instantiations to match. |
b4f67ca318d8
eigs-base.cc: fix prototypes for arpack functions
John W. Eaton <jwe@octave.org>
parents:
10359
diff
changeset
|
1484 |
10359
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
1485 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
1486 |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
1487 * oct-mem.h (safe_size_comp): New helper func. |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
1488 (no_ctor_new): Call it here. |
ec05728ce7f0
guard against >2GB allocations with 32-bit ptrs on weird platforms
Jaroslav Hajek <highegg@gmail.com>
parents:
10358
diff
changeset
|
1489 |
10358
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1490 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1491 |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1492 * oct-mem.h (copy_or_memcpy, fill_or_memset, no_ctor_new): Accept |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1493 size_t rather than octave_idx_type. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1494 * Array.h (Array<T>::byte_size): Correct calculation. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1495 * DiagArray2.h (DiagArray2<T>::byte_size): Call inherited byte_size. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1496 * PermMatrix.h (PermMatrix::byte_size): Ditto. |
72fab01e5d68
improve some size_t queries
Jaroslav Hajek <highegg@gmail.com>
parents:
10355
diff
changeset
|
1497 |
10355
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1498 2010-02-25 Jaroslav Hajek <highegg@gmail.com> |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1499 |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1500 * str-vec.h (string_vector::string_vector): Use (n, 1). |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1501 (string_vector::resize): Ditto. |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1502 * str-vec.cc (string_vector::string_vector): Ditto. |
f9347eac65dc
make string_vector be a column vector as it used to be
Jaroslav Hajek <highegg@gmail.com>
parents:
10352
diff
changeset
|
1503 |
10352 | 1504 2010-02-24 Jaroslav Hajek <highegg@gmail.com> |
1505 | |
1506 * Array.cc (Array::Array (const Array&, octave_idx_type, | |
1507 octave_idx_type): New ctor. | |
1508 (Array::reshape (octave_idx_type, octave_idx_type): New method. | |
1509 * Array.h: Declare them. | |
1510 * Array2.h: Deprecate Array2, make it a #define for Array. | |
1511 | |
1512 * Array-C.cc: Remove Array2 instantiation. | |
1513 * Array-b.cc: Ditto. | |
1514 * Array-ch.cc: Ditto. | |
1515 * Array-d.cc: Ditto. | |
1516 * Array-f.cc: Ditto. | |
1517 * Array-fC.cc: Ditto. | |
1518 * Array-i.cc: Ditto. | |
1519 * Array-s.cc: Ditto. | |
1520 * Array-voidp.cc: Ditto. | |
1521 | |
1522 * CMatrix.cc: Use Array instead of Array2 everywhere. | |
1523 * CMatrix.h: Ditto. | |
1524 * CNDArray.cc: Ditto. | |
1525 * DiagArray2.cc: Ditto. | |
1526 * DiagArray2.h: Ditto. | |
1527 * MDiagArray2.h: Ditto. | |
1528 * Sparse.cc: Ditto. | |
1529 * Sparse.h: Ditto. | |
1530 * boolMatrix.h: Ditto. | |
1531 * boolNDArray.cc: Ditto. | |
1532 * chMatrix.h: Ditto. | |
1533 * chNDArray.cc: Ditto. | |
1534 * dMatrix.cc: Ditto. | |
1535 * dMatrix.h: Ditto. | |
1536 * dNDArray.cc: Ditto. | |
1537 * fCMatrix.cc: Ditto. | |
1538 * fCMatrix.h: Ditto. | |
1539 * fCNDArray.cc: Ditto. | |
1540 * fMatrix.cc: Ditto. | |
1541 * fMatrix.h: Ditto. | |
1542 * fNDArray.cc: Ditto. | |
1543 * lo-specfun.cc: Ditto. | |
1544 * lo-specfun.h: Ditto. | |
1545 | |
10351
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1546 2010-02-23 Jaroslav Hajek <highegg@gmail.com> |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1547 |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1548 * chMatrix.h (charMatrix): Base on Array<char>. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1549 * chMatrix.cc (charMatrix): Update. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1550 * boolMatrix.h (boolMatrix): Ditto. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1551 * boolMatrix.h (boolMatrix): Update. |
5150ceb4dbb4
base charMatrix and boolMatrix on Array<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10350
diff
changeset
|
1552 |
10350
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1553 2010-02-23 Jaroslav Hajek <highegg@gmail.com> |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1554 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1555 * Array.h (Array): Define 2D constructors. Remove conflicting 1D |
10604 | 1556 initialized constructor. Deprecate 1D constructor. Deprecate 1D resize. |
10350
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1557 Add 2D resize, resize1. Remove resize_fill. Make resize_fill_value |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1558 return a reference. Remove 1D clear. |
10604 | 1559 |
10350
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1560 * MArray.h (MArray): Merge with MArrayN. Define 2D constructors, sync |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1561 with Array changes. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1562 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1563 * MArrayN.h, MArray2.h: Deprecate headers, use compatibility #defines. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1564 * MArrayN.cc, MArray2.cc: Remove sources. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1565 * Makefile.am: Update. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1566 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1567 * fCMatrix.h (FloatComplexMatrix): Rebase on MArray. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1568 * fMatrix.h (FloatMatrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1569 * dMatrix.h (Matrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1570 * CMatrix.h (ComplexMatrix): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1571 * fCNDArray.h (FloatComplexNDArray): Rebase on MArray. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1572 * fNDArray.h (FloatNDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1573 * dNDArray.h (NDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1574 * CNDArray.h (ComplexNDArray): Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1575 |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1576 * Array-util.cc: Update. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1577 * Array.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1578 * Array2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1579 * Array3.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1580 * CColVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1581 * CColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1582 * CMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1583 * CNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1584 * CRowVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1585 * CSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1586 * ChangeLog: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1587 * CmplxCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1588 * CmplxHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1589 * CmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1590 * CmplxQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1591 * CmplxSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1592 * CmplxSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1593 * CollocWt.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1594 * DASPK-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1595 * DASPK.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1596 * DASRT-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1597 * DASRT.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1598 * DASSL-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1599 * DASSL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1600 * DiagArray2.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1601 * DiagArray2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1602 * EIG.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1603 * LSODE-opts.in: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1604 * LSODE.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1605 * MArray-C.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1606 * MArray-d.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1607 * MArray-defs.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1608 * MArray-f.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1609 * MArray-fC.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1610 * MArray-i.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1611 * MArray-s.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1612 * MArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1613 * MDiagArray2.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1614 * MSparse-defs.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1615 * MSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1616 * MSparse.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1617 * Makefile.am: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1618 * MatrixType.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1619 * PermMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1620 * Quad.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1621 * SparseCmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1622 * SparseCmplxQR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1623 * SparseCmplxQR.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1624 * SparseQR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1625 * SparseQR.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1626 * SparsedbleLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1627 * base-lu.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1628 * dColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1629 * dMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1630 * dNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1631 * dRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1632 * dSparse.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1633 * dbleCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1634 * dbleHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1635 * dbleLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1636 * dbleQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1637 * dbleSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1638 * dbleSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1639 * dim-vector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1640 * eigs-base.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1641 * fCColVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1642 * fCColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1643 * fCMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1644 * fCNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1645 * fCRowVector.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1646 * fCRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1647 * fCmplxCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1648 * fCmplxHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1649 * fCmplxLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1650 * fCmplxQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1651 * fCmplxSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1652 * fCmplxSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1653 * fColVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1654 * fEIG.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1655 * fMatrix.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1656 * fNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1657 * fRowVector.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1658 * floatCHOL.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1659 * floatHESS.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1660 * floatLU.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1661 * floatQRP.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1662 * floatSCHUR.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1663 * floatSVD.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1664 * glob-match.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1665 * int16NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1666 * int32NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1667 * int64NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1668 * int8NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1669 * intNDArray.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1670 * intNDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1671 * oct-fftw.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1672 * oct-norm.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1673 * oct-rand.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1674 * regex-match.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1675 * sparse-dmsolve.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1676 * str-vec.cc: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1677 * str-vec.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1678 * uint16NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1679 * uint32NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1680 * uint64NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1681 * uint8NDArray.h: Ditto. |
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10349
diff
changeset
|
1682 |
10349
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1683 2010-02-22 John W. Eaton <jwe@octave.org> |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1684 |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1685 * data-conv.cc, data-conv.h (read_floats, read_doubles, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1686 do_float_format_conversion, do_double_format_conversion): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1687 Declare len arg and loop counter as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1688 (strip_spaces): Use size_t for string dimension and index, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1689 (LS_DO_READ, LS_DO_WRITE): Declare loop counter as |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1690 octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1691 (write_floats, write_doubles): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1692 Declare len arg as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1693 (IEEE_big_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1694 VAX_D_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1695 VAX_G_double_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1696 Cray_to_IEEE_little_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1697 IEEE_big_float_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1698 VAX_D_float_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1699 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1700 IEEE_little_double_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1701 VAX_D_double_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1702 VAX_G_double_to_IEEE_big_double, Cray_to_IEEE_big_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1703 IEEE_little_float_to_IEEE_big_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1704 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1705 Cray_to_IEEE_big_float, IEEE_little_double_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1706 IEEE_big_double_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1707 VAX_G_double_to_VAX_D_double, Cray_to_VAX_D_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1708 IEEE_little_float_to_VAX_D_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1709 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1710 Cray_to_VAX_D_float, IEEE_little_double_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1711 IEEE_big_double_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1712 VAX_D_double_to_VAX_G_double, Cray_to_VAX_G_double, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1713 IEEE_little_float_to_VAX_G_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1714 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1715 Cray_to_VAX_G_float, read_doubles): |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1716 Declare len arg as octave_idx_type, not int. |
d4d13389c957
make load-save to matlab format work when using --enable-64
John W. Eaton <jwe@octave.org>
parents:
10346
diff
changeset
|
1717 |
10342
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
1718 2010-02-21 Michael Goffioul <michael.goffioul@gmail.com> |
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
1719 |
10346
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
1720 * lo-sysdep.cc, lo-utils.h, oct-shlib.h: Define WIN32_LEAN_AND_MEAN |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
1721 and don't #undef min/max. |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
1722 * oct-inttypes.h: Don't #undef min/max. |
65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10345
diff
changeset
|
1723 |
10345
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
1724 * oct-glob.cc (octave_glob): Convert backslashes to forward slashes |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
1725 automatically before calling glob, and convert back after the call |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
1726 (implementation from jwe). |
33b012d39dce
Convert between back and forward slashes before and after calling glob.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10342
diff
changeset
|
1727 |
10342
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
1728 * Makefile.am: Add -bindir flag to liboctave_la_LDFLAGS. |
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10339
diff
changeset
|
1729 |
10339
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1730 2010-02-19 Jaroslav Hajek <highegg@gmail.com> |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1731 |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1732 * idx-vector.cc (idx_vector::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1733 idx_vector::idx_range_rep::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1734 idx_vector::idx_scalar_rep::as_array, |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1735 idx_vector::idx_vector_rep::as_array): New methods. |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1736 * idx-vector.h: Declare them. |
de2d43bcb083
optimize some lazy index operations
Jaroslav Hajek <highegg@gmail.com>
parents:
10331
diff
changeset
|
1737 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1738 2010-02-17 John W. Eaton <jwe@octave.org> |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1739 |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1740 * oct-rand.cc: Include <sdint.h>. Change declarations of ranlib |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1741 functions to take int32_t instead of octave_idx_type values. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1742 Change all uses. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1743 (octave_rand::do_seed): Use int32_t in union, not octave_idx_type. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1744 (force_to_fit_range): Args are now int32_t, not octave_idx_type. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1745 (octave_rand::initialize_ranlib_generators): Use int32_t in seed |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1746 calculation. |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10329
diff
changeset
|
1747 |
10329
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1748 2010-02-17 Jaroslav Hajek <highegg@gmail.com> |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1749 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1750 * mx-op-defs.h (MINMAX_FCNS): Generalize. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1751 * mx-op-decl.h (MINMAX_DECLS): Likewise. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1752 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1753 * int16NDArray.h, int32NDArray.h, int64NDArray.h, int8NDArray.h, |
10604 | 1754 uint16NDArray.h, uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
10329
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1755 Update. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1756 * int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1757 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1758 Update. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1759 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1760 * CNDArray.h, dNDArray.h, fCNDArray.h, fNDArray.h: Replace explicit |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1761 decls. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1762 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1763 * CNDArray.cc, dNDArray.cc, fCNDArray.cc, fNDArray.cc: Replace explicit |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1764 definitions. |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1765 |
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10317
diff
changeset
|
1766 |
10317
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1767 2010-02-11 John W. Eaton <jwe@octave.org> |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1768 |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1769 * sparse-mk-ops.awk, mk-ops.awk, filemode.c, lo-cieee.c, |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1770 oct-rl-hist.c, randgamma.c, randmtzig.c, randpoisson.c, |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1771 tempnam.c, tempname.c: Untabify. |
42d098307c30
untabify additional source files
John W. Eaton <jwe@octave.org>
parents:
10314
diff
changeset
|
1772 |
10314
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1773 2010-02-11 John W. Eaton <jwe@octave.org> |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1774 |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1775 * Array-C.cc, Array-fC.cc, Array-util.cc, Array.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1776 CColVector.cc, CDiagMatrix.cc, CMatrix.cc, CNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1777 CRowVector.cc, CSparse.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1778 CmplxGEPBAL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1779 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1780 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, MSparse.cc, MatrixType.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1781 ODES.cc, Quad.cc, Range.cc, Sparse-C.cc, Sparse.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1782 SparseCmplxCHOL.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1783 SparseQR.cc, SparsedbleCHOL.cc, SparsedbleLU.cc, boolNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1784 boolSparse.cc, chMatrix.cc, chNDArray.cc, cmd-edit.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1785 cmd-hist.cc, dColVector.cc, dDiagMatrix.cc, dMatrix.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1786 dNDArray.cc, dRowVector.cc, dSparse.cc, data-conv.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1787 dbleAEPBAL.cc, dbleCHOL.cc, dbleGEPBAL.cc, dbleHESS.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1788 dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1789 dir-ops.cc, eigs-base.cc, fCColVector.cc, fCDiagMatrix.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1790 fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, fCmplxAEPBAL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1791 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fCmplxHESS.cc, fCmplxLU.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1792 fCmplxQR.cc, fCmplxQRP.cc, fCmplxSCHUR.cc, fCmplxSVD.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1793 fColVector.cc, fDiagMatrix.cc, fEIG.cc, fMatrix.cc, fNDArray.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1794 fRowVector.cc, file-stat.cc, floatAEPBAL.cc, floatCHOL.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1795 floatGEPBAL.cc, floatHESS.cc, floatLU.cc, floatQR.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1796 floatQRP.cc, floatSCHUR.cc, floatSVD.cc, idx-vector.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1797 intNDArray.cc, kpse.cc, lo-ieee.cc, lo-mappers.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1798 lo-specfun.cc, lo-sysdep.cc, lo-utils.cc, mach-info.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1799 mx-inlines.cc, oct-alloc.cc, oct-env.cc, oct-fftw.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1800 oct-glob.cc, oct-group.cc, oct-inttypes.cc, oct-md5.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1801 oct-rand.cc, oct-shlib.cc, oct-sort.cc, oct-spparms.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1802 oct-syscalls.cc, oct-time.cc, pathsearch.cc, regex-match.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1803 sparse-base-chol.cc, sparse-base-lu.cc, sparse-dmsolve.cc, |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1804 sparse-sort.cc, sparse-util.cc, str-vec.cc: Untabify. |
07ebe522dac2
untabify liboctave C++ sources
John W. Eaton <jwe@octave.org>
parents:
10312
diff
changeset
|
1805 |
10312
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1806 2010-02-11 John W. Eaton <jwe@octave.org> |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1807 |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1808 * Array-util.h, Array.h, Array2.h, Array3.h, CColVector.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1809 CMatrix.h, CNDArray.h, CRowVector.h, CSparse.h, CmplxCHOL.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1810 CmplxGEPBAL.h, CmplxHESS.h, CmplxLU.h, CmplxQRP.h, CmplxSCHUR.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1811 CmplxSVD.h, CollocWt.h, DAE.h, DAEFunc.h, DAERT.h, DAERTFunc.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1812 DASPK.h, DASRT.h, DASSL.h, DiagArray2.h, EIG.h, MArrayN.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1813 MDiagArray2.h, MSparse-defs.h, MSparse.h, MatrixType.h, ODE.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1814 ODEFunc.h, ODES.h, ODESFunc.h, Quad.h, Range.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1815 Sparse-diag-op-defs.h, Sparse-op-defs.h, Sparse-perm-op-defs.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1816 Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, SparseCmplxQR.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1817 SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, base-dae.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1818 base-de.h, base-lu.h, base-min.h, base-qr.h, boolNDArray.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1819 boolSparse.h, chNDArray.h, cmd-hist.h, dMatrix.h, dNDArray.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1820 dSparse.h, data-conv.h, dbleCHOL.h, dbleGEPBAL.h, dbleHESS.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1821 dbleLU.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1822 fCColVector.h, fCMatrix.h, fCNDArray.h, fCRowVector.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1823 fCmplxCHOL.h, fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxLU.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1824 fCmplxQRP.h, fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, fMatrix.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1825 fNDArray.h, file-stat.h, floatCHOL.h, floatGEPBAL.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1826 floatHESS.h, floatLU.h, floatQRP.h, floatSCHUR.h, floatSVD.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1827 glob-match.h, idx-vector.h, intNDArray.h, lo-ieee.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1828 lo-specfun.h, mx-op-decl.h, mx-op-defs.h, oct-env.h, oct-fftw.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1829 oct-group.h, oct-inttypes.h, oct-mutex.h, oct-passwd.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1830 oct-rand.h, oct-shlib.h, oct-sort.h, oct-spparms.h, oct-time.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1831 oct-uname.h, pathsearch.h, sparse-base-chol.h, sparse-base-lu.h, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1832 sparse-sort.h, sparse-util.h, statdefs.h, str-vec.h: Untabify. |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10301
diff
changeset
|
1833 |
10301
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1834 2010-02-10 John W. Eaton <jwe@octave.org> |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1835 |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1836 * dMatrix.h (template <class U> Matrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1837 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1838 * CMatrix.h (template <class U> ComplexMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1839 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1840 * fMatrix.h (template <class U> FloatMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1841 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1842 * fCMatrix.h (template <class U> FloatComplexMatrix (const Array<U>&)): |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1843 New constructor. |
9e0ec19df4bc
commit accidentally omitted parts of previous change
John W. Eaton <jwe@octave.org>
parents:
10285
diff
changeset
|
1844 |
10285
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1845 2010-02-09 Jaroslav Hajek <highegg@gmail.com> |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1846 |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1847 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1848 Array<octave_idx_type>&, octave_idx_type, direct)): New constructor. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1849 * idx-vector.h: Declare it. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1850 (idx_vector::idx_vector (const Array<octave_idx_type>&, |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1851 octave_idx_type)): New constructor. |
22a7913bbeb5
optimize return values of find and sort
Jaroslav Hajek <highegg@gmail.com>
parents:
10279
diff
changeset
|
1852 |
10279 | 1853 2010-02-08 John W. Eaton <jwe@octave.org> |
1854 | |
1855 * oct-time.cc: Include "strftime.h", not <strftime.h>. | |
1856 * file-ops.cc: Include "pathmax.h", not <pathmax.h>. | |
1857 | |
10278
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1858 2010-02-08 John W. Eaton <jwe@octave.org> |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1859 |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1860 * oct-env.cc (octave_env::prog_invocation_name): Rename from |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1861 program_invocation_name. Change all uses. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1862 (octave_env::prog_name): Rename from program_name. Change all uses. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1863 (octave_env::do_set_program_name): Call ::set_program_name |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1864 function from gnulib. |
4a278982c0fe
use gnulib progname module
John W. Eaton <jwe@octave.org>
parents:
10273
diff
changeset
|
1865 |
10273
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1866 2010-02-08 Jaroslav Hajek <highegg@gmail.com> |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1867 |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1868 * idx-vector.h (idx_vector::idx_base_rep::sort_idx): New pure virtual |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1869 function. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1870 (idx_vector::idx_colon_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1871 idx_vector::idx_range_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1872 idx_vector::idx_scalar_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1873 idx_vector::idx_vector_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1874 idx_vector::idx_mask_rep::sort_idx): New override decls. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1875 idx_vector::sort (Array<octave_idx_type>&): New method. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1876 * idx-vector.cc (idx_vector::idx_range_rep::sort_idx, |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1877 idx_vector::idx_vector_rep::sort_idx): New methods. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1878 (idx_vector::idx_vector_rep::sort_uniq_clone): Rewrite |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1879 to use bucket sort under plausible circumstances. |
3a8c13b71612
implement special-case optimization for sort of index vectors
Jaroslav Hajek <highegg@gmail.com>
parents:
10270
diff
changeset
|
1880 |
10270 | 1881 2010-02-08 Jaroslav Hajek <highegg@gmail.com> |
1882 | |
1883 * Array.cc (Array<T>::permute): Fix result dimensions when inv=true. | |
1884 | |
10268
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1885 2010-02-05 Jaroslav Hajek <highegg@gmail.com> |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1886 |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1887 * MArrayN.cc (MArrayN::idx_min, MArrayN::idx_max): New methods. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1888 * MArrayN.h: Declare them. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1889 * lo-mappers.h (xmin, xmax): Define for general arguments. |
9a16a61ed43d
new optimizations for accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
10267
diff
changeset
|
1890 |
10267
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1891 2010-02-04 Jaroslav Hajek <highegg@gmail.com> |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1892 |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1893 * chMatrix.h (charMatrix): Rebase directly on Array<char>. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1894 * chNDArray.h (charNDArray): Ditto. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1895 * chMatrix.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1896 * chNDArray.cc: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1897 * MArray-ch.cc: Remove. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1898 * Makefile.am: Update. |
479c7df0cc96
don't instantiate MArray<char>
Jaroslav Hajek <highegg@gmail.com>
parents:
10266
diff
changeset
|
1899 |
10266
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
1900 2010-02-04 John W. Eaton <jwe@octave.org> |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
1901 |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
1902 * lo-cutils.c (gethostname): Delete function. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
1903 * lo-sysdep.h (gethostname): Delete declaration. |
82db36545def
use gnulib gethostname module
John W. Eaton <jwe@octave.org>
parents:
10259
diff
changeset
|
1904 |
10259 | 1905 2010-02-03 John W. Eaton <jwe@octave.org> |
1906 | |
1907 * oct-syscalls.h, oct-syscalls.cc (octave_fcntl): Assume fcntl exists. | |
1908 Rename from octave_syscalls::fcntl. | |
1909 (octave_syscalls::popen2): Call octave_fcntl, not fcntl. | |
1910 * cmd-hist.cc, lo-sysdep.cc, oct-syscalls.cc: | |
1911 Include <fcntl.h> unconditionally. | |
1912 | |
10258 | 1913 2010-02-03 John W. Eaton <jwe@octave.org> |
1914 | |
1915 * dbleSVD.cc (SVD::init): Ensure args to std::max are the same type. | |
1916 * CmplxSVD.cc (ComplexSVD::init): Likewise. | |
1917 * floatSVD.cc (FloatSVD::init): Likewise. | |
1918 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. | |
1919 * idx-vector.cc (idx_range_rep): Likewise. | |
1920 * Array.cc (Array<T>::nth_element): Likewise. | |
1921 | |
1922 * lo-specfun.cc (null_dims): Delete unused static variable. | |
1923 (betainc): Call dim_vector (0, 0), not dim_vector (0). | |
1924 | |
10252
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
1925 2010-02-03 John W. Eaton <jwe@octave.org> |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
1926 |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
1927 * file-ops.h (octave_canonicalize_file_name): Rename from |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
1928 file_ops::canonicalize_file_name. |
2fcc927a8757
liboctave/file-ops.h: avoid gnulib #define for canonicalize_file_name
John W. Eaton <jwe@octave.org>
parents:
10250
diff
changeset
|
1929 |
10250 | 1930 2010-02-03 John W. Eaton <jwe@octave.org> |
1931 | |
1932 * file-ops.cc (canonicalize_file_name): | |
1933 Don't pass current directory to octave_env::make_absolute. | |
1934 * cmd-edit.cc (do_decode_prompt_string): Likewise. | |
1935 | |
1936 * oct-env.h (octave_env::get_current_directory): | |
1937 Rename from octave_env::getcwd. | |
1938 (octave_env::make_absolute): Provide default value for second arg. | |
1939 | |
1940 * lo-sysdep.cc (octave_getcwd): Assume we are using gnulib | |
1941 getcwd module. | |
1942 | |
10240
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1943 2010-02-02 John W. Eaton <jwe@octave.org> |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1944 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1945 * oct-time.h: Include <ctime>, not "systime.h". |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1946 * oct-time.cc: Include <strftime.h>, not "strftime.h". |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1947 Don't include <windows.h>. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1948 |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1949 * systime.h: Delete. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1950 * Makefile.am (INCS): Remove it from the list. |
fa7b5751730c
use gnulib time, sys_time, and sys_times modules
John W. Eaton <jwe@octave.org>
parents:
10239
diff
changeset
|
1951 |
10239
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1952 2010-02-02 John W. Eaton <jwe@octave.org> |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1953 |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1954 * lo-utils.h, lo-cutils.c (oct_strptime): Delete. |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1955 * oct-time.cc (octave_strptime::init): Call strptime, not oct_strptime. |
e45ccac6017f
addtional fixes for using strptime module
John W. Eaton <jwe@octave.org>
parents:
10213
diff
changeset
|
1956 |
10213
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1957 2010-01-28 Jaroslav Hajek <highegg@gmail.com> |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1958 |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1959 * dMatrix.cc (Matrix::determinant): Treat matrices marked as singular |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1960 normally. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1961 * fMatrix.cc (FloatMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1962 * CMatrix.cc (ComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1963 * fCMatrix.cc (FloatComplexMatrix::determinant): Ditto. |
f7ba6cfe7fb7
fix det() after singular matrix is flagged
Jaroslav Hajek <highegg@gmail.com>
parents:
10198
diff
changeset
|
1964 |
10198
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
1965 2010-01-26 John W. Eaton <jwe@octave.org> |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
1966 |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
1967 * file-ops.cc: Don't tag functions with OCTAVE_API in source file. |
025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
John W. Eaton <jwe@octave.org>
parents:
10197
diff
changeset
|
1968 |
10197
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1969 2010-01-26 John W. Eaton <jwe@octave.org> |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1970 |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1971 * lo-cutils.c, lo-utils.h (octave_link, octave_symlink, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1972 octave_readlink, octave_mkdir, octave_mkfifo, octave_rmdir, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1973 octave_rename, octave_tempnam, octave_umask, octave_unlink): |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1974 Delete. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1975 * file-io.h, file-io.cc (octave_mkdir, octave_mkfifo, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1976 octave_link, octave_symlink, octave_readlink, octave_rename, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1977 octave_rmdir, octave_recursive_rmdir, octave_umask, |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1978 octave_unlink, octave_tempnam): Rename from file_ops::X to |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1979 octave_X. Change all uses. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1980 (file_ops::static_members): Incorporate directly into file_ops class. |
4d433bd2d4dc
attempt to avoid trouble with gnulib #defines in a consistent way
John W. Eaton <jwe@octave.org>
parents:
10195
diff
changeset
|
1981 |
10195
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1982 2010-01-23 John W. Eaton <jwe@octave.org> |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1983 |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1984 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove oct-getopt.c from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1985 (LIBOCTAVE_CXX_SOURCES): Remove prog-args.c from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1986 (INCS): Remove prog-args.h and oct-getopt.h from the list. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1987 * prog-args.cc, prog-args.h, oct-getopt.c, oct-getopt.h: Delete. |
b49d47b637b7
use getopt directly instead of the (mostly useless) prog_args wrapper class
John W. Eaton <jwe@octave.org>
parents:
10192
diff
changeset
|
1988 |
10191
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
1989 2010-01-22 John W. Eaton <jwe@octave.org> |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
1990 |
10192
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1991 * prog-args.h, prog-args.cc (prog_args::get_option, |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1992 prog_args::option_argument, prog_args::option_index): |
10604 | 1993 Don't declare const. |
10192
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1994 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1995 2010-01-22 John W. Eaton <jwe@octave.org> |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1996 |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1997 * prog-args.h, prog-args.cc (prog_args::get_option): |
fc95c80058d8
don't make prog_args member functions const
John W. Eaton <jwe@octave.org>
parents:
10191
diff
changeset
|
1998 Rename from getopt. Now const. |
10191
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
1999 (prog_args::option_argument): Rename from optarg. Now const. |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
2000 (prog_args::option_index): Rename from optind. Now const. |
a552859b009a
rename member functions in prog_args class to avoid conflicts with gnulib definitions
John W. Eaton <jwe@octave.org>
parents:
10189
diff
changeset
|
2001 |
10189
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
2002 2010-01-22 John W. Eaton <jwe@octave.org> |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
2003 |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
2004 * file-ops.cc: Don't include statdefs.h. |
8fa6ce1b21f2
file-ops.cc: don't include statdefs.h
John W. Eaton <jwe@octave.org>
parents:
10185
diff
changeset
|
2005 |
10185
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2006 2010-01-22 Jaroslav Hajek <highegg@gmail.com> |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2007 |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2008 * dbleSVD.cc (SVD::init): Ensure LD* arguments >= 1. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2009 * floatSVD.cc (FloatSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2010 * CmplxSVD.cc (ComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2011 * fCmplxSVD.cc (FloatComplexSVD::init): Likewise. |
455759a5fcbe
fix norm and svd on empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
10182
diff
changeset
|
2012 |
10182
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2013 2010-01-21 John W. Eaton <jwe@octave.org> |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2014 |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2015 * CMatrix.cc, fCMatrix.cc, cmd-edit.cc, cmd-hist.cc, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2016 file-ops.cc, file-ops.h, file-stat.cc, file-stat.h, filemode.c, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2017 kpse.cc, lo-cutils.c, lo-sysdep.cc, lo-utils.cc, oct-env.cc, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2018 oct-group.cc, oct-group.h, oct-passwd.cc, oct-passwd.h, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2019 oct-time.cc, oct-syscalls.cc, oct-syscalls.h, statdefs.h, |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2020 sysdir.h, syswait.h, tempname.c, regex-match.h: |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2021 Assume sys/types.h and unistd.h are present (gnulib provides them). |
0522a65bcd56
assume unistd.h and sys/types.h exist
John W. Eaton <jwe@octave.org>
parents:
10180
diff
changeset
|
2022 |
10179 | 2023 2010-01-21 John W. Eaton <jwe@octave.org> |
2024 | |
10180 | 2025 * file-ops.h, file-ops.cc, lo-utils.h, lo-cutils.c: Untabify. |
2026 | |
10179 | 2027 * file-ops.cc: Don't include unistd.h. |
2028 (NOT_SUPPORTED): Delete unused macro. | |
2029 | |
10178
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2030 2010-01-21 John W. Eaton <jwe@octave.org> |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2031 |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2032 * lo-cutils.c (octave_tempnam): New funtion. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2033 * lo-utils.h: Provide decl. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2034 * file-ops.cc (file_ops::tempnam): Call octave_tempnam. |
6bd86b6287b1
provide wrapper for tempnam
John W. Eaton <jwe@octave.org>
parents:
10177
diff
changeset
|
2035 |
10177
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2036 2010-01-21 John W. Eaton <jwe@octave.org> |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2037 |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2038 * lo-cutils.c (octave_readlink): New funtion. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2039 * lo-utils.h: Provide decl. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2040 * file-ops.cc (file_ops::readlink): Call octave_readlink. |
cb3d926b4d9e
use readlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10176
diff
changeset
|
2041 |
10176
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2042 2010-01-21 John W. Eaton <jwe@octave.org> |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2043 |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2044 * lo-cutils.c (octave_symlink): New funtion. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2045 * lo-utils.h: Provide decl. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2046 * file-ops.cc (file_ops::symlink): Call octave_symlink. |
a0665fa8798c
use symlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10175
diff
changeset
|
2047 |
10175
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2048 2010-01-21 John W. Eaton <jwe@octave.org> |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2049 |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2050 * lo-cutils.c (octave_link): New funtion. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2051 * lo-utils.h: Provide decl. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2052 * file-ops.cc (file_ops::link): Call octave_link. |
d354be89b2c3
use link module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10174
diff
changeset
|
2053 |
10174
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2054 2010-01-21 John W. Eaton <jwe@octave.org> |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2055 |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2056 * lo-cutils.c (octave_unlink): New funtion. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2057 * lo-utils.h: Provide decl. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2058 * file-ops.cc (file_ops::unlink): Call octave_unlink. |
eb64bf1c6107
use unlink module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10173
diff
changeset
|
2059 |
10173 | 2060 2010-01-21 John W. Eaton <jwe@octave.org> |
2061 | |
2062 * lo-cutils.c (octave_umask): New funtion. | |
2063 * lo-utils.h: Provide decl. | |
2064 * file-ops.cc (file_ops::umask): Call octave_umask. | |
2065 | |
10172
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2066 2010-01-21 John W. Eaton <jwe@octave.org> |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2067 |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2068 * file-ops.h (file_ops::mkdir): Move definitions to file-ops.cc. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2069 (file_ops::mkfifo): Move definitions to file-ops.cc. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2070 (file_ops::mkdir_internal, file_ops::mkfifo_internal): Delete decls. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2071 * file-ops.cc (file_ops::mkdir): Call octave_mkdir. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2072 (file_ops::mkfifo): Call octave_mkfifo. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2073 * lo-cutils.c (octave_mkdir, octave_mkfifo): New functions. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2074 * lo-utils.h: Provide decls. |
96ed9db3345c
provide wrappers for mkdir and mkfifo
John W. Eaton <jwe@octave.org>
parents:
10171
diff
changeset
|
2075 |
10171
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
2076 2010-01-21 John W. Eaton <jwe@octave.org> |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
2077 |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
2078 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove strptime.c from the list. |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
2079 * strptime.c: Delete. |
22400682d3aa
use strptime module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10170
diff
changeset
|
2080 |
10170
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2081 2010-01-21 John W. Eaton <jwe@octave.org> |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2082 |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2083 * lo-cutils.c (octave_rename): New funtion. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2084 * lo-utils.h: Provide decl. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2085 * file-ops.cc (file_ops::rename): Call octave_rename. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2086 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove rename.c from the list. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2087 * rename.c: Delete. |
1dffc8b2fca7
use rename module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10169
diff
changeset
|
2088 |
10169
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2089 2010-01-21 John W. Eaton <jwe@octave.org> |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2090 |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2091 * lo-cutils.c (octave_rmdir): New function. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2092 * lo-utils.h: Provide decl. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2093 * file-ops.cc (file_ops::rmdir): Call octave_rmdir. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2094 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove rmdir.c from the list. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2095 * rmdir.c: Delete. |
06bd6e57f889
use rmdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10168
diff
changeset
|
2096 |
10168
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2097 2010-01-21 John W. Eaton <jwe@octave.org> |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2098 |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2099 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove strcasecmp.c and |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2100 strncase.c from the list. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2101 * strcasecmp.c, strncase.c: Delete. |
37150167a72a
use c-strcase module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10167
diff
changeset
|
2102 |
10167
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2103 2010-01-21 John W. Eaton <jwe@octave.org> |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2104 |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2105 * Makefile.am (INCS): Remove getopt.h from the list. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2106 (LIBOCTAVE_C_SOURCES): Remove getopt.c and getopt1.c from the list. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2107 * getopt.c, getopt1.c, getopt.h: Delete. |
1929ba7bbfb2
use getopt-gnu module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
2108 |
10158
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2109 2010-01-20 John W. Eaton <jwe@octave.org> |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2110 |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2111 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-f.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2112 Array-fC.cc, Array-i.cc, Array-idx-vec.cc, Array-s.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2113 Array-str.cc, Array-util.cc, Array-voidp.cc, Array.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2114 CColVector.cc, CDiagMatrix.cc, CMatrix.cc, CNDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2115 CRowVector.cc, CSparse.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2116 CmplxGEPBAL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2117 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2118 DASRT.cc, DASSL.cc, DiagArray2.cc, EIG.cc, LSODE.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2119 MArray-C.cc, MArray-ch.cc, MArray-d.cc, MArray-f.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2120 MArray-fC.cc, MArray-i.cc, MArray-s.cc, MArray.cc, MArray2.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2121 MArrayN.cc, MDiagArray2.cc, MSparse-C.cc, MSparse-d.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2122 MSparse.cc, MatrixType.cc, ODES.cc, Quad.cc, Range.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2123 Sparse-C.cc, Sparse-b.cc, Sparse-d.cc, Sparse.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2124 SparseCmplxCHOL.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2125 SparseQR.cc, SparsedbleCHOL.cc, SparsedbleLU.cc, base-lu.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2126 boolMatrix.cc, boolNDArray.cc, boolSparse.cc, chMatrix.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2127 chNDArray.cc, cmd-edit.cc, cmd-hist.cc, dColVector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2128 dDiagMatrix.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2129 dSparse.cc, data-conv.cc, dbleAEPBAL.cc, dbleCHOL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2130 dbleGEPBAL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2131 dbleSCHUR.cc, dbleSVD.cc, dir-ops.cc, eigs-base.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2132 fCColVector.cc, fCDiagMatrix.cc, fCMatrix.cc, fCNDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2133 fCRowVector.cc, fCmplxAEPBAL.cc, fCmplxCHOL.cc, fCmplxGEPBAL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2134 fCmplxHESS.cc, fCmplxLU.cc, fCmplxQR.cc, fCmplxQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2135 fCmplxSCHUR.cc, fCmplxSVD.cc, fColVector.cc, fDiagMatrix.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2136 fEIG.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, file-ops.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2137 file-stat.cc, floatAEPBAL.cc, floatCHOL.cc, floatGEPBAL.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2138 floatHESS.cc, floatLU.cc, floatQR.cc, floatQRP.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2139 floatSCHUR.cc, floatSVD.cc, glob-match.cc, idx-vector.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2140 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2141 int8NDArray.cc, intNDArray.cc, kpse.cc, lo-ieee.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2142 lo-mappers.cc, lo-specfun.cc, lo-sysdep.cc, lo-utils.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2143 mach-info.cc, mx-inlines.cc, oct-alloc.cc, oct-env.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2144 oct-fftw.cc, oct-group.cc, oct-inttypes.cc, oct-md5.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2145 oct-passwd.cc, oct-rand.cc, oct-shlib.cc, oct-sort.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2146 oct-spparms.cc, oct-syscalls.cc, oct-time.cc, oct-uname.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2147 pathsearch.cc, prog-args.cc, regex-match.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2148 sparse-base-chol.cc, sparse-base-lu.cc, sparse-dmsolve.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2149 sparse-sort.cc, sparse-util.cc, str-vec.cc, uint16NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2150 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2151 f2c-main.c, lo-cieee.c, lo-cutils.c, oct-getopt.c, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2152 oct-rl-edit.c, oct-rl-hist.c, randgamma.c, randmtzig.c, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2153 randpoisson.c, Array-util.h, Array.h, Array2.h, Array3.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2154 ArrayN.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CNDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2155 CRowVector.h, CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2156 CmplxGEPBAL.h, CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2157 CmplxSCHUR.h, CmplxSVD.h, CollocWt.h, DAE.h, DAEFunc.h, DAERT.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2158 DAERTFunc.h, DASPK.h, DASRT.h, DASSL.h, DiagArray2.h, EIG.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2159 LSODE.h, MArray.h, MArray2.h, MArrayN.h, MDiagArray2.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2160 MSparse-defs.h, MSparse.h, Matrix.h, MatrixType.h, ODE.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2161 ODEFunc.h, ODES.h, ODESFunc.h, Quad.h, Range.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2162 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2163 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2164 base-dae.h, base-de.h, base-lu.h, base-min.h, boolMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2165 boolNDArray.h, boolSparse.h, byte-swap.h, chMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2166 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2167 dDiagMatrix.h, dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2168 data-conv.h, dbleAEPBAL.h, dbleCHOL.h, dbleGEPBAL.h, dbleHESS.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2169 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2170 dir-ops.h, fCColVector.h, fCDiagMatrix.h, fCMatrix.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2171 fCNDArray.h, fCRowVector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2172 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxLU.h, fCmplxQR.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2173 fCmplxQRP.h, fCmplxSCHUR.h, fCmplxSVD.h, fColVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2174 fDiagMatrix.h, fEIG.h, fMatrix.h, fNDArray.h, fRowVector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2175 file-ops.h, file-stat.h, floatAEPBAL.h, floatCHOL.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2176 floatGEPBAL.h, floatHESS.h, floatLU.h, floatQR.h, floatQRP.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2177 floatSCHUR.h, floatSVD.h, functor.h, glob-match.h, idx-vector.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2178 int16NDArray.h, int32NDArray.h, int64NDArray.h, int8NDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2179 intNDArray.h, kpse-xfns.h, lo-ieee.h, lo-mappers.h, lo-math.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2180 lo-specfun.h, lo-sysdep.h, lo-traits.h, lo-utils.h, mach-info.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2181 mx-base.h, mx-defs.h, mx-ext.h, mx-op-defs.h, oct-alloc.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2182 oct-cmplx.h, oct-env.h, oct-fftw.h, oct-getopt.h, oct-group.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2183 oct-inttypes.h, oct-md5.h, oct-passwd.h, oct-rand.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2184 oct-rl-edit.h, oct-rl-hist.h, oct-shlib.h, oct-sort.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2185 oct-spparms.h, oct-syscalls.h, oct-time.h, oct-uname.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2186 pathlen.h, pathsearch.h, prog-args.h, randgamma.h, randmtzig.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2187 randpoisson.h, regex-match.h, sparse-base-chol.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2188 sparse-base-lu.h, sparse-sort.h, sparse-util.h, statdefs.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2189 str-vec.h, sun-utils.h, sysdir.h, systime.h, syswait.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2190 uint16NDArray.h, uint32NDArray.h, uint64NDArray.h, |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2191 uint8NDArray.h: Remove Emacs local-variables settings. |
4c0cdbe0acca
remove Emacs local-variable settings from liboctave source files
John W. Eaton <jwe@octave.org>
parents:
10152
diff
changeset
|
2192 |
10152
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
2193 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
2194 |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
2195 * boolNDArray.cc (boolNDArray::cumsum): Sum directly in double to |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
2196 avoid a copy. |
b6b65e71049b
optimize cumsum with logicals
Jaroslav Hajek <highegg@gmail.com>
parents:
10150
diff
changeset
|
2197 |
10150 | 2198 2010-01-20 John W. Eaton <jwe@octave.org> |
2199 | |
2200 * dim-vector.h: Style fixes. Remove Emacs local variables block. | |
2201 Untabify. | |
2202 | |
10148 | 2203 2010-01-20 John W. Eaton <jwe@octave.org> |
2204 | |
2205 * Makefile.am (PRIVATE_INCS): New variable. List oct-glob.h | |
2206 here instead of in INCS. | |
2207 (liboctave_la_SOURCES): Include $(PRIVATE_INCS) in the list. | |
2208 | |
2209 * glob-match.cc (glob_match::match, glob_match::glob): Now const. | |
2210 Move definitions here from glob-match.h. | |
2211 | |
10147
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2212 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2213 |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2214 * mx-inlines.cc (mx_inline_any_r, mx_inline_all_r): New helper |
10604 | 2215 reductors. |
10147
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2216 (mx_inline_any, mx_inline_all): Call the here in row-wise reduction |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2217 with few enough columns. |
adc0143e9419
optimize any/all (x, 2) with small number of rows
Jaroslav Hajek <highegg@gmail.com>
parents:
10146
diff
changeset
|
2218 |
10146
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2219 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2220 |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2221 * lo-mappers.h (xmin (double, double), xmax (double, double), |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2222 xmin (float, float), xmax (float, float)): Inline definitions. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2223 * lo-mappers.cc (xmin (double, double), xmax (double, double), |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2224 xmin (float, float), xmax (float, float)): Remove from here. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2225 * mx-inlines.cc (mx_inline_xmin, mx_inline_xmax): Provide |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2226 specializations for real array-scalar and scalar-array cases. |
9597eea7fa36
inline xmin/xmax & optimize special cases
Jaroslav Hajek <highegg@gmail.com>
parents:
10145
diff
changeset
|
2227 |
10145
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2228 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2229 |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2230 * oct-norm.cc (norm_accumulator_p::accum, norm_accumulator_mp::accum): |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2231 Call octave_quit here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2232 (higham_subp): Also here. |
fa01c1670b3e
make p-norms breakable
Jaroslav Hajek <highegg@gmail.com>
parents:
10143
diff
changeset
|
2233 |
10143
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2234 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2235 |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2236 * mx-op-defs.h (SND_MINMAX_FCN, NDS_MINMAX_FCN, NDND_MINMAX_FCN): |
10604 | 2237 Simplify using mx_inlines machinery. |
10143
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2238 * dNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2239 * fNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2240 * CNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2241 * fCNDArray (min, max): Simplify. |
f3c34b518422
simplify pairwise min/max implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
10142
diff
changeset
|
2242 |
10142
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2243 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2244 |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2245 * Array.h: Substitute OCTAVE_QUIT -> octave_quit (). |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2246 * CMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2247 * CNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2248 * CSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2249 * CmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2250 * MArrayN.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2251 * MSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2252 * Sparse-diag-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2253 * Sparse-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2254 * Sparse-perm-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2255 * Sparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2256 * Sparse.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2257 * SparseCmplxQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2258 * SparseQR.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2259 * boolSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2260 * bsxfun-defs.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2261 * dMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2262 * dNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2263 * dSparse.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2264 * dbleGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2265 * fCMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2266 * fCNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2267 * fCmplxGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2268 * fMatrix.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2269 * fNDArray.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2270 * file-ops.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2271 * floatGEPBAL.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2272 * lo-utils.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2273 * mx-op-defs.h: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2274 * oct-fftw.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2275 * oct-norm.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2276 * oct-rand.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2277 * sparse-dmsolve.cc: Ditto. |
829e69ec3110
make OCTAVE_QUIT a function
Jaroslav Hajek <highegg@gmail.com>
parents:
10140
diff
changeset
|
2278 |
10140
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2279 2010-01-20 Jaroslav Hajek <highegg@gmail.com> |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2280 |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2281 * bsxfun-defs.cc (BSXFUN_STDOP_DEFS_MXLOOP): Fix reversed min/max |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2282 defs. |
36ea14c8992d
fix reversed min/max in bsxfun
Jaroslav Hajek <highegg@gmail.com>
parents:
10139
diff
changeset
|
2283 |
10139
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
2284 2010-01-20 John W. Eaton <jwe@octave.org> |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
2285 |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
2286 * glob-match.h: Update copyright. |
93c74edcc3e3
glob-match.h: update copyright
John W. Eaton <jwe@octave.org>
parents:
10138
diff
changeset
|
2287 |
10138
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2288 2010-01-20 John W. Eaton <jwe@octave.org> |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2289 |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2290 * Makefile.am (INCS): Include oct-glob.h in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2291 (LIBOCTAVE_CXX_SOURCES): Include oct-glob.cc in the list. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2292 * oct-glob.h, oct-glob.cc: New files. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2293 * glob-match.cc: (glob_match::match): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2294 (glob_match::glob_internal): Move internals to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2295 (single_match_exists): Move to oct-glob.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2296 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2297 * glob-match.h Include oct-glob.h. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2298 (glob_match::glob): Call octave_glob to do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2299 (glob_match::glob_internal): Delete decl. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2300 (glob_match::match (const string_vector&)): Move here from |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2301 glob-match.cc. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2302 (glob_match::match (const std::string&)): Call octave_fnmatch to |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2303 do the real work. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2304 (glob_match::fnmatch_flags): Rename from flags. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2305 (glob_match::opts_to_fnmatch_flags): New function. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2306 (glob_match::glob_match): Use it. |
805a83ecd3da
avoid conflict between glob.h definition of glob and glob_match::glob function
John W. Eaton <jwe@octave.org>
parents:
10124
diff
changeset
|
2307 |
10124
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
2308 2010-01-17 Jaroslav Hajek <highegg@gmail.com> |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
2309 |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
2310 * CMatrix.cc (xgemm): Use octave_idx_type rather than int. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
2311 * fCMatrix.cc (xgemm): Ditto. |
e5c6600e3400
use octave_idx_type where needed
Jaroslav Hajek <highegg@gmail.com>
parents:
10123
diff
changeset
|
2312 |
10123
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2313 2010-01-16 Michael Goffioul <michael.goffioul@gmail.com> |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2314 |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2315 * oct-time.cc: Avoid to include nonneeded headers from Win32 API, |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2316 especially winsock.h. Include <sys/time.h> unconditionally, as it is |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2317 now provided by gnulib, in order to get gettimeofday defined. |
8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10115
diff
changeset
|
2318 |
10115
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2319 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2320 |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2321 * Array.cc (Array<T>::insert): Rewrite using assign. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2322 (Array<T>::insert2, Array<T>::insertN): Remove. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2323 * Array.h: Update declarations. Add brief documentation. |
ed49cef7e005
simplify Array::insert methods
Jaroslav Hajek <highegg@gmail.com>
parents:
10114
diff
changeset
|
2324 |
10114
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
2325 2010-01-15 Jaroslav Hajek <highegg@gmail.com> |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
2326 |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
2327 * Array-b.cc: Inline ascending and descending sort. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
2328 (do_bool_partition): New helper template function. |
e4936c129cbd
optimize sorting of bools
Jaroslav Hajek <highegg@gmail.com>
parents:
10113
diff
changeset
|
2329 (octave_sort<bool>::sort): Provide specializations. |
11088 | 2330 |
10113 | 2331 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
2332 | |
2333 * Array.cc (Array<T>::insert (const Array<T>&, const | |
2334 Array<octave_idx_type>&): Allow less dimensions than indices. | |
2335 | |
10107
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
2336 2010-01-14 Jaroslav Hajek <highegg@gmail.com> |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
2337 |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
2338 * chNDArray.h: Declare relational bsxfun ops. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
2339 * chNDArray.cc: Define them. |
fd262afea1d1
optimize bsxfun for chars
Jaroslav Hajek <highegg@gmail.com>
parents:
10105
diff
changeset
|
2340 |
10105
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
2341 2010-01-14 John W. Eaton <jwe@octave.org> |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
2342 |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
2343 * CMatrix.cc: Fix prototype for zherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
2344 * fCMatrix.cc: Fix prototype for cherk. |
018d92ad0730
fix prototypes for zherk and cherk
John W. Eaton <jwe@octave.org>
parents:
10102
diff
changeset
|
2345 |
10102
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
2346 2010-01-14 John W. Eaton <jwe@octave.org> |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
2347 |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
2348 * oct-rl-edit.c (octave_rl_set_name): Save arg before setting |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
2349 rl_terminal_name. |
8b4e3388a254
oct-rl-edit.c (octave_rl_set_terminal_name): save term string before setting rl_terminal_name
John W. Eaton <jwe@octave.org>
parents:
10101
diff
changeset
|
2350 |
10101
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
2351 2010-01-13 John W. Eaton <jwe@octave.org> |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
2352 |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
2353 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep (T x)): |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
2354 Initialize dummy variable. |
b51848e95e4b
cleanups to avoid valgrind warnings
John W. Eaton <jwe@octave.org>
parents:
10098
diff
changeset
|
2355 |
10098
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
2356 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
2357 |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
2358 * Array.cc (Array<T>::compute_index): Generalize to the case of |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
2359 unequal lengths. |
d3451c1496f8
allow the general case in Array<T>::compute_index
Jaroslav Hajek <highegg@gmail.com>
parents:
10095
diff
changeset
|
2360 |
10095
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2361 2010-01-13 Jaroslav Hajek <highegg@gmail.com> |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2362 |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2363 * dim-vector.h (dim_vector::chop_trailing_singletons): Only uniquify |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2364 if really needed. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2365 * Array.h (Array<T>::Array (T*, const dim_vector&)): Call |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2366 chop_trailing_singletons. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2367 (Array<T>::Array (const Array<T>&, const dim_vector&, |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2368 octave_idx_type...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2369 (Array<T>::Array (const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2370 (Array<T>::Array (const dim_vector&, const T&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2371 (Array<T>::chop_trailing_singletons): Deprecate. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2372 * Array.cc (Array::Array(const Array&, const dim_vector&)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2373 (Array::index (const Array<idx_vector>&, ...)): Ditto. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2374 (Array<T>::permute): Don't call deprecate method here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2375 (Array<T>::assign): Neither here. |
eb8ac0eed9f1
always chop dimension vector when constructing Arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
10085
diff
changeset
|
2376 |
11088 | 2377 2010-01-11 Rik <octave@nomad.inbox5.com> |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
2378 |
10604 | 2379 * Makefile.am: Remove unnecessary use of |
2380 simple_move_if_change_rule to allow Make to update timestamps. | |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10075
diff
changeset
|
2381 |
10075
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2382 2010-01-08 Jaroslav Hajek <highegg@gmail.com> |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2383 |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2384 * Array.h (Array<T>::crefT): New helper typedef. |
10604 | 2385 (Array<T>::elem const, Array<T>::xelem const, |
10075
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2386 Array<T>::checkelem const, Array<T>::operator () const): Return crefT. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2387 (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2388 * Array.cc (Array<T>::range_error const): Remove overloads. |
84b0725f4b09
return class types by reference in const Array element access functions
Jaroslav Hajek <highegg@gmail.com>
parents:
10072
diff
changeset
|
2389 |
10072
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
2390 2010-01-07 John W. Eaton <jwe@octave.org> |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
2391 |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
2392 * oct-time.cc (octave_time::stamp): Assume gettimeofday is |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
2393 available and that it takes two arguments. |
0b0bf1fd1ed7
use gettimeofday module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10068
diff
changeset
|
2394 |
10068
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
2395 2010-01-07 Jaroslav Hajek <highegg@gmail.com> |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
2396 |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
2397 * lo-utils.cc (octave_fgets (FILE *, bool&)): Add OCTAVE_QUIT at the |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
2398 end. |
ca93f583573d
handle interrupts octave_fgets
Jaroslav Hajek <highegg@gmail.com>
parents:
10061
diff
changeset
|
2399 |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
2400 2010-01-05 John W. Eaton <jwe@octave.org> |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
2401 |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
2402 * Makefile.am (AM_CPPFLAGS): Include @CPPFLAGS@ and -I../libgnu |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
2403 in the list. |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10042
diff
changeset
|
2404 |
10042
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
2405 2009-12-30 Jaroslav Hajek <highegg@gmail.com> |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
2406 |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
2407 * idx-vector.cc (idx_vector::maybe_reduce): Implement reduction rule |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
2408 for subsequent ones () indices. |
b7915ebe8acf
implement index reduction rule for multiple constant ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
10038
diff
changeset
|
2409 |
10038
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2410 2009-12-28 John W. Eaton <jwe@octave.org> |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2411 |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2412 * file-ops.cc (fle_ops::mkdir_internal, |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2413 file_ops::mkfifo_internal): New private static functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2414 * file-ops.h (file_ops::mkdir, file_ops::mkdir): Move |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2415 definitions here from file-ops.cc. Forward to X_internal functions. |
62eb444704ba
file-ops.cc: avoid problems if sys/stat.h #defines mkdir or mkfifo
John W. Eaton <jwe@octave.org>
parents:
10029
diff
changeset
|
2416 |
10029
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
2417 2009-12-26 John W. Eaton <jwe@octave.org> |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
2418 |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
2419 * file-stat.cc (lstat): Delete replacement function. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
2420 (file_fstat::update_internal): Assume fstat is available. |
3b2f81d5a6dc
use gnulib modules for fstat, lstat, and stat
John W. Eaton <jwe@octave.org>
parents:
10027
diff
changeset
|
2421 |
10027
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2422 2009-12-25 John W. Eaton <jwe@octave.org> |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2423 |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2424 * file-ops.cc (file_ops::mkdir): Assume we have an mkdir |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2425 function that takes two arguments. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2426 * mkdir.c: Delete. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2427 * Makefile.am (LIBOCTAVE_C_SOURCES): Remove mkdir.c from the list. |
0f312e11957e
use mkdir module from gnulib
John W. Eaton <jwe@octave.org>
parents:
10025
diff
changeset
|
2428 |
10025
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2429 2009-12-25 John W. Eaton <jwe@octave.org> |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2430 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2431 * oct-md5.cc (oct_md5_result_to_str): New function. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2432 (oct_md5, oct_md5_file): Simplify using gnulib md5 functions and |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2433 oct_md5_result_to_str. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2434 |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2435 * Makefile.am (INCS): Remove md5.h from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2436 (LIBOCTAVE_C_SOURCES): Remove md5.c from the list. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2437 * md5.c, md5.h: Delete. |
acd5e9df38f8
use gnuplib crypto/md5 module
John W. Eaton <jwe@octave.org>
parents:
10004
diff
changeset
|
2438 |
11088 | 2439 2009-12-19 Rik <octave@nomad.inbox5.com> |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
2440 |
10604 | 2441 * Makefile.am: Eliminate TOPDIR variable in favor of built-in |
2442 automake variables of top_builddir and top_srcdir. | |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9994
diff
changeset
|
2443 |
9994
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2444 2009-12-17 John W. Eaton <jwe@octave.org> |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2445 |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2446 * glob-match.h, glob-match.cc (glob_match::glob_internal): |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2447 Rename from glob_match::glob and make private. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2448 * glob-match.h (glob_match::glob): Forward to glob_internal. |
fdc3a43c0be8
avoid conflict with gnulib defining glob to be rpl_glob
John W. Eaton <jwe@octave.org>
parents:
9987
diff
changeset
|
2449 |
9987
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
2450 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
2451 |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
2452 * Array.cc (Array<T>::index (const idx_vector&)): Fix determining of |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
2453 result dimensions. |
bb30843c4929
fix subscripting of vectors by N-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9986
diff
changeset
|
2454 |
9986
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2455 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2456 |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2457 * Range.cc (Range::elem, Range::checkelem, Range::index): |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2458 New methods. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2459 * Range.h: Declare them. |
672e1b49e01e
optimize indexing of ranges by single subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9985
diff
changeset
|
2460 |
9985
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
2461 2009-12-15 Jaroslav Hajek <highegg@gmail.com> |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
2462 |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
2463 * idx-vector.h (idx_vector::loop, idx_vector::bloop): Fix behavior for |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
2464 masks. |
43a29eeda994
fix idx_vector::loop for masks
Jaroslav Hajek <highegg@gmail.com>
parents:
9979
diff
changeset
|
2465 |
11088 | 2466 2009-12-13 Rik <octave@nomad.inbox5.com> |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
2467 |
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
2468 * Makefile.am: Use DISTCLEANFILES rather than distclean-local rule. |
10604 | 2469 Use PERL variable defined by autoconf rather than direct call. |
2470 Use simple_move_if_change rule to reduce useless compiles if | |
2471 OPTS_INC have not changed. | |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9975
diff
changeset
|
2472 |
9975
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
2473 2009-12-12 Jaroslav Hajek <highegg@gmail.com> |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
2474 |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
2475 * oct-shlib.h: Remove stray declarations. |
14ed68363284
remove stray decls from oct-shlib.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9971
diff
changeset
|
2476 |
9971
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2477 2009-12-11 John W. Eaton <jwe@octave.org> |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2478 |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2479 * oct-shlib.cc (octave_dlopen_shlib::octave_dlopen_shlib): |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2480 Print filename along with message from dlerror. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2481 Reverse sense of test. |
d0680ace5fcb
oct-shlib.cc (octave_dlopen_shlib): reverse sense of test and improve error message
John W. Eaton <jwe@octave.org>
parents:
9967
diff
changeset
|
2482 |
9958
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
2483 2009-12-09 Jaroslav Hajek <highegg@gmail.com> |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
2484 |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
2485 * oct-shlib.h (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
2486 * oct-shlib.cc (octave_shlib): Rewrite. |
80432f0ee895
improve octave_shlib for safer shared libs treatment
Jaroslav Hajek <highegg@gmail.com>
parents:
9947
diff
changeset
|
2487 |
9947
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
2488 2009-12-09 John W. Eaton <jwe@octave.org> |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
2489 |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
2490 * oct-time.cc (octave_base_tm::strftime): Call nstrftime instead |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
2491 of my_strftime. |
31436dcf7d0f
call nstrftime, not my_strftime
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
2492 |
9946 | 2493 2009-12-09 John W. Eaton <jwe@octave.org> |
2494 | |
2495 * oct-time.cc: Include strftime.h. Don't provide decl for strftime. | |
2496 (octave_base_tm::strftime): Call my_strftime instead of ::strftime. | |
2497 * Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/libgnu to the list. | |
2498 (LINK_DEPS): Add ../libgnu/libgnu.la to the list. | |
2499 (LIBOCTAVE_C_SOURCES): Remove strftime.c from the list. | |
2500 * strftime.c: Delete. | |
2501 | |
9941
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2502 2009-12-08 Michael Goffioul <michael.goffioul@gmail.com> |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2503 |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2504 * Array-d.cc (Array<double>::is_sorted): Declare as OCTAVE_API. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2505 * Array-f.cc (Array<float>::is_sorted): Ditto. |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2506 * lo-sysdep.cc: Undef min and max after including windows.h |
1369f13ae6b2
several fixes by M. Goffioul
Jaroslav Hajek <highegg@gmail.com>
parents:
9922
diff
changeset
|
2507 |
9922
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
2508 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
2509 |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
2510 * Array-d.cc (Array<double>::is_sorted): Optimized specialization. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
2511 * Array-f.cc (Array<float>::is_sorted): Ditto. |
3a8327d51ed4
optimize issorted for doubles & floats
Jaroslav Hajek <highegg@gmail.com>
parents:
9921
diff
changeset
|
2512 |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2513 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2514 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2515 * oct-sort.cc (lookup_binary): Remove. |
10604 | 2516 (octave_sort<T>::lookup (const T*, octave_idx_type, const T&, comp)): |
2517 Move code here. | |
9921
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2518 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2519 octave_idx_type, octave_idx_type *, comp)): Remove offset parameter. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2520 Use a simple sequence of lookups. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2521 (octave_sort<T>::lookup (const T*, octave_idx_type, const T*, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2522 octave_idx_type, octave_idx_type *)): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2523 (octave_sort<T>::lookupm, octave_sort<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2524 (octave_sort<T>::lookup_sorted): New overloaded method. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2525 |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2526 * Array.cc (Array<T>::lookup (const Array<T>&, sortmode)): Remove |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2527 linf & rinf params. Rewrite using is_sorted to check for sortedness, |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2528 call octave_sort::lookup_sorted to do the sorted merge. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2529 (Array<T>::lookupm, Array<T>::lookupb): Remove. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2530 (NO_INSTANTIATE_ARRAY_SORT): Update. |
7c8392a034e6
fix & improve lookup API
Jaroslav Hajek <highegg@gmail.com>
parents:
9920
diff
changeset
|
2531 |
9920
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2532 2009-12-05 Jaroslav Hajek <highegg@gmail.com> |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2533 |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2534 * Array.cc (sortrows_comparator): Rename to safe_comparator. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2535 (Array<T>::is_sorted): Use it here. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2536 * Array-d.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2537 * Array-f.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2538 * Array-C.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2539 * Array-fC.cc: Update. |
56fbe170d354
fix issorted with NaNs in middle
Jaroslav Hajek <highegg@gmail.com>
parents:
9906
diff
changeset
|
2540 |
9906 | 2541 2009-12-03 John W. Eaton <jwe@octave.org> |
2542 | |
2543 * Makefile.am (BUILT_NODISTFILES): New variable. | |
2544 | |
9894
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2545 2009-12-01 Jaroslav Hajek <highegg@gmail.com> |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2546 |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2547 * idx-vector.cc (idx_vector::idx_range_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2548 idx_vector::idx_scalar_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2549 idx_vector::idx_vector_rep::unconvert, |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2550 idx_vector::idx_mask_rep::unconvert): New methods. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2551 (idx_vector::unconvert): Use them here. Add mask output. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2552 * idx-vector.h: Update decls. |
83bd7f34f9da
improve idx_vector->octave_value conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
9886
diff
changeset
|
2553 |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2554 2009-11-28 Jaroslav Hajek <highegg@gmail.com> |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2555 |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2556 * dim-vector.h (dim_vector::zero_by_zero): New method. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2557 * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. |
9967 | 2558 * Array.cc (Array<T>::assign): Minor tweaks. Optimize |
9886
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2559 A = []; A(1:m,1:n,1:k) = X for all cases. Use a shallow copy |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2560 for all colon-equivalent indices. |
cddd5c3d5f04
fix & extend special-case optimizations for indexed assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
9879
diff
changeset
|
2561 |
9879
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2562 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2563 |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2564 * idx-vector.h (idx_vector::index_class): New member: class_mask. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2565 (idx_vector::idx_mask_rep): New class. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2566 (idx_vector::idx_vector (bool)): Construct idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2567 (idx_vector::unmask): New method decl. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2568 * idx-vector.cc (idx_vector::idx_vector (const boolNDArray&)): |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2569 Construct idx_mask_rep conditionally. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2570 (idx_vector::unmask): New method. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2571 (idx_vector::unconvert): Make non-const. unmask when called on a mask |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2572 vector. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2573 (idx_vector::is_cont_range): Check also for idx_mask_rep. |
034677ab6865
smarter treatment of mask indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9878
diff
changeset
|
2574 |
9878
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2575 2009-11-27 Jaroslav Hajek <highegg@gmail.com> |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2576 |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2577 * Array.cc (Array<T>::nnz): New method. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2578 * Array.h: Declare it. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2579 * MArray.h (MArray<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2580 * MArrayN.h (MArrayN<T>::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2581 * boolNDArray.h (boolNDArray::nnz): Remove. |
ead4f9c82a9a
implement Array<T>::nnz
Jaroslav Hajek <highegg@gmail.com>
parents:
9862
diff
changeset
|
2582 |
9862
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2583 2009-11-25 Jaroslav Hajek <highegg@gmail.com> |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2584 |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2585 * dbleCHOL.cc (CHOL::init): Output LAPACK's info. Resize matrix if |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2586 nonzero. Use smarter copying. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2587 * floatCHOL.cc (FloatCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2588 * CmplxCHOL.cc (ComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2589 * fCmplxCHOL.cc (FloatComplexCHOL::init): Ditto. |
c0aeedd8fb86
improve chol Matlab compatibility
Jaroslav Hajek <highegg@gmail.com>
parents:
9858
diff
changeset
|
2590 |
9858
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2591 2009-11-24 Jaroslav Hajek <highegg@gmail.com> |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2592 |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2593 * MArrayN.cc (MArrayN::idx_add): New methods. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2594 * MArrayN.h: Declare them. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2595 * MArray.cc, MArray.h: Remove from here. |
47c5af1868df
move idx_add methods to MArrayN
Jaroslav Hajek <highegg@gmail.com>
parents:
9840
diff
changeset
|
2596 |
9840
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2597 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2598 |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2599 * dim-vector.h (dim_vector::safe_numel): New method. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2600 * Array.h (Array<T>::Array (const dim_vector&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2601 Array<T>::Array (const dim_vector&, const T&), |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2602 Array<T>::Array (T *, const dim_vector&)): Use it here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2603 * Array.cc (Array<T>::clear (const dim_vector&)): Also here. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2604 (Array<T>::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2605 * Array2.h (Array2::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2606 * Array3.h (Array3::get_size): Remove. |
c0b54271904b
improve safe numel() calculation for arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9839
diff
changeset
|
2607 |
9839
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
2608 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
2609 |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
2610 * Array.cc (Array::clear (const dim_vector&)): Use get_size. |
3e8b4c80ae63
use Array::get_size in Array::clear
Jaroslav Hajek <highegg@gmail.com>
parents:
9835
diff
changeset
|
2611 |
9835
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2612 2009-11-19 Jaroslav Hajek <highegg@gmail.com> |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2613 |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2614 * lo-mappers.cc (do_erfinv): New static function. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2615 (erfinv (double), erfinv (float)): New mappers. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2616 * lo-mappers.h: Declare them. |
1bb1ed717d2f
implement built-in erfinv
Jaroslav Hajek <highegg@gmail.com>
parents:
9831
diff
changeset
|
2617 |
9831
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
2618 2009-11-18 David Grundberg <davidg@cs.umu.se> |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
2619 |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
2620 * str-vec.cc (string_vector::list_in_columns): Avoid crash on |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
2621 empty arguments from list_in_columns. |
737624cb7560
list_in_columns: Don't SIGFPE when given empty first argument
David Grundberg <davidg@cs.umu.se>
parents:
9829
diff
changeset
|
2622 |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
2623 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
2624 |
9967 | 2625 * Sparse.h (read_sparse_matrix): Fix order of tests and reads. |
9829
8fd88cc36fa4
fix loading sparse matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9827
diff
changeset
|
2626 |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2627 2009-11-18 Jaroslav Hajek <highegg@gmail.com> |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2628 |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2629 * mx-inlines.cc (mx_inline_any_negative, mx_inline_pow): New loops. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2630 (DEFMXMAPPER2X): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2631 * bsxfun-decl.h (BSXFUN_OP2_DECL): New macro. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2632 * bsxfun-defs.cc (BSXFUN_OP2_DEF, BSXFUN_OP2_DEF_MXLOOP): New macros. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2633 (do_bsxfun_op): Use OCTAVE_QUIT. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2634 * dNDArray.cc (NDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2635 (NDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2636 (bsxfun_pow (const NDArray&, const NDArray&), |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2637 bsxfun_pow (const ComplexNDArray&, const NDArray&)): New functions. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2638 * dNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2639 * fNDArray.cc (FloatNDArray::all_integers (void)): New method. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2640 (FloatNDArray::any_element_is_negative): Use mx_inline_any_negative. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2641 (bsxfun_pow (const FloatNDArray&, const FloatNDArray&), |
10604 | 2642 bsxfun_pow (const FloatComplexNDArray&, const FloatNDArray&)): |
2643 New functions. | |
9827
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2644 * fNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2645 * CNDArray.cc (bsxfun_pow (const ComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2646 ComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2647 * CNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2648 * fCNDArray.cc (bsxfun_pow (const FloatComplexNDArray&, const |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2649 FloatComplexNDArray&)): New function. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2650 * fCNDArray.h: Update. |
c15a5ed0da58
optimize bsxfun (@power, ...)
Jaroslav Hajek <highegg@gmail.com>
parents:
9825
diff
changeset
|
2651 |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2652 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2653 |
9967 | 2654 * CNDArray.cc (ComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2655 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2656 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. |
9967 | 2657 * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2658 Use mx_inline_all_real. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2659 * fCMatrix.cc (FloatComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2660 * CDiagMatrix.cc (ComplexDiagMatrix::all_elements_are_real): Ditto. |
10604 | 2661 * fCDiagMatrix.cc (FloatComplexDiagMatrix::all_elements_are_real): |
2662 Ditto. | |
9825
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2663 * CSparse.cc (SparseComplexMatrix::all_elements_are_real): Ditto. |
7483fe200fab
narrow complex values with negative zero imaginary parts
Jaroslav Hajek <highegg@gmail.com>
parents:
9821
diff
changeset
|
2664 |
9821 | 2665 2009-11-17 Jaroslav Hajek <highegg@gmail.com> |
2666 | |
2667 * base-aepbal.h (permuting_vector): Fix lower part swapping. | |
2668 | |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
2669 2009-11-13 John W. Eaton <jwe@octave.org> |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
2670 |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
2671 * Makefile.am (liboctave_la_CPPFLAGS): Add @OCTAVE_DLL_DEFS@ to |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
2672 the list of flags. |
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9814
diff
changeset
|
2673 |
9814
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
2674 2009-11-13 Jaroslav Hajek <highegg@gmail.com> |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
2675 |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
2676 * mx-inlines.cc (mx_inline_any_nan): Rewrite. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
2677 (mx_inline_all_real): New reduction loop. |
2b29f3472e20
add a couple of useful loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9812
diff
changeset
|
2678 |
9812
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2679 2009-11-12 Jaroslav Hajek <highegg@gmail.com> |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2680 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2681 * lo-mappers.cc ( rc_acos, rc_acos, rc_acosh, rc_acosh, rc_asin, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2682 rc_asin, rc_atanh, rc_atanh, rc_log, rc_log, rc_xlog2, rc_log2, |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2683 rc_log10, rc_log10, rc_sqrt, rc_sqrt): New mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2684 * lo-mappers.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2685 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2686 * lo-specfun.cc (rc_lgamma, rc_lgamma, rc_log1p, rc_log1p): New |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2687 mappers. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2688 * lo-specfun.h: Declare them. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2689 * Array.h (Array<T>::map): Unroll loop to reduce OCTAVE_QUIT checking. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2690 Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2691 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2692 * MArray.h (MArray<T>::map): Provide function-reference overloads. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2693 * Array2.h (Array2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2694 * MArray2.h (MArray2<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2695 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2696 * Sparse.h (Sparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2697 * MSparse.h (MSparse<T>::map): Ditto. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2698 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2699 * dNDArray.h (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2700 * dNDArray.cc (NDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2701 * fNDArray.h (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2702 * fNDArray.cc (FloatNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2703 * CNDArray.h (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2704 * CNDArray.cc (ComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2705 * fCNDArray.h (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2706 * fCNDArray.cc (FloatComplexNDArray::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2707 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2708 * dMatrix.h (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2709 * dMatrix.cc (Matrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2710 * fMatrix.h (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2711 * fMatrix.cc (FloatMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2712 * CMatrix.h (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2713 * CMatrix.cc (ComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2714 * fCMatrix.h (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2715 * fCMatrix.cc (FloatComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2716 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2717 * dRowVector.h (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2718 * dRowVector.cc (RowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2719 * fRowVector.h (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2720 * fRowVector.cc (FloatRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2721 * CRowVector.h (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2722 * CRowVector.cc (ComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2723 * fCRowVector.h (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2724 * fCRowVector.cc (FloatComplexRowVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2725 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2726 * dColVector.h (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2727 * dColVector.cc (ColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2728 * fColVector.h (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2729 * fColVector.cc (FloatColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2730 * CColVector.h (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2731 * CColVector.cc (ComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2732 * fCColVector.h (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2733 * fCColVector.cc (FloatComplexColumnVector::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2734 |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2735 * dSparse.h (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2736 * dSparse.cc (SparseMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2737 * CSparse.h (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2738 * CSparse.cc (SparseComplexMatrix::map): Remove. |
f80c566bc751
improve unary mapper system
Jaroslav Hajek <highegg@gmail.com>
parents:
9805
diff
changeset
|
2739 |
9805
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
2740 2009-11-11 John W. Eaton <jwe@octave.org> |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
2741 |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
2742 * lo-ieee.cc (octave_ieee_init): Improve comment about systems |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
2743 without IEEE floating point format. |
bb70d16cca3b
fail at configure time if IEEE floating point format is not detected
John W. Eaton <jwe@octave.org>
parents:
9800
diff
changeset
|
2744 |
9800
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2745 2009-11-11 Jaroslav Hajek <highegg@gmail.com> |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2746 |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2747 * mx-inlines.cc (mx_inline_map): New template loop. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2748 (DEFMXMAPPER): New macro. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2749 (DEFMXMAPPER2): Rename from DEFMXMAPPER. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2750 (do_mx_unary_map): New applier. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2751 (mx_inline_real, mx_inline_complex): New loops. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2752 * dNDArray.cc (NDArray::abs, NDArray::isnan, NDArray::isinf, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2753 NDArray::isfinite, real, imag): Use new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2754 * fNDArray.cc (FloatNDArray::abs, FloatNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2755 FloatNDArray::isinf, FloatNDArray::isfinite, real, imag): Ditto. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2756 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2757 ComplexNDArray::isinf, ComplexNDArray::isfinite, conj): Use new |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2758 constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2759 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::isnan, |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2760 FloatComplexNDArray::isinf, FloatComplexNDArray::isfinite, conj): Use |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2761 new constructs. |
ef4c4186cb47
improve some mx_inline loops
Jaroslav Hajek <highegg@gmail.com>
parents:
9794
diff
changeset
|
2762 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2763 2009-11-10 John W. Eaton <jwe@octave.org> |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2764 |
11088 | 2765 * mx-ops, sparse-mx-ops, vx-ops, vx-ops: |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2766 Add comment about updating. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2767 * Makefile.am, config-ops.sh: New files. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2768 * Makefile.in: Delete. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9790
diff
changeset
|
2769 |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2770 2009-11-09 Jaroslav Hajek <highegg@gmail.com> |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2771 |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2772 * dSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2773 * dSparse.cc: Update. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2774 * CSparse.h (Sparse::max): Use Array<octave_idx_type>. |
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2775 * CSparse.cc: Update. |
9790
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2776 * dNDArray.h (NDArray::max, NDArray::min, NDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2777 NDArray::cummin, NDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2778 * fNDArray.h (FloatNDArray::max, FloatNDArray::min, FloatNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2779 FloatNDArray::cummin, FloatNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2780 * CNDArray.h (ComplexNDArray::max, ComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2781 ComplexNDArray::cummax, ComplexNDArray::cummin, ComplexNDArray::diff): |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2782 Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2783 * fCNDArray.h (FloatComplexNDArray::max, FloatComplexNDArray::min, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2784 FloatComplexNDArray::cummax, FloatComplexNDArray::cummin, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2785 FloatComplexNDArray::diff): Use dim = -1 as default. |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2786 * intNDArray.h (intNDArray::max, intNDArray::min, intNDArray::cummax, |
a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
9789
diff
changeset
|
2787 intNDArray::cummin, intNDArray::diff): Use dim = -1 as default. |
9789
97f5de91427b
support sparse templated extractors
Jaroslav Hajek <highegg@gmail.com>
parents:
9780
diff
changeset
|
2788 |
9780
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2789 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2790 |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2791 * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2792 octave_fill -> fill_or_memset, octave_new -> no_ctor_new, |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2793 octave_delete -> no_ctor_delete. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2794 * Array.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2795 * Array.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2796 * idx-vector.h: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2797 * idx-vector.cc: Update. |
6dafc60dde31
rename oct-mem functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9773
diff
changeset
|
2798 |
9773
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2799 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2800 |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2801 * oct-mem.h: New source. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2802 * Makefile.in: Include it. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2803 * Array.h (Array<T>::ArrayRep::ArrayRep (...)): Use octave_new, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2804 octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2805 (Array<T>::ArrayRep::~ArrayRep): Use octave_delete. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2806 (Array<T>::coerce): Use octave_new. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2807 * Array.cc (Array<T>::fill, rec_resize_helper::do_resize_fill, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2808 Array<T>::resize_fill, rec_permute_helper::do_permute, |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2809 Array<T>::delete_elements): Use octave_ucopy and octave_fill. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2810 * idx-vector.h (index_vector::index, index_vector::assign): Use |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2811 octave_ucopy. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2812 * idx-vector.cc (index_vector::copy_data): Ditto. |
01f897d8a130
optimize memory manipulation by arrays & indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9772
diff
changeset
|
2813 |
9772
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
2814 2009-11-03 Jaroslav Hajek <highegg@gmail.com> |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
2815 |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
2816 * idx-vector.cc (idx_vector::maybe_reduce): Implement (i:k:end, :) |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
2817 and (i:k:end, p:q) reductions. |
3ac8ea48279b
improve index reduction rules
Jaroslav Hajek <highegg@gmail.com>
parents:
9766
diff
changeset
|
2818 |
9766
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
2819 2009-11-02 Jaroslav Hajek <highegg@gmail.com> |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
2820 |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
2821 * mx-inlines.cc (twosum_accum): Remove FLOAT_TRUNCATE. |
82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9760
diff
changeset
|
2822 |
9760
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
2823 2009-10-28 John W. Eaton <jwe@octave.org> |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
2824 |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
2825 * PermMatrix.cc: Don't include error.h. |
c6b97d218345
PermMatrix.cc: don't include error.h
John W. Eaton <jwe@octave.org>
parents:
9759
diff
changeset
|
2826 |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2827 2009-10-27 David Bateman <dbateman@free.fr> |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2828 |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2829 * SparsedbleLU.cc (SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2830 const Matrix&, bool), SparseLU::SparseLU (const SparseMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2831 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2832 bool)): Fix test for valid pivot tolerance. |
9967 | 2833 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU |
2834 (const SparseComplexMatrix&, const Matrix&, bool), | |
9759
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2835 SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2836 const ColumnVector&, const Matrix&, boo, bool, double, bool, |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2837 bool)): Ditto. |
97de6c916498
Fix test for valid threshold value in sparse LU factorization
David Bateman <dbateman@free.fr>
parents:
9757
diff
changeset
|
2838 |
9757
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2839 2009-10-23 Jaroslav Hajek <highegg@gmail.com> |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2840 |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2841 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2842 (octave_idx_type, octave_idx_type, octave_idx_type)): |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2843 Improve checking. |
95ad9c2a27e2
fix idx_vector construction checks
Jaroslav Hajek <highegg@gmail.com>
parents:
9748
diff
changeset
|
2844 |
9748
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2845 2009-10-21 John W. Eaton <jwe@octave.org> |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2846 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2847 * oct-time.h (octave_time::octave_time (time_t t, int us)): |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2848 New constructor. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2849 (operator + (const octave_time&, const octave_time&)): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2850 |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2851 * file-stat.h (base_file_stat::time_resolution): New function. |
d6b2b708b6b0
load-path: compare directory timestamps with tolerance
John W. Eaton <jwe@octave.org>
parents:
9743
diff
changeset
|
2852 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2853 2009-10-20 Jaroslav Hajek <highegg@gmail.com> |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2854 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2855 * bsxfun-decl.h, bsxfun-defs.cc: New sources. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2856 * Makefile.in: Add them. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2857 * dim-vector.h (dim_vector::compute_index, |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2858 dim_vector::increment_index): Fix. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2859 * mx-inlines.cc (DEFMXMAPPER, DEFMXLOCALMAPPER): New macros. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2860 (mx_inline_xmin, mx_inline_xmax): New loops. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2861 (mx_inline_fun): Remove. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2862 * oct-inttypes.h (xmin (const octave_int<T>&, const octave_int<T>&), |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2863 xmax (const octave_int<T>&, const octave_int<T>&)): |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2864 New inline functions. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2865 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2866 * CNDArray.cc: Define bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2867 * boolNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2868 * dNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2869 * fCNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2870 * fNDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2871 * int16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2872 * int32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2873 * int64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2874 * int8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2875 * uint16NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2876 * uint32NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2877 * uint64NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2878 * uint8NDArray.cc: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2879 |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2880 * CNDArray.h: Declare bsxfun operations. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2881 * boolNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2882 * dNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2883 * fCNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2884 * fNDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2885 * int16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2886 * int32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2887 * int64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2888 * int8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2889 * uint16NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2890 * uint32NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2891 * uint64NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2892 * uint8NDArray.h: Ditto. |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9739
diff
changeset
|
2893 |
9739
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2894 2009-10-19 Jaroslav Hajek <highegg@gmail.com> |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2895 |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2896 * dim-vector.h (dim_vector::compute_index, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2897 dim_vector::increment_index, dim_vector::cumulative, |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2898 dim_vector::cum_compute_index): New methods. |
13b57eec9440
a few handy methods for dim_vector
Jaroslav Hajek <highegg@gmail.com>
parents:
9738
diff
changeset
|
2899 |
9738
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
2900 2009-10-18 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
2901 |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
2902 * Makefile.in: Remove ArrayN.cc. |
a141154ee825
Remove ArrayN.cc from Makefile.in
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9737
diff
changeset
|
2903 |
9737
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
2904 2009-10-18 Jaroslav Hajek <highegg@gmail.com> |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
2905 |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
2906 * Makefile.in: Include base-qr.h and base-qr.cc. |
9bc642ea9006
include base-qr sources in install
Jaroslav Hajek <highegg@gmail.com>
parents:
9734
diff
changeset
|
2907 |
9734
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
2908 2009-10-17 Jaroslav Hajek <highegg@gmail.com> |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
2909 |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
2910 * dbleQR.cc: Initialize QR::raw, QR::economy and QR::std. |
1a9508872af0
initialize QR:: constants
Jaroslav Hajek <highegg@gmail.com>
parents:
9732
diff
changeset
|
2911 |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2912 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2913 |
9967 | 2914 * ArrayN.h: Remove everything, just #define ArrayN Array. |
9732
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2915 Warn if under gcc. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2916 * ArrayN.cc: Remove. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2917 * Array.cc (operator >>): New operator. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2918 * Array.h: Declare it. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2919 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2920 * Array-C.cc: Remove traces of ArrayN. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2921 * Array-b.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2922 * Array-ch.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2923 * Array-d.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2924 * Array-f.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2925 * Array-fC.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2926 * CNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2927 * CNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2928 * MArrayN.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2929 * boolNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2930 * boolNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2931 * chNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2932 * dNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2933 * dNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2934 * fCNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2935 * fCNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2936 * fNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2937 * fNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2938 * intNDArray.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2939 * intNDArray.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2940 * lo-specfun.cc: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2941 * lo-specfun.h: Ditto. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2942 |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2943 * mx-op-defs.h (DMS_BIN_OP, SDM_BIN_OP): Rewrite. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2944 (DMS_BIN_OPS, SDM_BIN_OPS): Define dm*s and dm/s rather than dm+s and |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2945 dm-s which are rather useless. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2946 * mx-ops: Update. |
b4fdfee405b5
remove ArrayN<T> + fix nonhom. diag-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9731
diff
changeset
|
2947 |
9731 | 2948 2009-10-16 Jaroslav Hajek <highegg@gmail.com> |
2949 | |
2950 * Array.cc (Array<T>::column, Array<T>::page, Array<T>::linearize, | |
2951 Array<T>::linear_slice): New methods. | |
2952 * Array.h: Declare them | |
2953 * ArrayN.h: Forward them. | |
2954 | |
9725 | 2955 2009-10-14 Jaroslav Hajek <highegg@gmail.com> |
2956 | |
2957 * oct-sort.cc (octave_sort<T>::nth_element): New overloaded method. | |
2958 * oct-sort.h: Declare it. | |
2959 * Array.cc (Array<T>::nth_element): New method. | |
2960 * Array.h: Declare it. | |
2961 (Array<T>::sort): Use int for dim argument. | |
2962 * ArrayN.h (ArrayN<T>::nth_element): Wrap. | |
2963 (ArrayN<T>::sort): Use int for dim argument. | |
2964 | |
9721
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2965 2009-10-13 Jaroslav Hajek <highegg@gmail.com> |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2966 |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2967 * lo-traits.h (equal_types, is_instance, subst_template_param): New |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2968 traits classes. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2969 * mx-inlines.cc (op_dble_sum, twosum_accum): New helper funcs. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2970 (mx_inline_dsum, mx_inline_xsum): New reduction loops. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2971 * fNDArray.cc (FloatNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2972 * fNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2973 * fCNDArray.cc (FloatComplexNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2974 * fCNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2975 * dNDArray.cc (NDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2976 * dNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2977 * CNDArray.cc (ComplexNDArray::xsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2978 * CNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2979 * intNDArray.cc (intNDArray::dsum): New method. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2980 * intNDArray.h: Declare it. |
192d94cff6c1
improve sum & implement the 'extra' option, refactor some code
Jaroslav Hajek <highegg@gmail.com>
parents:
9715
diff
changeset
|
2981 |
9715
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2982 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2983 |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2984 * base-qr.cc (base_qr::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2985 * base-qr.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2986 * base-lu.cc (base_lu::regular): New method. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2987 * base-lu.h: Declare it. |
9f27172fbd1e
auto-set MatrixType from certain functions
Jaroslav Hajek <highegg@gmail.com>
parents:
9713
diff
changeset
|
2988 |
9713
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2989 2009-10-12 Jaroslav Hajek <highegg@gmail.com> |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2990 |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2991 * base-qr.h: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2992 * base-qr.cc: New source. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2993 * dbleQR.h (QR): Rebase on base_qr<Matrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2994 * dbleQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2995 * floatQR.h (QR): Rebase on base_qr<FloatMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2996 * floatQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2997 * CmplxQR.h (QR): Rebase on base_qr<ComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2998 * CmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
2999 * fCmplxQR.h (QR): Rebase on base_qr<FloatComplexMatrix>. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3000 * fCmplxQR.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3001 * dbleQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3002 * dbleQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3003 * floatQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3004 * floatQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3005 * CmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3006 * CmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3007 * fCmplxQRP.h (QR): Update. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3008 * fCmplxQRP.cc: Ditto. |
7918eb15040c
refactor the QR classes onto a templated base
Jaroslav Hajek <highegg@gmail.com>
parents:
9708
diff
changeset
|
3009 |
9708 | 3010 2009-10-08 Jaroslav Hajek <highegg@gmail.com> |
3011 | |
3012 * PermMatrix.cc (PermMatrix::eye): New method. | |
3013 * PermMatrix.h: Declare it. | |
3014 * dbleLU.cc (LU::update, LU::update_piv): New overloaded methods. | |
3015 * dbleLU.h: Declare them. | |
3016 * floatLU.cc (FloatLU::update, FloatLU::update_piv): New overloaded | |
3017 methods. | |
3018 * floatLU.h: Declare them. | |
3019 * CmplxLU.cc (ComplexLU::update, ComplexLU::update_piv): New | |
3020 overloaded methods. | |
3021 * CmplxLU.h: Declare them. | |
3022 * fCmplxLU.cc (FloatComplexLU::update, FloatComplexLU::update_piv): | |
3023 New overloaded methods. | |
3024 * fCmplxLU.h: Declare them. | |
3025 | |
9702
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
3026 2009-10-07 John W. Eaton <jwe@octave.org> |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
3027 |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
3028 * mx-inlines.cc (mx_inline_diff): Avoid uninitialized variable warning. |
9ecd35a606e3
avoid some warnings from g++
John W. Eaton <jwe@octave.org>
parents:
9698
diff
changeset
|
3029 |
9698
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3030 2009-10-06 Jaroslav Hajek <highegg@gmail.com> |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3031 |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3032 * dDiagMatrix.cc (operator *(const DiagMatrix&, const DiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3033 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3034 * fDiagMatrix.cc (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3035 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3036 * CDiagMatrix.cc (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3037 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3038 * fCDiagMatrix.cc (operator *(const FloatComplexDiagMatrix&, const |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3039 FloatComplexDiagMatrix&)): |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3040 Rewrite. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3041 * DiagArray2.h (DiagArray2::diag_length): New method. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3042 * PermMatrix.h (PermMatrix::length): Make consistent with |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3043 DiagArray2::length. |
7c6d5d8c8d37
fix diag*diag multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
9697
diff
changeset
|
3044 |
9697
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
3045 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
3046 |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
3047 * base-lu.cc (base_lu::unpack): Unpack getp as well. |
51c17bd18563
omission in base-lu::unpack
Jaroslav Hajek <highegg@gmail.com>
parents:
9695
diff
changeset
|
3048 |
9695
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
3049 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
3050 |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
3051 * PermMatrix.cc (PermMatrix::determinant): Implement a (hopefully) |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
3052 working algorithm. |
9fba7e1da785
correct algorithm for perm matrix det (sign)
Jaroslav Hajek <highegg@gmail.com>
parents:
9694
diff
changeset
|
3053 |
9694
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3054 2009-10-05 Jaroslav Hajek <highegg@gmail.com> |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3055 |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3056 * dim-vector.h (operator ==): Include fast case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3057 * base-lu.cc (base_lu::packed, base_lu::unpack): New methods. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3058 (base_lu::L, base_lu::U, base_lu::Y, base_lu::getp): Distinguish |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3059 packed vs. unpacked case. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3060 * base-lu.h: Update decls. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3061 (base_lu::l_fact): New member field. |
50db3c5175b5
allow unpacked form of LU
Jaroslav Hajek <highegg@gmail.com>
parents:
9685
diff
changeset
|
3062 |
9685 | 3063 2009-10-02 Jaroslav Hajek <highegg@gmail.com> |
3064 | |
3065 * lo-traits.h (strip_template_param): New trait class. | |
3066 | |
9678
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
3067 2009-10-01 Jaroslav Hajek <highegg@gmail.com> |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
3068 |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
3069 * Array.cc (Array<T>::permute): Fast case identity permutation. |
c929f09457b7
rewrite num2cell for speed-up + a few associated fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
9667
diff
changeset
|
3070 |
9667
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
3071 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
3072 |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
3073 * oct-cmplx.h: Fix complex-real orderings. |
641a788c82a4
fix complex-real comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9666
diff
changeset
|
3074 |
9666
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
3075 2009-09-27 Jaroslav Hajek <highegg@gmail.com> |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
3076 |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
3077 * dim-vector.h (dim_vector::redim): Rewrite. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
3078 * Array-util.cc (sub2ind): Allow single index case. |
a531dec450c4
allow 1D case for sub2ind and ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9665
diff
changeset
|
3079 |
9665
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3080 2009-09-26 Jaroslav Hajek <highegg@gmail.com> |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3081 |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3082 * dMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3083 (operator *(const Matrix&, const Matrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3084 * fMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3085 (operator *(const FloatMatrix&, const FloatMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3086 * CMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3087 (operator *(const ComplexMatrix&, const ComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3088 * fCMatrix.cc (xgemm): Use blas_trans_type to indicate transposes. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3089 (operator *(const FloatComplexMatrix&, const FloatComplexMatrix&)): Update. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3090 * dMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3091 * fMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3092 * CMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3093 * fCMatrix.h: Update decl. |
1dba57e9d08d
use blas_trans_type for xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9663
diff
changeset
|
3094 |
9663
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3095 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3096 |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3097 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const Matrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3098 Matrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3099 (operator * (Matrix, ComplexMatrix), operator * (ComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3100 Matrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3101 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix&, const |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3102 FloatMatrix&)): New constructor. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3103 (operator * (FloatMatrix, FloatComplexMatrix), operator * (FloatComplexMatrix, |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3104 FloatMatrix)): Optimize. |
7e5b4de5fbfe
improve mixed real x complex ops
Jaroslav Hajek <highegg@gmail.com>
parents:
9662
diff
changeset
|
3105 |
9662
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3106 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3107 |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3108 * dMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3109 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3110 (Matrix::solve (..., const ComplexMatrix&, ...)): Use the above funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3111 Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3112 * fMatrix.cc (stack_complex_matrix, unstack_complex_matrix): New |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3113 static funcs. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3114 (FloatMatrix::solve (..., const FloatComplexMatrix&, ...)): Use the |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3115 above funcs. Improve forwarding. |
0d3b248f4ab6
further improve mixed real-complex division
Jaroslav Hajek <highegg@gmail.com>
parents:
9661
diff
changeset
|
3116 |
9661
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3117 2009-09-23 Jaroslav Hajek <highegg@gmail.com> |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3118 |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3119 * mx-defs.h (blas_trans_type): New enum. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3120 (get_blas_char): New inline func. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3121 * dMatrix.cc (Matrix::utsolve, Matrix::ltsolve, Matrix::solve): |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3122 Support transt parameter. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3123 * fMatrix.cc (FloatMatrix::utsolve, FloatMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3124 FloatMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3125 * CMatrix.cc (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3126 ComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3127 * fCMatrix.cc (FloatComplexMatrix::utsolve, |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3128 FloatComplexMatrix::ltsolve, FloatComplexMatrix::solve): Ditto. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3129 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update. |
afcf852256d2
optimize / and '\ for triangular matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9660
diff
changeset
|
3130 |
9660
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
3131 2009-09-21 Jaroslav Hajek <highegg@gmail.com> |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
3132 |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
3133 * mx-op-defs.h (VS_BIN_OP, SV_BIN_OP, VV_BIN_OP): Simplify. |
0256e187d13b
get rid of VS|SV|VV_BIN_OP macros in mx-op-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
9656
diff
changeset
|
3134 |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3135 2009-09-19 Jaroslav Hajek <highegg@gmail.com> |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3136 |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3137 * dNDArray.h (NDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3138 * fNDArray.h (FloatNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3139 * CNDArray.h (ComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3140 * fCNDArray.h (FloatComplexNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3141 * boolNDArray.h (boolNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3142 * charNDArray.h (charNDArray::matrix_type): New typedef. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3143 |
9967 | 3144 * dMatrix.h (Matrix::column_vector_type, |
9656
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3145 Matrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3146 * fMatrix.h (FloatMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3147 FloatMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3148 * CMatrix.h (ComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3149 ComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3150 * fCMatrix.h (FloatComplexMatrix::column_vector_type, |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3151 FloatComplexMatrix::row_vector_type): New typedefs. |
b29504415a2e
provide NDArray->Matrix->Vector typedef mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
9655
diff
changeset
|
3152 |
9655
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
3153 2009-09-18 John W. Eaton <jwe@octave.org> |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
3154 |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
3155 * mach-info.cc: Don't include oct-types.h. |
17971b0f18b1
mach-info.cc: don't include oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9653
diff
changeset
|
3156 |
9653
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3157 2009-09-18 Jaroslav Hajek <highegg@gmail.com> |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3158 |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3159 * Array.h (NoAlias): New template class. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3160 * dRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3161 * fRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3162 * CRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3163 * fCRowVector.cc (linspace): Rewrite. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3164 * dMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3165 * dMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3166 * fMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3167 * fMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3168 * CMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3169 * CMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3170 * fCMatrix.cc (linspace): New method. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3171 * fCMatrix.h (linspace): Declare it. |
e087d7c77ff9
improve linspace in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9649
diff
changeset
|
3172 |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3173 2009-09-17 John W. Eaton <jwe@octave.org> |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3174 |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3175 * oct-types.h.in: Delete. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3176 * Makefile.in (BUILT_INCLUDES, DISTFILES): Remove oct-types.h.in |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3177 from the list. |
9649
d0e2aa1974e9
changelog fix for previous change
John W. Eaton <jwe@octave.org>
parents:
9648
diff
changeset
|
3178 (distclean, maintainer-clean): Don't remove oct-types.h |
9648
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3179 * DAEFunc.h, MatrixType.h, base-aepbal.h, dim-vector.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3180 lo-specfun.h, lo-utils.h, mx-op-decl.h, oct-inttypes.h, |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3181 randgamma.h, randmtzig.h, randpoisson.h: |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3182 Don't include oct-types.h. |
11844593875a
eliminate oct-dlldefs.h and oct-types.h
John W. Eaton <jwe@octave.org>
parents:
9647
diff
changeset
|
3183 |
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3184 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3185 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3186 * oct-rand.cc (octave_rand::do_matrix, do_nd_array, do_vector): |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3187 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3188 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3189 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3190 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3191 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3192 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3193 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3194 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3195 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3196 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3197 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3198 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
3199 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3200 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3201 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3202 * Array.cc (Array<T>::clear (const dim_vector&)): new method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3203 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3204 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3205 (Array<T>::clear (octave_idx_type, octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
3206 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3207 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3208 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3209 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3210 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3211 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3212 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3213 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3214 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3215 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3216 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3217 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3218 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3219 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3220 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3221 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3222 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3223 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3224 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3225 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3226 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3227 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3228 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3229 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3230 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3231 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3232 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3233 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3234 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3235 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3236 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3237 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3238 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3239 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3240 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3241 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3242 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3243 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3244 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3245 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3246 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3247 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3248 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3249 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3250 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3251 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3252 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3253 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3254 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3255 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3256 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3257 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3258 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3259 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3260 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3261 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3262 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3263 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3264 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3265 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3266 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3267 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3268 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3269 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3270 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3271 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3272 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3273 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3274 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3275 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3276 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3277 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3278 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3279 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3280 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3281 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3282 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3283 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3284 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3285 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3286 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3287 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3288 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3289 * MArray-defs.h (DO_VS_OP, DO_SV_OP, DO_VV_OP, |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3290 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
3291 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3292 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3293 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3294 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3295 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3296 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3297 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3298 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3299 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3300 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3301 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3302 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3303 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3304 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3305 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3306 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3307 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3308 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3309 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
3310 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
3311 2009-09-02 Jaroslav Hajek <highegg@gmail.com> |
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
3312 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
3313 * oct-cmplx.h: Rewrite the comaprison ops. Use FLOAT_TRUNCATE. |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
3314 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
3315 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
3316 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
3317 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
3318 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
3319 2009-08-31 John W. Eaton <jwe@octave.org> |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
3320 |
11088 | 3321 * lo-ieee.cc (octave_ieee_init): Abort if floating point format |
3322 is not recognized as IEEE. | |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
3323 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
3324 2009-08-27 John W. Eaton <jwe@octave.org> |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
3325 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
3326 * str-vec.cc, str-vec.h (string_vector::string_vector (const |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
3327 std::set<std::string>&)): New constructor. |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
3328 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3329 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3330 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3331 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3332 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3333 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3334 * mx-op-defs.h (MM_CMP_OP, MS_CMP_OP, SM_CMP_OP, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3335 NDND_CMP_OP, NDS_CMP_OP, SND_CMP_OP): Replace by one-liners. Remove |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3336 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3337 (MM_CMP_OPS, MS_CMP_OPS, SM_CMP_OPS, NDND_CMP_OPS, NDS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3338 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3339 (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, NDS_CMP_OPS2, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3340 SND_CMP_OP1, SND_CMP_OPS1, SND_CMP_OP2, SND_CMP_OPS2): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3341 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3342 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS, SPARSE_SMS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3343 SPARSE_SSM_CMP_OPS, SPARSE_MSM_CMP_OPS, SPARSE_SMM_CMP_OPS): |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3344 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3345 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3346 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3347 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3348 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3349 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3350 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3351 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3352 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3353 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3354 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3355 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3356 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3357 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3358 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3359 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3360 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3361 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3362 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3363 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3364 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3365 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3366 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3367 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
3368 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3369 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3370 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3371 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3372 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3373 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3374 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3375 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3376 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3377 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3378 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3379 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3380 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3381 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3382 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
3383 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3384 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3385 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3386 * Array.h (Array::make_unique, Array::~Array, Array::operator =): |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3387 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3388 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
3389 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3390 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3391 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3392 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3393 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3394 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3395 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): Remove |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3396 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3397 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3398 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3399 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3400 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3401 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3402 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3403 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3404 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
3405 * fNDArray.cc: Ditto. |
9967 | 3406 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3407 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3408 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3409 * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3410 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3411 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3412 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3413 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3414 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3415 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3416 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
3417 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3418 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3419 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3420 * mx-inlines.cc (mx_inline_add, mx_inline_sub, mx_inline_mul, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3421 mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3422 mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3423 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
9967 | 3424 mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3425 mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3426 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3427 (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3428 do_ms_binary_op, do_mm_inplace_op,do_ms_inplace_op): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3429 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3430 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3431 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3432 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3433 (NDND_BIN_OP, NDS_BIN_OP, SND_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3434 (MM_BIN_OP, MS_BIN_OP, MM_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3435 (NDND_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3436 (MM_BOOL_OP, MS_BOOL_OP, MM_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3437 (NDND_BOOL_OPS2, NDS_BOOL_OPS2, SND_BOOL_OPS2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3438 MM_BOOL_OPS2, MS_BOOL_OPS2, SM_BOOL_OPS2): Remove. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3439 * mx-op-decl.h (NDND_BOOL_OPX_DECLS, NDS_BOOL_OPX_DECLS, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3440 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3441 * mk-ops.awk: use _BOOL_OPS rather than _BOOL_OPS2. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3442 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3443 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3444 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3445 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3446 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3447 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3448 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3449 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3450 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3451 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3452 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3453 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3454 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3455 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3456 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3457 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3458 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3459 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3460 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3461 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3462 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3463 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3464 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3465 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3466 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3467 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3468 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3469 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3470 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3471 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3472 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3473 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3474 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3475 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3476 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3477 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3478 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3479 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3480 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3481 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3482 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3483 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3484 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
3485 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
3486 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
3487 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
3488 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
3489 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3490 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3491 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3492 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3493 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3494 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
3495 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3496 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3497 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3498 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3499 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3500 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLS1, MARRAY_OP_ASSIGN_FWD_DECLS1, |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3501 MARRAY_OP_ASSIGN_FRIENDS1, MARRAY_OP_ASSIGN_FWD_DEFS1): New macros. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3502 (MARRAY_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS): Use them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3503 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3504 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3505 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3506 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3507 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3508 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3509 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3510 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3511 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3512 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3513 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3514 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3515 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3516 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3517 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
3518 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
3519 2009-08-17 John W. Eaton <jwe@octave.org> |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
3520 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
3521 * Makefile.in (LINK_DEPS): List LIBS last. |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
3522 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3523 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3524 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3525 * dMatrix.cc, fMatrix.cc, CMatrix.cc, fCMatrix.cc: Add more tests. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3526 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3527 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
3528 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
3529 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
3530 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
3531 * fMatrix.cc, fCMatrix.cc: Make tests use single precision. |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
3532 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
3533 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
3534 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
3535 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
3536 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
3537 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
3538 2009-08-14 John W. Eaton <jwe@octave.org> |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
3539 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
3540 * Makefile.in (LINK_DEPS): Include BLAS_LIBS in the list. |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
3541 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3542 2009-08-13 John W. Eaton <jwe@octave.org> |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3543 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3544 * CMatrix.cc, CNDArray.cc, dMatrix.cc, dNDArray.cc, fCMatrix.cc, |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3545 fCNDArray.cc, fMatrix.cc, fNDARray.cc, oct-fftw.cc, oct-fftw.h: |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3546 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3547 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3548 * Makefile.in: Add library-specific CPPFLAGS and LDFLAGS variables |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3549 to CPPFLAGS and LDFLAGS for files that use sparse matrices or fftw. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
3550 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
3551 2009-08-12 Jaroslav Hajek <highegg@gmail.com> |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
3552 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
3553 * Makefile.in: Include LDFLAGS when linking shared executable. |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
3554 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3555 2009-08-11 John W. Eaton <jwe@octave.org> |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3556 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3557 * oct-fftw.h, oct-fftw.cc (octave_fftw_planner): Convert to singleton. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3558 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3559 |
9515 | 3560 2009-08-11 John W. Eaton <jwe@octave.org> |
3561 | |
3562 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
3563 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
3564 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3565 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3566 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3567 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3568 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3569 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3570 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3571 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3572 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3573 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3574 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3575 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3576 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3577 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3578 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3579 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3580 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
3581 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
3582 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
3583 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
3584 * dim-vector.h (dim_vector::first_non_singleton): New method. |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
3585 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3586 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3587 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3588 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3589 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3590 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3591 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
3592 |
9493 | 3593 2009-08-05 John W. Eaton <jwe@octave.org> |
3594 | |
3595 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
3596 not BIND_DEFERRED to shl_load. | |
3597 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
3598 | |
9490 | 3599 2009-08-05 John W. Eaton <jwe@octave.org> |
3600 | |
3601 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
3602 Include $(RLD_FLAG) in the list. | |
3603 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
3604 2009-08-05 John W. Eaton <jwe@octave.org> |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
3605 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
3606 * Makefile.in (LINK_DEPS): Include $(PTHREAD_LIBS) in the list. |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
3607 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3608 2009-08-04 Kristian Rumberg <kristianrumberg@gmail.com> |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3609 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3610 * cmd-edit.cc (gnu_readline::do_get_line_buffer, |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3611 default_command_editor::do_get_line_buffer): New functions. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3612 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3613 * cmd-edit.h (command_editor::get_line_buffer): Provide decls. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3614 (command_editor::do_get_line_buffer): New pure virtual function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
3615 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3616 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3617 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3618 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3619 (idx_vector::copy_data, idx_vector::unconvert): New method decls. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3620 * idx-vector.cc (idx_vector::copy_data, idx_vector::unconvert): New |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3621 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3622 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
3623 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3624 2009-07-29 John W. Eaton <jwe@octave.org> |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3625 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3626 * fMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3627 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3628 * fCMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3629 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3630 * dMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3631 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3632 * CMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3633 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3634 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3635 * lo-utils.cc, lo-utils.h (octave_read_value): New template |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3636 (octave_read_value<double>, octave_read_value<Complex>): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3637 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3638 (octave_read_double, octave_read_complex, octave_read_float, |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3639 octave_rread_float_complex): Define in terms of template functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3640 * Sparse.h (read_sparse_matrix): New template function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3641 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3642 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3643 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3644 * sparse-util.cc, sparse-util.h (sparse_indices_ok): New function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3645 * Sparse.cc (Sparse<T>::indices_ok, Sparse<T>::SparseRep::indices_ok): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3646 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
3647 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
3648 2009-07-20 John W. Eaton <jwe@octave.org> |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
3649 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
3650 * lo-ieee.cc (octave_ieee_init) [__NetBSD__]: Call nan to |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
3651 initialize Octave_NaN and nanf, to initialize Octave_Float_NaN. |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
3652 |
9431 | 3653 2009-07-11 John W. Eaton <jwe@octave.org> |
3654 | |
3655 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
3656 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
3657 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3658 2009-07-08 John W. Eaton <jwe@octave.org> |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3659 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3660 * dim-vector.h (dim_vector::dim_vector_rep::dim_vector_rep |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3661 (octave_idx_type, const dim_vector_rep *, int)): |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3662 Enforce 2-d objects here. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3663 (dim_vector::dim_vector_rep::dim_vector_rep): Simply copy object. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3664 (dim_vector::resize): Allow N < 2. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
3665 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3666 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3667 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3668 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3669 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3670 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
3671 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
3672 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
3673 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
3674 * Sparse-diag-op-defs.h (inner_do_add_sm_dm): Rewrite to ensure |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
3675 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
3676 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
3677 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
3678 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
3679 * oct-sort.cc (octave_sort<T>::lookupb<Comp>): Fix typo. |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
3680 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3681 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3682 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3683 * oct-sort.cc (octave_sort<T>::lookup_merge): Delete. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3684 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3685 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3686 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
3687 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
3688 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
3689 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
3690 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
3691 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
3692 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
3693 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
3694 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
3695 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Slightly speed-up |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
3696 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
3697 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
3698 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
3699 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
3700 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Fix lower-part |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
3701 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
3702 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3703 2009-06-24 Alexander Barth <barth.alexander@gmail.com> |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3704 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3705 * eigs-base.cc (EigsRealSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3706 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3707 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3708 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3709 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3710 Use octave_idx_type for parameters of type LOGICAL in ARPACK. |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
3711 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
3712 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
3713 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
3714 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
3715 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
3716 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3717 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3718 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3719 * oct-sort.cc (lookup_impl<T, Comp>): New helper inline function. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3720 (octave_sort<T>::lookup_merge<Comp>): New private template method. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3721 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3722 (octave_sort<T>::lookupm<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3723 (octave_sort<T>::lookupb<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3724 (out_of_range_pred, out_of_range): Remove. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
3725 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3726 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3727 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3728 * dMatrix.cc (xgemm): Replace resize() with uninitialized allocations |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3729 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3730 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3731 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3732 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
3733 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3734 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3735 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3736 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3737 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3738 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3739 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3740 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
3741 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3742 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3743 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3744 * cmd-edit.cc (command_editor::force_default_editor): New static |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3745 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3746 * cmd-edit.h: Declare it. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
3747 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
3748 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
3749 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
3750 * lo-mappers.cc (xlog2 (const Complex&, int&), xlog2 (const |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
3751 FloatComplex&, int&)): Use more robust expression. |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
3752 |
9310 | 3753 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
3754 | |
3755 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
3756 order for backward searches. | |
3757 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3758 2009-06-02 Jaroslav Hajek <highegg@gmail.com> |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3759 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3760 * Array-C.cc (class DiagArray2<Complex>::Proxy): Only explicitly |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3761 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3762 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3763 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3764 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
3765 |
9267 | 3766 2009-05-26 John W. Eaton <jwe@octave.org> |
3767 | |
3768 * pathsearch.h (dir_path::path_sep_char (char), | |
3769 dir_path::static_members::path_sep_char (char)): New functions. | |
3770 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
3771 2009-05-21 Michael Goffioul <michael.goffioul@gmail.com> |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
3772 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3773 * Array-C.cc (class DiagArray2<Complex>::Proxy): Tag with OCTAVE_API. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3774 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3775 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3776 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3777 * Array.cc (class octave_sort<T>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3778 * CColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3779 * CDiagMatrix.h (class ComplexDiagMatrix, conj, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3780 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3781 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3782 * PermMatrix.h (class PermMatrix, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3783 * dDiagMatrix.h (class DiagMatrix): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3784 * fCColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3785 * fCDiagMatrix.h (class FloatComplexDiagMatrix, conj, operator*): |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3786 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3787 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3788 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3789 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3790 * oct-locbuf.h (octave_chunk_buffer::octave_chunk_buffer, |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3791 octave_chunk_buffer::~octave_chunk_buffer): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3792 * oct-inttypes.cc (octave_int_cmp_op::emulate_op): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3793 * DET.h (class base_det<T>): Remove OCTAVE_API (cannot be applied on |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3794 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3795 * oct-inttypes.cc (octave_int_cmp_op::emulate_op<class xop>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
3796 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3797 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::delete_col): Copy |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3798 volatile variable to avoid MSVC compilation error (cannot pass |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3799 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3800 * dbleQR.cc (QR::insert_col, QR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3801 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3802 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3803 * floatQR.cc (FloatQR::insert_col, FloatQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
3804 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
3805 * oct-mutex.cc: Exclude pthread.h inclusion under Win32. |
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
3806 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
3807 * base-aepbal.h (base_aepbal::operator=): Add missing return |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
3808 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
3809 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3810 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3811 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3812 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3813 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3814 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3815 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3816 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3817 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3818 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3819 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3820 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3821 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
3822 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3823 2009-05-21 Jaroslav Hajek <highegg@gmail.com> |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3824 |
9967 | 3825 * CMatrix.cc |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3826 (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3827 ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3828 ComplexMatrix::sumsq): Use explicit template qualifications |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3829 to workaround bugs in Intel C++ and MSVC++ compilers. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3830 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3831 (ComplexNDArray::all, ComplexNDArray::any, ComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3832 ComplexNDArray::cumsum, ComplexNDArray::prod, ComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3833 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3834 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3835 (boolMatrix::all, boolMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3836 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3837 (boolNDArray::all, boolNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3838 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3839 (charMatrix::all, charMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3840 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3841 (charNDArray::all, charNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3842 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3843 (Matrix::all, Matrix::any, Matrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3844 Matrix::cumsum, Matrix::prod, Matrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3845 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3846 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3847 (NDArray::all, NDArray::any, NDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3848 NDArray::cumsum, NDArray::prod, NDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3849 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3850 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3851 (FloatComplexMatrix::all, FloatComplexMatrix::any, FloatComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3852 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, FloatComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3853 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3854 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3855 (FloatComplexNDArray::all, FloatComplexNDArray::any, FloatComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3856 FloatComplexNDArray::cumsum, FloatComplexNDArray::prod, FloatComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3857 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3858 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3859 (FloatMatrix::all, FloatMatrix::any, FloatMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3860 FloatMatrix::cumsum, FloatMatrix::prod, FloatMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3861 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3862 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3863 (FloatNDArray::all, FloatNDArray::any, FloatNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3864 FloatNDArray::cumsum, FloatNDArray::prod, FloatNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3865 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3866 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3867 (intNDArray<T>::all, intNDArray<T>::any, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3868 intNDArray<T>::cumsum, intNDArray<T>::sum): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
3869 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
3870 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
3871 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
3872 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
3873 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3874 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3875 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3876 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3877 * Array.cc (NO_INSTANTIATE_ARRAY_SORT): const T& -> T const & |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3878 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
3879 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
3880 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3881 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
3882 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
3883 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
3884 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
3885 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3886 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3887 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3888 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3889 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3890 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
3891 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
3892 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
3893 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
3894 * Array-util.cc (zero_dims_inquire): Move j++ out of branch. |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
3895 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
3896 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
3897 |
9967 | 3898 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
3899 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
3900 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
3901 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
3902 * file-ops.h (file_ops::tail) New function. |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
3903 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3904 2009-05-05 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3905 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3906 * Quad.cc (user_function): Use access_double and assign_double on |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3907 SPARC only, not on all Sun systems. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3908 * sun-utils.h: Likewise, define these functions on SPARC only. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
3909 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
3910 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
3911 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
3912 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
3913 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
3914 2009-05-04 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
3915 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
3916 * Quad.cc (float_user_function): Remove Sun/GCC special case. |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
3917 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
3918 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
3919 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
3920 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep (const |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
3921 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
3922 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
3923 2009-04-15 Jaroslav Hajek <highegg@gmail.com> |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
3924 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
3925 * Array.cc (rec_permute_helper::blk_trans): Declare as static. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
3926 (Array<T>::transpose): Reuse it. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
3927 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3928 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3929 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3930 * Array.cc (Array<T>::make_unique): Don't economize when unique. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3931 (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3932 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3933 (Array<T>::delete_elements (const idx_vector&)): Do pop operation |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3934 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
3935 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3936 2009-03-29 Jaroslav Hajek <highegg@gmail.com> |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3937 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3938 * Array.cc (Array<T>::assign): Remove redundant checks after invalid |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3939 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
3940 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3941 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3942 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3943 * Array.cc (Array<T>::find): Reshape result for Matlab compatibility. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3944 * Array.h (Array<T>): Add friend template declaration. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
3945 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3946 2009-03-27 Jaroslav Hajek <highegg@gmail.com> |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3947 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3948 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3949 Array<bool>&): Use more M*b-compatible behaviour. |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
3950 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3951 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3952 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3953 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
3954 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3955 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3956 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3957 * Array.h (Array<T>::dims): Return a const reference. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3958 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
3959 |
9025 | 3960 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
3961 | |
3962 * Array.cc (Array<T>::find): New method. | |
3963 * Array.h: Declare it. | |
3964 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3965 2009-03-25 John W. Eaton <jwe@octave.org> |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3966 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
3967 * EIG.cc (EIG::init (const Matrix&, bool), |
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
3968 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 3969 Avoid volatile declaration for tmp variable. |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
3970 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3971 * Makefile.in (MATRIX_INC): Add Sparse-diag-op-defs.h and |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3972 Sparse-perm-op-defs.h to the list. |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
3973 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3974 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9967 | 3975 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3976 * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3977 INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
3978 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3979 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3980 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3981 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3982 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3983 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3984 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3985 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
3986 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3987 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3988 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3989 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
3990 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3991 2009-03-21 Jaroslav Hajek <highegg@gmail.com> |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3992 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3993 * Array-d.cc: lo_ieee_isnan -> xisnan. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3994 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3995 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3996 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3997 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3998 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
3999 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4000 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4001 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4002 * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4003 boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4004 dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4005 fColVector.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, intNDArray.cc: |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4006 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
4007 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4008 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4009 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4010 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4011 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4012 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4013 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4014 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4015 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4016 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4017 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4018 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4019 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4020 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4021 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4022 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4023 * lo-mappers.h (xisnan, xisinf, xfinite): If possible, use definitions |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4024 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
4025 |
9501 | 4026 2009-03-18 Jaroslav Hajek <highegg@gmail.com> |
8995
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
4027 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
4028 * oct-norm.cc (get_eps): Remove that hack. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
4029 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
4030 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
4031 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4032 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4033 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4034 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4035 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4036 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4037 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
4038 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
4039 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
4040 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
4041 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
4042 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
4043 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
4044 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4045 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4046 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4047 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4048 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4049 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4050 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4051 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
4052 |
8971 | 4053 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
4054 | |
4055 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
4056 constructor body. | |
4057 * Range.cc: Move it here. Check for invalid range op results. | |
4058 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
4059 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
4060 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
4061 singleton dimension. |
8971 | 4062 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4063 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4064 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4065 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4066 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4067 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4068 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4069 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4070 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4071 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
4072 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4073 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4074 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4075 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4076 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4077 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4078 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4079 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4080 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4081 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4082 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4083 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4084 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4085 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4086 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4087 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4088 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4089 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4090 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4091 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4092 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4093 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4094 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4095 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4096 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4097 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4098 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4099 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4100 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4101 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4102 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4103 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4104 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4105 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4106 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4107 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4108 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4109 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4110 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4111 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4112 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4113 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4114 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4115 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4116 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4117 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4118 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4119 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4120 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4121 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4122 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4123 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
4124 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
4125 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
4126 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
4127 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
4128 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
4129 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
4130 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
4131 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
4132 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
4133 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
4134 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4135 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4136 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4137 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4138 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4139 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4140 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4141 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4142 Ditto. |
9967 | 4143 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4144 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4145 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4146 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4147 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4148 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4149 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4150 Ditto. |
9967 | 4151 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4152 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4153 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4154 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4155 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4156 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4157 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4158 Likewise. |
9967 | 4159 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4160 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
4161 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
4162 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
4163 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4164 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4165 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4166 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4167 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4168 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4169 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4170 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4171 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4172 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4173 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4174 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4175 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4176 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4177 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4178 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4179 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4180 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4181 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4182 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4183 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4184 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4185 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4186 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4187 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4188 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
4189 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
4190 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
4191 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
4192 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4193 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4194 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4195 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4196 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4197 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
4198 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4199 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4200 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4201 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4202 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4203 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4204 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4205 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4206 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4207 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4208 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4209 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4210 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4211 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
4212 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
4213 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
4214 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
4215 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
4216 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4217 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4218 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4219 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4220 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4221 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4222 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4223 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
4224 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4225 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4226 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4227 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4228 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4229 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4230 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4231 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4232 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4233 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4234 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
4235 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4236 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4237 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4238 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4239 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4240 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
9967 | 4241 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4242 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
4243 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
4244 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
4245 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
4246 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
4247 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
4248 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
4249 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
4250 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
4251 |
8897 | 4252 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
4253 | |
4254 * mx-inlines.cc: Add missing #include. | |
4255 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
4256 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
4257 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
4258 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
4259 |
8864 | 4260 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
4261 | |
4262 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
4263 Simplify. | |
4264 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4265 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4266 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4267 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4268 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4269 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4270 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4271 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
9967 | 4272 defs for octave_int_cmp_op::emulate_mop. |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4273 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4274 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
4275 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4276 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4277 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4278 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4279 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4280 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4281 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4282 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4283 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4284 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4285 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
4286 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4287 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4288 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4289 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4290 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4291 (octave_sort<T>::MergeState::~MergeState): New destructor. |
9967 | 4292 (octave_sort<T>::MergeState::reset, |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4293 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4294 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4295 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4296 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4297 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
4298 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4299 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4300 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4301 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4302 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4303 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4304 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4305 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4306 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4307 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4308 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4309 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4310 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
4311 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4312 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4313 |
8811 | 4314 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
4315 call to std::max. | |
4316 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
4317 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
4318 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
4319 | |
4320 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
4321 std::max and as operand to -= operator. | |
4322 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
4323 * floatQRP.cc (FloatQRP::init): Ditto. | |
4324 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
4325 | |
4326 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
4327 Declare info as octave_idx_type, not int. | |
4328 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
4329 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
4330 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
4331 Ditto. | |
4332 | |
8806 | 4333 * dMatrix.cc (Matrix::determinant): |
4334 Declare local variables volatile as needed to avoid "maybe | |
4335 clobbered by vfork" warning from GCC. | |
4336 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
4337 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
4338 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
4339 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
4340 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
4341 FloatQR::delete_col): Likewise. | |
4342 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
4343 ComplexQR::delete_col): Likewise. | |
4344 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
4345 FloatComplexQR::delete_col): Likewise. | |
4346 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4347 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4348 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4349 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4350 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4351 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
4352 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
4353 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
4354 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
4355 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
4356 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
4357 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
4358 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
4359 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
4360 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
4361 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
4362 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
4363 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
4364 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
4365 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
4366 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4367 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4368 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4369 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4370 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4371 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4372 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4373 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4374 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4375 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
4376 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4377 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4378 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4379 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4380 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4381 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4382 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4383 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4384 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4385 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4386 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4387 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4388 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4389 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4390 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4391 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4392 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4393 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4394 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4395 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4396 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4397 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4398 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4399 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4400 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
4401 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
4402 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
4403 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
4404 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
4405 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4406 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4407 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4408 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4409 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4410 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4411 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4412 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4413 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4414 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4415 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4416 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4417 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4418 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4419 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4420 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4421 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4422 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4423 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4424 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4425 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4426 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4427 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
4428 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
4429 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
4430 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
4431 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
4432 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
4433 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
4434 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4435 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
4436 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
4437 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
4438 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
4439 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
4440 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
4441 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
4442 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
4443 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4444 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4445 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4446 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4447 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4448 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4449 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
4450 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4451 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4452 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4453 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4454 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4455 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4456 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4457 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4458 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
4459 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4460 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4461 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4462 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4463 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4464 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4465 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4466 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4467 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4468 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4469 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4470 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4471 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4472 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
4473 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
4474 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
4475 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
4476 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
4477 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
4478 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
4479 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
4480 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
4481 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
4482 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4483 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4484 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4485 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4486 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4487 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4488 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4489 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4490 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4491 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4492 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4493 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4494 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4495 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4496 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4497 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4498 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4499 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4500 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4501 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4502 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4503 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4504 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4505 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4506 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4507 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4508 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4509 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4510 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4511 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4512 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4513 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4514 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4515 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4516 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
4517 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
4518 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
4519 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
4520 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
4521 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
4522 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
4523 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4524 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4525 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4526 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4527 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4528 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4529 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4530 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4531 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4532 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4533 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4534 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4535 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4536 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4537 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4538 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4539 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4540 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4541 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4542 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4543 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
4544 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
4545 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
4546 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
4547 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
4548 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
4549 |
8725 | 4550 2009-02-12 John W. Eaton <jwe@octave.org> |
4551 | |
4552 * lo-traits.h: New file. | |
4553 * Makefile.in (INCLUDES): Add it to the list. | |
4554 | |
4555 * Array.h (compare_fcn_type): New typedef. | |
4556 * oct-sort.h (compare_fcn_type): Ditto. | |
4557 | |
4558 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
9967 | 4559 octave_sort<T>::set_compare, octave_sort<T>::compare): |
8725 | 4560 Use typedef to simplify decl. |
4561 (octave_sort<T>::ascending_compare, | |
4562 octave_sort<T>::descending_compare): | |
4563 Use ref_param<T>::type for parameter decl. | |
4564 | |
4565 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
4566 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
4567 | |
4568 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
4569 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
4570 all uses. Use typedef for return value to simplify decl. | |
4571 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
4572 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
4573 of sortrows_comparator. | |
4574 | |
4575 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
4576 descending_compare, nan_ascending_compare, | |
4577 nan_descending_compare): | |
4578 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4579 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4580 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4581 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4582 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4583 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4584 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4585 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4586 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4587 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4588 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4589 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4590 * dim-vector.h (dim_vector::is_vector): New method. |
9967 | 4591 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4592 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4593 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4594 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
9967 | 4595 _sortrows_comparator. |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4596 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4597 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
4598 |
8700 | 4599 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
4600 | |
4601 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
4602 inlined comparison functor and by-the-way indexed sorting. | |
4603 * oct-sort.h (octave_sort<T>): Update interface. | |
4604 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
4605 mechanism. | |
4606 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
4607 Array-i.cc: Reflect changes. | |
4608 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4609 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4610 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
4611 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
4612 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
4613 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4614 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4615 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4616 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4617 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4618 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
4619 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4620 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4621 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4622 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4623 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4624 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4625 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
4626 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4627 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4628 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4629 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4630 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4631 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4632 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4633 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
4634 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4635 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4636 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4637 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4638 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4639 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4640 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4641 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4642 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4643 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4644 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4645 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4646 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4647 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
4648 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
4649 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
4650 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
4651 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
4652 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
4653 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
4654 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
9967 | 4655 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
4656 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
4657 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4658 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4659 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4660 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4661 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4662 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4663 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4664 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4665 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4666 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4667 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4668 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4669 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4670 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4671 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4672 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4673 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
4674 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4675 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4676 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4677 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4678 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4679 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4680 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4681 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4682 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4683 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4684 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4685 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4686 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4687 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4688 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4689 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4690 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4691 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
4692 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4693 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4694 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4695 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4696 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4697 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
4698 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4699 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4700 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4701 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4702 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4703 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
4704 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4705 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4706 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4707 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 4708 (Matrix::Matrix (const ColumnVector&)): Ditto. |
4709 (Matrix::row): Ditto. | |
4710 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4711 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4712 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4713 shallow copy. |
8628 | 4714 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
4715 (FloatMatrix::row): Ditto. | |
4716 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4717 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4718 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4719 Use shallow copy. |
8628 | 4720 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
4721 (ComplexMatrix::row): Ditto. | |
4722 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4723 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4724 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4725 Use shallow copy. |
8628 | 4726 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
4727 (FloatComplexMatrix::row): Ditto. | |
4728 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
4729 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
4730 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
4731 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
4732 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
4733 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
4734 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4735 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4736 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4737 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4738 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4739 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4740 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4741 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4742 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4743 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4744 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4745 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4746 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4747 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4748 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4749 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4750 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4751 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4752 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4753 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4754 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4755 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4756 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4757 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4758 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4759 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4760 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4761 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4762 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4763 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
4764 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4765 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4766 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4767 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4768 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4769 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4770 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
4771 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
4772 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
4773 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
4774 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 4775 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
4776 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
4777 |
8565 | 4778 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
4779 | |
4780 * Range.cc (sort_internal): Add missing test. | |
4781 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
4782 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
4783 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
4784 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
4785 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
4786 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4787 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4788 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4789 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4790 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4791 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4792 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4793 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4794 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4795 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4796 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4797 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4798 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
4799 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4800 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4801 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4802 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4803 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4804 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4805 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4806 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4807 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4808 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
4809 |
8549 | 4810 2009-01-20 John W. Eaton <jwe@octave.org> |
4811 | |
4812 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
4813 (class file_stat): Derive from base_file_stat. | |
4814 (class file_fstat): New class, derived from base_file_stat. | |
4815 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4816 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4817 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4818 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4819 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4820 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4821 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4822 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4823 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4824 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4825 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4826 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4827 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4828 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4829 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4830 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4831 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4832 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4833 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4834 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4835 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4836 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4837 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4838 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4839 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4840 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4841 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4842 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4843 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4844 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4845 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4846 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4847 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4848 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4849 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4850 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4851 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4852 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4853 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4854 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4855 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4856 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4857 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4858 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4859 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4860 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4861 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4862 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4863 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4864 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4865 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4866 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4867 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4868 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4869 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4870 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
9967 | 4871 FloatComplexCHOL::insert_sym): Update interfaces. |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4872 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4873 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4874 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4875 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4876 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4877 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4878 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4879 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4880 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4881 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4882 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
4883 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
4884 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
4885 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
4886 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
4887 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
4888 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4889 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4890 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4891 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4892 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4893 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4894 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
4895 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4896 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
9967 | 4897 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4898 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4899 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 4900 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4901 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4902 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4903 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4904 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4905 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4906 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4907 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4908 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
4909 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4910 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4911 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4912 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4913 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4914 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4915 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4916 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4917 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4918 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4919 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4920 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4921 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4922 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
4923 |
8521 | 4924 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
4925 | |
4926 * oct-md5.cc: Include <cstdio>. | |
4927 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4928 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4929 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4930 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4931 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4932 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4933 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4934 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4935 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
4936 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4937 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4938 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4939 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4940 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
4941 |
8410 | 4942 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
4943 | |
4944 * Array.cc (rec_permute_helper): New class. | |
4945 (Array<T>::permute): Rewrite using the recursive algorithm. | |
4946 | |
8403 | 4947 2008-12-12 David Bateman <dbateman@free.fr> |
4948 | |
9967 | 4949 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky |
8403 | 4950 factorization. |
9967 | 4951 |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4952 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4953 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4954 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4955 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4956 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4957 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
4958 |
8397 | 4959 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
4960 | |
4961 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
4962 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4963 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4964 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4965 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4966 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4967 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4968 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
4969 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4970 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4971 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4972 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4973 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4974 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4975 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4976 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4977 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4978 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4979 |
9967 | 4980 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4981 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4982 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4983 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4984 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4985 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
4986 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
4987 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
4988 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
4989 * Makefile.in (INCLUDES): Add oct-locbuf.h |
9967 | 4990 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4991 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4992 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4993 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4994 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4995 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 4996 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4997 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4998 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
4999 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
5000 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
5001 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
5002 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
5003 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5004 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5005 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5006 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5007 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5008 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5009 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5010 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5011 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5012 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5013 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5014 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
5015 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5016 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5017 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5018 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5019 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5020 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5021 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5022 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5023 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5024 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5025 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5026 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5027 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5028 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5029 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5030 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5031 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
5032 |
9967 | 5033 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5034 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
9967 | 5035 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5036 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5037 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5038 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5039 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5040 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5041 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5042 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5043 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5044 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5045 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5046 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5047 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
5048 |
8369 | 5049 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
5050 | |
5051 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
5052 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5053 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5054 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5055 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5056 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5057 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5058 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
5059 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5060 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5061 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5062 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5063 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5064 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5065 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5066 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5067 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5068 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5069 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5070 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5071 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5072 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5073 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5074 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5075 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5076 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5077 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5078 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5079 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5080 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
5081 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5082 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5083 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5084 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5085 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5086 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5087 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5088 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5089 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5090 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5091 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5092 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5093 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5094 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5095 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5096 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5097 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5098 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5099 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5100 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5101 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5102 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5103 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5104 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5105 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5106 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5107 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5108 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5109 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5110 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5111 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5112 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5113 New functions. |
9967 | 5114 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5115 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5116 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5117 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5118 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5119 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5120 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5121 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5122 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5123 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5124 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5125 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5126 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5127 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5128 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5129 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5130 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5131 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5132 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5133 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5134 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5135 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5136 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5137 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5138 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5139 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5140 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5141 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5142 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5143 |
9967 | 5144 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5145 New constructor. |
9967 | 5146 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5147 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5148 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
5149 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5150 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5151 |
9967 | 5152 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5153 bool calc_eigenvectors = true)): New constructor. |
9967 | 5154 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5155 bool calc_eigenvectors = true)): New constructor. |
9967 | 5156 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5157 bool calc_eigenvectors = true)): New constructor. |
9967 | 5158 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
5159 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5160 constructor. |
9967 | 5161 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5162 bool calc_eigenvectors)): New function. |
9967 | 5163 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5164 bool calc_eigenvectors)): New function. |
9967 | 5165 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5166 bool calc_eigenvectors)): New function. |
9967 | 5167 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5168 bool calc_eigenvectors)): New function. |
9967 | 5169 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5170 bool calc_eigenvectors = true)): New constructor. |
9967 | 5171 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
5172 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5173 constructor. |
9967 | 5174 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
5175 bool calc_eigenvectors = true)): New constructor. | |
5176 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, | |
5177 octave_idx_type& info, bool calc_eigenvectors = true)): New | |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5178 constructor. |
9967 | 5179 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5180 bool calc_eigenvectors)): New function. |
9967 | 5181 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5182 bool calc_eigenvectors)): New function. |
9967 | 5183 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5184 bool calc_eigenvectors)): New function. |
9967 | 5185 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5186 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
5187 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5188 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9967 | 5189 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5190 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5191 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5192 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5193 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5194 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
5195 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5196 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5197 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5198 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5199 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5200 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5201 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5202 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5203 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5204 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
5205 |
8335 | 5206 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
5207 | |
5208 * DET.h: New source. | |
5209 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
5210 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
5211 * Makefile.in: Reflect changes. | |
5212 * mx-defs.h: Remove DET decls. | |
5213 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
5214 dSparse.h, CSparse.h: Include only DET.h. | |
5215 * dMatrix.cc (Matrix::determinant), | |
5216 fMatrix.cc (FloatMatrix::determinant), | |
5217 CMatrix.cc (ComplexMatrix::determinant), | |
5218 fCMatrix.cc (FloatComplexMatrix::determinant), | |
5219 dSparse.cc (SparseMatrix::determinant), | |
5220 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
5221 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
5222 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
5223 |
9967 | 5224 * file-ops.cc (std::string file_ops::tilde_expand (const |
5225 std::string&)): Check if the string contains a tilde and fast | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
5226 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
5227 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
5228 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
5229 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
5230 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
5231 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
5232 |
8324 | 5233 2008-11-14 David Bateman <dbateman@free.fr> |
5234 | |
5235 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
5236 resize_fill_value. | |
5237 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5238 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5239 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5240 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5241 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5242 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5243 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5244 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5245 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5246 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5247 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5248 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5249 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5250 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5251 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5252 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5253 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5254 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5255 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
5256 |
9501 | 5257 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
5258 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
5259 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
5260 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
5261 |
9501 | 5262 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
5263 |
9967 | 5264 * oct-norm.cc: Don't include Array.cc. |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
5265 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
5266 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
5267 Array<T>::resize. |
8628 | 5268 (row_norms (const MArray2<T>&, ...)): Ditto. |
5269 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
5270 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
5271 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5272 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5273 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5274 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5275 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5276 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5277 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5278 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5279 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5280 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5281 * dSparse.h (SparseMatrix): Declare them. |
9967 | 5282 * MArray-C.cc (MArray<Complex>::norm), |
5283 MArray-d.cc (MArray<double>::norm), | |
5284 MArray-fC.cc (MArray<FloatComplex>::norm), | |
5285 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. | |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5286 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5287 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
5288 |
9501 | 5289 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
5290 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
5291 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
5292 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
5293 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
5294 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
5295 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5296 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5297 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5298 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5299 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5300 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5301 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
5302 |
9501 | 5303 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
5304 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
5305 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
5306 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
5307 std::abs. |
8628 | 5308 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
5309 |
9501 | 5310 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5311 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5312 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5313 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5314 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5315 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5316 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5317 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5318 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5319 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5320 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5321 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5322 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5323 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5324 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5325 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5326 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5327 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5328 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5329 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5330 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5331 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5332 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5333 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
5334 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5335 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5336 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5337 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5338 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5339 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
5340 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5341 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5342 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5343 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5344 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5345 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5346 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
5347 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
5348 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
5349 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
5350 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
5351 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
5352 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
5353 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
5354 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
5355 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
5356 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
5357 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
5358 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
5359 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
5360 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
5361 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
5362 |
9501 | 5363 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5364 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5365 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5366 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5367 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5368 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5369 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
5370 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5371 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5372 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5373 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5374 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5375 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
5376 |
9501 | 5377 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5378 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5379 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5380 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5381 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5382 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5383 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
5384 |
8198 | 5385 2008-10-08 John W. Eaton <jwe@octave.org> |
5386 | |
5387 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
5388 sparse arguments rather than rely on extern function. | |
5389 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5390 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5391 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5392 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5393 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5394 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5395 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
5396 |
9501 | 5397 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
5398 |
9967 | 5399 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
5400 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
5401 |
8187 | 5402 2008-10-06 David Bateman <dbateman@free.fr> |
9967 | 5403 |
8187 | 5404 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar |
5405 sparse arguments rather than rely on extern function. | |
5406 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
5407 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
5408 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
5409 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
5410 |
9501 | 5411 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5412 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5413 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
9967 | 5414 constants. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5415 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5416 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5417 * oct-inttypes.cc: Define alternative implementations for 64-bit |
9967 | 5418 multiplication and mixed operations. |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5419 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
5420 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
5421 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
5422 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
5423 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
5424 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5425 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5426 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5427 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5428 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5429 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5430 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
5431 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5432 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5433 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5434 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5435 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5436 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5437 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
5438 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
5439 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
5440 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
5441 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
5442 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
5443 |
8182 | 5444 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
5445 |
9967 | 5446 * oct-inttypes.h: Mostly rewrite. |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
5447 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
5448 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
5449 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
5450 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
5451 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
5452 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
5453 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5454 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5455 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5456 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5457 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5458 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5459 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5460 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5461 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
5462 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5463 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5464 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5465 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5466 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5467 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5468 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
9967 | 5469 |
5470 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): | |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
5471 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5472 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5473 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5474 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5475 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5476 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
5477 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5478 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5479 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5480 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5481 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5482 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5483 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
5484 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
5485 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
5486 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
5487 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
5488 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
5489 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
5490 |
9967 | 5491 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
5492 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
5493 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5494 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5495 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5496 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5497 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5498 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5499 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5500 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5501 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5502 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5503 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5504 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5505 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5506 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5507 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5508 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5509 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5510 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5511 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5512 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5513 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5514 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5515 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5516 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5517 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5518 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5519 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5520 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5521 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5522 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5523 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
5524 octave_int<T>&, float)): New functions. |
8040 | 5525 |
5526 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
5527 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
5528 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
5529 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
5530 |
8040 | 5531 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
5532 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
5533 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
5534 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
5535 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
5536 2008-08-07 John W. Eaton <jwe@octave.org> |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
5537 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
5538 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
5539 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
5540 * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
5541 Replace all uses of NPOS with std::string::npos. |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
5542 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
5543 * fCmplxLU.h, CmplxLU.h: Fix typo in definition of |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
5544 multiple-inclusion guard macro. |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
5545 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
5546 2008-08-05 John W. Eaton <jwe@octave.org> |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
5547 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5548 * file-ops.h, file-ops.cc (file_ops::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5549 New singleton class for static members of file_ops. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5550 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5551 * pathsearch.h, pathsearch.cc (class dir_path::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5552 New singleton class for static members of dir_path. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
5553 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
5554 * pathsearch.cc (dir_path::init): Move octave_kpathsea_initialized |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
5555 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
5556 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
5557 2008-08-04 John W. Eaton <jwe@octave.org> |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
5558 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5559 * oct-env.cc (octave_env::do_set_program_name, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5560 octave_env::do_base_pathname): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5561 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5562 (octave_env::do_make_absolute): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5563 file_ops::dir_sep_chars and file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5564 (octave_env::do_get_home_directory): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5565 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5566 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5567 * file-ops.h (file_ops::do_is_dir_sep): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5568 (file_ops_::is_dir_sep): Call it. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5569 * file-ops.cc (class file_ops): Make it a proper singleton object. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5570 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5571 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5572 (file_ops::xdir_sep_char): Now private. No longer static. Rename |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5573 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5574 (file_ops::xdir_sep_str): Likewise, from dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5575 (file_ops::xdir_sep_chars): Likewise, from dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5576 (file_ops::dir_sep_char, file_ops::dir_sep_str, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5577 file_ops::dir_sep_chars): New functions. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5578 (file_ops::recursive_rmdir): Fix usage of file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5579 (file_ops::concat): Fix usage of file_ops::dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
5580 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
5581 * oct-env.cc (octave_env::instance_ok): Fix typo in error message. |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
5582 |
7999 | 5583 2008-07-30 John W. Eaton <jwe@octave.org> |
5584 | |
5585 * oct-inttypes.h: Style fixes. | |
5586 | |
8040 | 5587 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5588 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5589 * oct-inttypes.h (octave_int<T>::trunc_flag): New member static field. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5590 (octave_int<T>::get_trunc_flag, octave_int<T>::clear_trunc_flag): New |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5591 member functions. |
7999 | 5592 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
5593 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5594 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5595 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
5596 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5597 2008-07-29 David Bateman <dbateman@free.fr> |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5598 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5599 * lo-ieee.h (LO_IEEE_NA_HW, LO_IEEE_NA_LW, LO_IEEE_NA_FLOAT): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5600 Change definition so cast from single to double and visa versa |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5601 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5602 (LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD): Keep old values. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5603 (extern OCTAVE_API int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5604 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5605 (extern OCTAVE_API double __lo_ieee_replace_old_NA (double)): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5606 Function to replace old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5607 * lo-cieee.c (int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5608 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5609 (double __lo_ieee_replace_old_NA (double)): Function to replace |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5610 old NA value with new new. |
9967 | 5611 * data-conv.cc (void read_doubles(std::istream&, double *, |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5612 save_type, int, bool, octave_mach_info::float_format)): Test if |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
5613 loaded NA values is the old representation and replace it. |
9967 | 5614 |
8040 | 5615 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 5616 |
5617 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
5618 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5619 2008-07-21 Michael Goffioul <michael.goffioul@gmail.com> |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5620 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5621 * oct-mutex.h (octave_base_mutex::octave_base_mutex): Initialize |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5622 count to 1, not -1. |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5623 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5624 * oct-mutex.cc (octave_base_mutex::lock, octave_base_mutex::unlock): |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5625 Replace error calls with (*current_liboctave_error_handler). |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
5626 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
5627 2008-07-21 John W. Eaton <jwe@octave.org> |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
5628 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
5629 * regex-match.cc (regex_match::init): Initialize err to 0. |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
5630 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5631 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5632 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5633 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5634 (class octave_mutex): Don't use union for rep and count. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5635 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5636 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5637 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5638 (octave_mutex::~octave_mutex): No need to check that rep is |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5639 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5640 (octave_mutex::operator =): No need to check that rep is valid. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5641 * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5642 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
5643 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5644 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5645 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5646 * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5647 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5648 * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5649 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
5650 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
5651 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
5652 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
5653 * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
5654 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
5655 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5656 2008-07-16 John W. Eaton <jwe@octave.org> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5657 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5658 * oct-mutex.h (octave_autolock::octave_autolock (void), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5659 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5660 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5661 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5662 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5663 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5664 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5665 * cmd-edit.cc (event_hook_lock): New static mutex variable. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5666 (command_editor::event_handler): Lock and copy event_hook_set before |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5667 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5668 (command_editor::add_event_hook, command_editor::remove_event_hook): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5669 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
5670 |
7934 | 5671 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
5672 | |
5673 * oct-mutex.h, oct-mutex.cc: New files. | |
5674 * Makefile.in: Add them to appropriate lists. | |
5675 | |
7929 | 5676 2008-07-15 John W. Eaton <jwe@octave.org> |
5677 | |
5678 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
5679 descending arg as bool&. | |
5680 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
5681 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5682 2008-07-11 John W. Eaton <jwe@octave.org> |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5683 |
7924 | 5684 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
5685 number of rows or columns is 0. | |
5686 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
5687 | |
5688 * Array-util.cc (is_vector): Avoid GCC warning. | |
5689 * Array-f.cc (Array<float>::sort): Likewise. | |
5690 * Array-d.cc (Array<double>::sort): Likewise. | |
5691 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
5692 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
5693 ComplexMatrix&)): Likewise. | |
5694 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
5695 FloatMatrix&)): Likewise. | |
5696 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
5697 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
5698 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
5699 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
5700 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
5701 FloatIndefQuad::do_integrate): Likewise. | |
5702 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5703 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5704 SND_BOOL_OP, NDND_BOOL_OP): Detect NaN values. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5705 * Array-util.cc (gripe_nan_to_logical_conversion): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5706 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5707 * oct-inttypes.h (xisnan (octave_int<T>)): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5708 * lo-mappers.h (xisnan (bool), xisnan (char)): New inline functions. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5709 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5710 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5711 dSparse.cc, fCMatrix.cc, fCNDArray.cc, fMatrix.cc, fNDArray.cc: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5712 New member function, any_element_is_nan. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5713 * CMatrix.h, CNDArray.h, CSparse.h, dMatrix.h, dNDArray.h, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5714 dSparse.h, fCMatrix.h, fCNDArray.h, fMatrix.h, fNDArray.h: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5715 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
5716 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5717 2008-07-10 David Bateman <dbateman@free.fr> |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5718 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5719 * dNDArray.cc (NDArray::NDArray (const Array<octave_idx_type>&, |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5720 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5721 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
5722 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
5723 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
5724 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
5725 * lo-specfun.h: Fix typo in erff/erfcf declaration. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
5726 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
5727 |
8040 | 5728 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
5729 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
5730 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
5731 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
5732 2008-06-13 Michael Goffioul <michael.goffioul@gmail.com> |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
5733 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
5734 * lo-mappers.cc (arg): Remove ambiguity about atan2(float,float) usage. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
5735 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
5736 |
7885 | 5737 2008-06-11 John W. Eaton <jwe@octave.org> |
5738 | |
5739 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
5740 * Makefile.in: Remove them from the lists. | |
5741 | |
7872 | 5742 2008-06-05 John W. Eaton <jwe@octave.org> |
5743 | |
5744 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
5745 counter if iterator is valid. | |
5746 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5747 2008-06-02 David Bateman <dbateman@free.fr> |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5748 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5749 * fCmplxDET.cc (FloatComplexDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5750 FloatComplexDET:value_will_underflow): Replace DBL_MIN and DBL_MAX |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5751 with FLT_MIN and FLT_MAX. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5752 * floatDET.cc ((FloatDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5753 FloatDET:value_will_underflow): Ditto. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5754 * lo-cieee.c (__lo_ieee_float_is_NA): Check only a sngle word for |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5755 float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5756 (lo_ieee_float_inf_value): Return correct float Infinity value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5757 (lo_ieee_float_NA_value): Return correct float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5758 (lo_ieee_float_NaN_value): Return correct float NaN value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5759 * lo-ieee.cc (octave_ieee_init): Set float NA value correctly. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5760 * lo-ieee.h (lo_ieee_float): value of union is of type float. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5761 (LO_IEEE_NA_FLOAT): Make NA value a valid float NaN. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5762 (LO_IEEE_NA_FLOAT_LW): Delete. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
5763 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5764 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5765 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
5766 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
5767 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
5768 * floatLU.h (class FloatLU): ditto. |
9967 | 5769 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5770 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5771 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5772 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
5773 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
5774 * Makefile.in (MATRIX_INC): Add fCmplxAEPBAL.h and floatAEPBAL.h. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
5775 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
5776 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5777 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5778 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5779 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5780 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5781 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5782 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5783 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5784 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5785 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5786 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5787 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5788 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
5789 |
8040 | 5790 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 5791 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5792 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5793 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5794 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5795 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5796 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5797 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5798 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5799 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5800 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5801 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5802 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
5803 |
7803 | 5804 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
5805 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5806 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
9967 | 5807 Correct indenting. |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5808 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5809 (FULL_SPARSE_MUL): Simplify scalar*matrix case. Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5810 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5811 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5812 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5813 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5814 * CSparse.h (mul_trans, trans_mul, mul_herm, herm_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5815 * CSparse.cc (mul_trans, trans_mul, mul_herm, herm_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
5816 |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5817 * dMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5818 * dMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5819 (operator * (const Matrix&, const Matrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5820 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5821 * CMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5822 * CMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5823 (operator * (const ComplexMatrix&, const ComplexMatrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5824 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
5825 |
7799 | 5826 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
5827 New template functions. | |
5828 (MatrixType::MatrixType (const Matrix&), | |
5829 MatrixType::MatrixType (const FloatMatrix&)): | |
5830 just call matrix_real_probe. | |
5831 (MatrixType::MatrixType (const ComplexMatrix&), | |
5832 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
5833 just call matrix_complex_probe. | |
5834 | |
5835 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
5836 add missing test for Unknown. | |
5837 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5838 2008-05-21 David Bateman <dbateman@free.fr> |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5839 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5840 * fCMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5841 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5842 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5843 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5844 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5845 * fCMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5846 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5847 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5848 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5849 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5850 * fMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5851 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5852 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5853 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5854 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5855 * fMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5856 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5857 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5858 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5859 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
5860 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
5861 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
5862 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5863 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5864 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5865 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5866 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5867 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5868 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5869 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5870 (MATRIX_SRC): and here. |
9967 | 5871 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5872 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 5873 (FloatComplexAEPBALANCE): New classes for single precision |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5874 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5875 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5876 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5877 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5878 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5879 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5880 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5881 classes for single precision Hessenberg decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5882 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5883 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5884 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5885 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5886 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5887 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5888 classes for single precision QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5889 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5890 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5891 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5892 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5893 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5894 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5895 classes for single precision permuted QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5896 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5897 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5898 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5899 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5900 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5901 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5902 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5903 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
5904 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 5905 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5906 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5907 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5908 * Array.cc (Array<T> Array<T>::transpose () const): Modify for tiled |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5909 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5910 (Array<T> Array<T>::hermitian (T (*)(const&)) const): New method |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5911 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5912 * Array.h (Array<T> hermitian (T (*)(const&)) const): Declare it. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5913 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5914 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5915 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5916 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5917 Ditto. |
9967 | 5918 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5919 * MArray.h (MArray<T> hermitian <T (*) (const&)) const): New method. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5920 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5921 * MArray2.h (MArray2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5922 * Array2.h (Array2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5923 * ArrayN.h (ArrayN<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5924 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5925 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5926 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5927 * CColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5928 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5929 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5930 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5931 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5932 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5933 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5934 * fCColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5935 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5936 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5937 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5938 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5939 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5940 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5941 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5942 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5943 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5944 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5945 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5946 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5947 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5948 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5949 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5950 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5951 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5952 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5953 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5954 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5955 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5956 Declare them. |
9967 | 5957 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5958 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5959 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5960 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5961 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5962 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5963 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5964 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5965 (MATRIX_SRC): and here. |
9967 | 5966 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5967 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
9967 | 5968 (FloatComplexAEPBALANCE): New classes for single precision |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5969 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5970 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5971 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5972 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5973 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5974 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5975 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5976 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5977 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5978 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5979 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5980 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5981 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5982 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5983 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5984 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5985 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5986 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5987 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5988 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5989 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5990 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5991 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5992 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5993 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5994 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5995 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5996 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5997 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5998 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5999 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
9967 | 6000 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6001 * Array-f.cc, Array-fC.cc, MArray-f.cc, MArray-fC.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6002 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6003 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6004 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6005 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6006 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6007 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6008 fEIG.cc, fEIG.h, fMatrix.cc, fMatrix.h, fNDArray.cc, fNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6009 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6010 floatDET.cc, floatDET.h, floatLU.cc, floatLU.h, floatSCHUR.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6011 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6012 * Makefile.in (MATRIC_INC, TI_SRC, MATRIX_SRC): Add them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6013 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6014 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, CmplxDET.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6015 MArray-C.cc, MArray-d.cc, MArray-defs.h, MArray.cc, MArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6016 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6017 SparseQR.cc, SparseQR.h, dMatrix.cc, dMatrix.h, dNDArray.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6018 dNDArray.h, data-conv.cc, data-conv.h, dbleDET.cc, dbleSVD.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6019 lo-cieee.c, lo-ieee.cc, lo-ieee.h, lo-mappers.cc, lo-mappers.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6020 lo-specfun.cc, lo-specfun.h, lo-utils.cc, lo-utils.h, mx-base.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6021 mx-defs.h, mx-ext.h, mx-inlines.cc, mx-op-defs.h, mx-ops, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6022 oct-cmplx.h, oct-fftw.cc, oct-fftw.h, oct-inttypes.h, vx-ops: |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6023 Allow single precision types. |
9967 | 6024 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6025 2008-05-20 David Bateman <dbateman@free.fr> |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6026 |
7788 | 6027 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
6028 to avoid shadowed variable warning | |
6029 (double ComplexMatrix::rcond (void) const): New method for | |
6030 reciprocal condition number calculation. | |
6031 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
6032 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
6033 to avoid shadowed variable warning | |
6034 (double ComplexMatrix::rcond (void) const): New method for | |
6035 reciprocal condition number calculation. | |
6036 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
6037 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
6038 to avoid shadowed variable warning | |
6039 (double Matrix::rcond (void) const): New method for | |
6040 reciprocal condition number calculation. | |
6041 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
6042 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
6043 to avoid shadowed variable warning | |
6044 (double Matrix::rcond (void) const): New method for | |
6045 reciprocal condition number calculation. | |
6046 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
6047 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6048 * regex-match.cc, regex-match.h: New class for simple regular |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6049 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6050 * Makefile.in (INCLUDES): Add regex-match.h here, and |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6051 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
6052 |
7776 | 6053 2008-05-19 David Bateman <dbateman@free.fr> |
6054 | |
6055 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
6056 incorrectly used. | |
6057 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6058 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6059 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6060 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6061 If len is zero size the index vector in the same manner as if len |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6062 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
6063 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6064 2008-05-05 John W. Eaton <jwe@octave.org> |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6065 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6066 * cmd-edit.cc (command_editor::re_read_init_file, |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6067 gnu_readline::do_re_read_init_file): New functions. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6068 * cmd-edit.h (command_editor::re_read_init_file): Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6069 (command_editor::do_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6070 * oct-rl-edit.c (octave_rl_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6071 * oct-rl-edit.h: Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
6072 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
6073 2008-05-05 Rafael Laboissiere <rafael@debian.org> |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
6074 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
6075 * oct-rl-edit.c (octave_read_init_file): Simply call rl_read_init_file. |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
6076 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6077 2008-05-01 John W. Eaton <jwe@octave.org> |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6078 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6079 * oct-shlib.h (octave_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6080 Return size_t instead of int value. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6081 * oct-shlib.cc (octave_base_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6082 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6083 (octave_base_shlib::fcn_names): Now a std::map object. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6084 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6085 (octave_base_shlib::fcn_names_iterator, |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6086 octave_base_shlib::fcn_names_const_iterator): New typedefs. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6087 (octave_base_shlib::add_to_fcn_names, octave_base_shlib::remove): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6088 Perform reference counting for functions accessed. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
6089 |
8040 | 6090 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 6091 |
6092 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
6093 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
6094 New functions. | |
6095 * lo-mappers.h: Provide decls. | |
6096 | |
9501 | 6097 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
6098 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
6099 * oct-lookup.h (seq_lookup): Do not use output value of fill_n (MSVC |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
6100 does not support it). |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
6101 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
6102 2008-04-24 Michael Goffioul <michael.goffioul@gmail.com> |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
6103 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
6104 * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
6105 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
6106 2008-04-21 John W. Eaton <jwe@octave.org> |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
6107 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
6108 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
6109 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
6110 |
8040 | 6111 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
6112 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
6113 * CmplxCHOL.cc, CmplxQR.cc, dbleCHOL.cc, dbleQR.cc: Fix calls to error() |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
6114 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6115 2008-04-16 David Bateman <dbateman@free.fr> |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6116 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6117 * Sparse.h (Sparse<T>& operator = (Sparse<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6118 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6119 * Sparse.cc (Sparse<T>& Sparse<T>::operator = (Sparse<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6120 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6121 * Array.h (Array<T>& operator = (Array<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6122 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6123 * Array.cc (Array<T>& Array<T>::operator = (Array<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6124 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
6125 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
6126 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
6127 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
6128 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
6129 value is equal to bitmax implementation taken from gnulib). |
7705
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
6130 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
6131 * file-stat.cc (file_stat::update_internal): Do not strip trailing |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
6132 file separator when path length is equal to 1 (handle case '\') under |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
6133 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
6134 |
8040 | 6135 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6136 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6137 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6138 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6139 * dbleCHOL.h, dbleCHOL.cc (CHOL::insert_sym, CHOL::delete_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6140 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6141 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6142 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
6143 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
6144 2008-04-03 John W. Eaton <jwe@octave.org> |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
6145 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
6146 * lo-sysdep.cc [__WIN32__ && ! __CYGWIN__]: Include windows.h. |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
6147 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
6148 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
6149 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
6150 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
6151 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
6152 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
6153 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
6154 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
6155 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6156 2008-03-25 David Bateman <dbateman@feee.fr> |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6157 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6158 * Array.cc (assignN): refactor calculation of new dimensions when |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6159 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6160 * Array-util.cc (bool is_vector (const dim_vector&)): New |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6161 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6162 * Array-util.h (bool is_vector (const dim_vector&)): declare it. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
6163 |
7637
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6164 2008-03-25 David Bateman <dbateman@free.fr> |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6165 |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6166 * sparse-base-chol.h (sparse_base_chol_rep::~sparse_base_chol_rep |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6167 (void)): Only free the factorization if it was created |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6168 * spase-base-chol.cc (sparse_base_chol_rep::init): Don't attempt |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6169 to factorize a matrix that has been flagged as not being positive |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6170 definite. |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
6171 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6172 2008-03-25 John W. Eaton <jwe@octave.org> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6173 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6174 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6175 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6176 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6177 2008-03-25 Jaroslav Hajek <highegg@gmail.com> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6178 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
6179 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
6180 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
6181 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6182 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6183 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
6184 |
7625
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
6185 2008-03-23 David Bateman <dbateman@free.fr> |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
6186 |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
6187 * mx-ops: Definite binary operators for mixed integer array + |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
6188 array case, except for 64bit cases. |
9967 | 6189 |
7619 | 6190 2008-03-21 David Bateman <dbateman@free.fr> |
6191 | |
6192 * oct-sparse.h: Add headers for amd.h. | |
6193 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6194 2008-03-20 David Bateman <dbateman@free.fr> |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6195 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6196 * Array.cc (Array<T> Array<T>::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6197 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6198 * Array.h (Array<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6199 * Array2.h (Array2<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6200 * MArray2.h (MArray2<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6201 * ArrayN.h (ArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6202 * MArrayN.h (MArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6203 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6204 * Sparse.cc (Sparse<T> Sparse<T>::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6205 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6206 * Sparse.h (Sparse<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6207 * MSparse.h (MSparse<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6208 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6209 * Range.cc (Matrix Range::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6210 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6211 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
9967 | 6212 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6213 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6214 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6215 * dDiagMatrix.cc (ColumnVector DiagMatrix::diag (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6216 * dDiagMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6217 * CMatrix.cc (ComplexColumnVector ComplexMatrix::diag (void) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6218 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6219 * CMatrix.h (ComplexColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6220 * dMatrix.cc (ColumnVector Matrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6221 * dMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6222 * boolMatrix.cc (boolMatrix boolMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6223 * boolMatrix.h (boolMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6224 * chMatrix.cc (charMatrix charMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6225 * chMatrix.h (charMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6226 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6227 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
9967 | 6228 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6229 * CMatrix.cc (ComplexMatrix ComplexMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6230 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6231 * CMatrix.h (ComplexMatrix diag (octave_idx_type)const ): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6232 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6233 * dMatrix.cc (Matrix Matrix::diag (octave_idx_type) const): Rewrite in |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6234 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6235 * dMatrix.h (Matrix diag (octave_idx_type) const): Change return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6236 * boolMatrix.cc (boolMatrix boolMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6237 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6238 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
9967 | 6239 return type. |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6240 * chMatrix.cc (charMatrix charMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6241 const): Rewrite in terms of template classes function. |
9967 | 6242 |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6243 * dSparse.cc (SparseMatrix SparseMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6244 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6245 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6246 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6247 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6248 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6249 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6250 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6251 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6252 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6253 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6254 * CNDArray.h (ComplexNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6255 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6256 * dNDArray.cc (NDArray NDArray::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6257 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6258 * dNDArray.h (NDArray diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6259 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6260 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6261 * chNDArray.h (charNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6262 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
6263 |
9967 | 6264 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
6265 2008-03-19 John W. Eaton <jwe@octave.org> |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
6266 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
6267 * oct-env.cc (octave_env::do_base_pathname): Also handle rooted |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
6268 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
6269 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6270 2008-03-19 David Bateman <dbateman@free.fr> |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6271 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
6272 * Array.cc (assignN): If orig_empty allow assignment like |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
6273 a(1:10,1)=1:10 |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
6274 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6275 * Sparse.h (template <class U, class F> Sparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6276 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6277 * MSparse.h (template <class U, class F> MSparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6278 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6279 * dSparse.cc (SparseMatrix SparseMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6280 SparseComplexMatrix SparseMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6281 SparseBoolMatrix SparseMatrix::map (bmapper) const): Rewrite in |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6282 terms of the new template functor. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6283 * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6284 SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
6285 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
9967 | 6286 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
6287 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
6288 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
6289 * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
6290 * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
6291 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
9967 | 6292 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
6293 * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
6294 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
6295 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
9967 | 6296 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
6297 * Array.cc (Array<T>::index): Don't short_freeze on index with |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
6298 fewer dimensions than the array only if the last dimension is empty. |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
6299 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
6300 2008-03-18 John W. Eaton <jwe@octave.org> |
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
6301 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
6302 * oct-inttypes.h (octave_int_fit_to_range): |
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
6303 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
6304 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6305 2008-03-08 John W. Eaton <jwe@octave.org> |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6306 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6307 * Sparse.cc (Sparse<T>::index, assign): Likewise. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6308 * Array.cc (Array<T>::index1, Array<T>::index2, Array<T>::indexN, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6309 assign2): Eliminate use of idx_vector::is_one_zero method. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6310 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6311 (idx_vector::maybe_convert_one_zero_to_idx, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6312 IDX_VEC_REP::maybe_convert_one_zero_to_idx): Delete unused function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6313 (IDX_VEC_REP::one_zero): Delete data member. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6314 (IDX_VEC_REP::is_colon_equiv): Delete one_zero check. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6315 (idx_vector::is_one_zero, IDX_VEC_REP::is_one_zero): Delete function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
6316 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6317 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6318 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6319 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (bool), |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6320 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6321 Simply perform the equivalent of "find" on the bool argument here, |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6322 set one_zero to 0 and orig_dims to size of resulting index vector. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6323 (IDX_VEC_REP::freeze): Don't call maybe_convert_one_zero_to_idx here. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
6324 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6325 2008-03-05 Jaroslav Hajek <highegg@gmail.com> |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6326 |
9967 | 6327 * dbleQR.cc (QR::insert_col, QR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
6328 QR::delete_col, QR::delete_row): Use 0-based indexing. |
9967 | 6329 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
6330 ComplexQR::delete_col, ComplexQR::delete_row): Likewise. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
6331 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6332 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6333 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6334 * CmplxQR.cc (ComplexQR::ComplexQR): Adjust code to match dbleQR.cc. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6335 * dbleQR.cc (QR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6336 * CmplxQR.cc (ComplexQR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
6337 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6338 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6339 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6340 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6341 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6342 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6343 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6344 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6345 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
6346 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6347 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6348 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6349 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6350 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6351 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6352 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6353 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6354 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6355 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6356 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
6357 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
6358 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
6359 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
6360 * Array-C.cc, Sparse-C.cc: Include oct-sort.cc after definitions |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
6361 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
6362 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
6363 2008-03-03 David Bateman <dbateman@free.fr> |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
6364 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
6365 * Sparse.cc (assign1, assign1): Take care of repeated index |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
6366 values. Adapt the test code to check for these cases. |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
6367 |
7545 | 6368 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
6369 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
6370 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
6371 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
6372 calculation of nlvl. |
7545 | 6373 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
6374 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
6375 2008-02-27 John W. Eaton <jwe@octave.org> |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
6376 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
6377 * oct-rand.cc (class octave_rand): Make it a proper singleton class. |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
6378 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
6379 2008-02-26 John W. Eaton <jwe@octave.org> |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
6380 |
7536 | 6381 * oct-rand.cc (get_dist_id): Fix typo. |
6382 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
6383 fill_rand): Improve error messages. | |
6384 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
6385 * oct-rand.cc (unknown_dist): New dist type. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
6386 (uniform_dist, normal_dist, expon_dist, poisson_dist, gamma_dist): |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
6387 Use static const int instead of #define. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
6388 (get_dist_id): Default retval is unknown_dist. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
6389 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6390 * oct-rand.cc (rand_states): New static variable. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6391 (initialize_rand_states, get_dist_id, get_internal_state, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6392 set_internal_state, switch_to_generator, save_state): New functions. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6393 (octave_rand::state): New arg to specify distribution. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6394 Save state in rand_states instead of setting internal state. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6395 Return named state. Use set_internal_state to generate proper |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6396 state vector from user supplied state. Save and restore current |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6397 state if specified and current distributions are different. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6398 (octave_rand::distribution (void)): Use switch rather than if/else. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6399 (octave_rand::distribution (const std::string&)): Likewise. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6400 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6401 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6402 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6403 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6404 octave_rand::gamma_distribution): Call switch_to_generator. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6405 (octave_rand::state, maybe_initialize): For new_generators, just |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6406 call initialize_rand_states if not already initialized. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6407 (octave_rand::scalar, fill_rand): Save state after generating value. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
6408 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
6409 * dMatrix.cc (Matrix::lssolve): Avoid another dgelsd lwork query bug. |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
6410 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
6411 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6412 2008-02-24 John W. Eaton <jwe@octave.org> |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6413 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6414 * oct-inttypes.h (octave_int_helper): New class. Provide |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6415 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6416 (octave_int<T>::operator >>=, octave_int<T>::abs, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6417 octave_int<T>::signum): Use static functions from |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6418 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6419 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6420 * oct-inttypes.h, oct-inttypes.cc (OCTAVE_US_TYPE1_CMP_OP, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6421 OCTAVE_US_TYPE2_CMP_OP): Tag function declarations and definitions |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6422 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
6423 |
7520 | 6424 2008-02-22 John W. Eaton <jwe@octave.org> |
6425 | |
6426 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
6427 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
6428 sparse-dmsolve.cc: Use 0 instead of NULL. | |
6429 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6430 2008-02-22 David Bateman <dbateman@free.fr> |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6431 |
9967 | 6432 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6433 (octave_idx_type) const): New method. |
9967 | 6434 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6435 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6436 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6437 * base-lu.h (lu_type Y (void) const): New method to return |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6438 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6439 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
9967 | 6440 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6441 lu_elt_type, p_type, p_elt_type> :: Y (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6442 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6443 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
9967 | 6444 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6445 lu_elt_type, p_type, p_elt_type> :: Y (void) const): Declare it |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6446 (SparseMatrix R (void) const): Method to return scaling factors. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6447 * SparsedbleLU.cc: Allow two element pivot thresholding and |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6448 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6449 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6450 * SparsedbleLU.h: Modify constructors to allow passing of two |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6451 element pivoting thresholds and flag for scaling |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6452 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6453 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6454 * base-lu.cc (ColumnVector P_vec (void) const): New method to |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6455 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6456 * base-lu.h (ColumnVector P_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6457 * sparse-base-lu.cc (ColumnVector Pr_vec (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6458 return row permutations as a vector. |
9967 | 6459 (ColumnVector Pc_vec (void) const): New method return column |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6460 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6461 * sparse-base-lu.h (ColumnVector Pr_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6462 (ColumnVector Pc_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6463 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
6464 * oct-spparms.cc: Add sym_tol field. |
9967 | 6465 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6466 2008-02-20 David Bateman <dbateman@free.fr> |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6467 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6468 * SparseComplexQR.cc (ComplexMatrix |
9967 | 6469 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6470 (void) const): New method. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6471 * SparseComplexQR.h (ComplexMatrix |
9967 | 6472 SparseComplexQR::SparseComplexQR_rep::Q |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6473 (void) const): Declare it. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6474 * SparseQR.cc (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6475 * SparseQR.h (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
6476 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6477 2008-02-20 John W. Eaton <jwe@octave.org> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6478 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6479 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6480 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6481 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6482 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6483 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6484 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6485 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6486 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6487 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6488 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6489 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6490 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6491 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6492 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6493 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6494 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6495 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6496 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6497 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6498 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6499 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6500 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6501 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6502 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6503 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6504 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6505 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6506 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6507 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6508 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6509 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6510 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6511 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6512 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6513 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6514 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6515 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6516 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6517 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6518 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6519 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6520 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6521 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6522 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6523 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6524 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6525 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6526 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6527 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6528 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6529 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6530 * oct-inttypes.h (abs, signum): Mapper functions on scalar integer |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6531 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6532 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6533 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6534 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6535 * dMatrix.cc (Matrix::lssolve): Check n > mnthr, not n > m when |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6536 deciding whether to calculate workspace size, with mnthr from ILAENV. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6537 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
6538 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6539 2008-02-14 John W. Eaton <jwe@octave.org> |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6540 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6541 * CColVector.cc, CMatrix.cc, CRowVector.cc, CSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6542 CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6543 CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, DASPK.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6544 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6545 dColVector.cc, dMatrix.cc, dRowVector.cc, dSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6546 dbleAEPBAL.cc, dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6547 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6548 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
6549 |
7477 | 6550 2008-02-12 John W. Eaton <jwe@octave.org> |
6551 | |
6552 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
6553 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
6554 | |
7476 | 6555 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
9967 | 6556 |
7480 | 6557 * Array.cc (ascending_compare, descending_compare): Remove |
6558 non-standard extern in the instantiations. | |
6559 | |
6560 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
6561 | |
7476 | 6562 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
6563 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
6564 workaround for DGELSD's broken lwork query. The formula is from | |
6565 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
6566 efficient algorithm in the short-and-fat case (n > m). | |
6567 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
6568 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
6569 ugly workaround for DGELSD's broken lwork query, as with double. | |
6570 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
6571 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
6572 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6573 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6574 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6575 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6576 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6577 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6578 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6579 * Sparse-C.cc, Sparse-b.cc, Sparse-d.cc: Don't use it. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
6580 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
6581 * Range.cc (Range::sort_internal): Avoid shadow warning from gcc. |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
6582 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
6583 2008-02-11 John W. Eaton <jwe@octave.org> |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
6584 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
6585 * Makefile.in ($(MAKEDEPS)): Skip dependencies if omit_deps is defined. |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
6586 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6587 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6588 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6589 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6590 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6591 |
7457 | 6592 2008-02-07 John W. Eaton <jwe@octave.org> |
6593 | |
7458 | 6594 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
6595 ASCENDING, with default value of true. | |
6596 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
6597 (Range::sort (octave_idx_type, sortmode) const): New function. | |
6598 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
6599 const): New function. | |
6600 * Range.h: Fix/provide decls. | |
6601 | |
7457 | 6602 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
6603 | |
7449 | 6604 2008-02-06 John W. Eaton <jwe@octave.org> |
6605 | |
6606 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
6607 (stamp-prereq): Eliminate. | |
6608 (clean): Don't remove stamp-prereq. | |
6609 (libraries): Don't depend on stamp-prereq. | |
6610 (PREREQ): New macro. | |
6611 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
6612 (distclean): Simplify with $(PREREQ). | |
6613 (OPT_BASE): New macro. | |
6614 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
6615 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
6616 | |
7448 | 6617 2008-02-05 John W. Eaton <jwe@octave.org> |
6618 | |
6619 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
6620 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
6621 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6622 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 6623 |
6624 * Array.cc (ascending_compare, descending_compare, | |
6625 Array<T>::sort): Declare explicit specialization for T=double to | |
6626 avoid symbol duplication error at link time. | |
6627 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
6628 define as nonmember functions, not member functions of Array<T>. | |
6629 | |
7442 | 6630 2008-02-03 John W. Eaton <jwe@octave.org> |
6631 | |
6632 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
6633 | |
6634 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
6635 | |
6636 * Array.cc: Don't include Range.h. | |
6637 | |
7433 | 6638 2008-01-31 David Bateman <dbateman@free.fr> |
6639 | |
6640 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
6641 for 64-bit builds. | |
6642 (IFLT): Allow IFLT macro to be overridden. | |
6643 * oct-sort.h: conversion of int to octave_idx_type where needed | |
6644 for 64-bit builds. | |
6645 (enum sortmode): Type of sort to perform. | |
6646 (vec_index): Simple class to aid in indexed sorts. | |
9967 | 6647 |
7433 | 6648 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, |
6649 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
6650 sortmode) const): Array sorting methods. | |
6651 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
6652 instantiate the array sorting methods. | |
6653 * Array.cc (ascending_compare, descending_compare): New template | |
6654 functions for generic sort comparison. | |
6655 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
6656 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
6657 sortmode) const): Array sorting functions based of octave_sort | |
6658 class. | |
9967 | 6659 * Array-C.cc: Instantiate the complex array sort methods. |
7433 | 6660 (IFLT): New macro to override the one in the |
6661 octave_sort class to avoid need for Complex < and > operators. | |
6662 (static double xabs (const Complex&)): Complex abs function | |
6663 avoiding std::abs(Inf) returning NaN with some compilers. | |
6664 (ascending_compare, descending compare): override template | |
6665 functions for complex comparison. | |
9967 | 6666 * Array-d.cc: Instantiate the double array sort methods. |
6667 (Array<double> Array<double>::sort (octave_idx_type, | |
6668 sortmode) const, Array<double> Array<double>::sort | |
6669 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
7433 | 6670 Array sorting functions based of octave_sort using uint64 sorting |
6671 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
6672 (ascending_compare, descending compare): override template | |
6673 functions for double and uint64 comparison. | |
9967 | 6674 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: |
7433 | 6675 Instantiate the array sort methods. |
6676 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
6677 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
6678 versions of the sort methods based on Array<T>::sort. | |
6679 | |
6680 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
6681 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
6682 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
6683 sortmode) const): Sparse sorting methods. | |
9967 | 6684 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting |
7433 | 6685 methods. |
6686 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
6687 of new sort method. | |
6688 (sparse_ascending_compare, sparse_descending_compare): New template | |
6689 functions for generic sort comparison. | |
6690 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
6691 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
6692 sortmode) const): Sparse sorting functions based of octave_sort | |
6693 class. | |
9967 | 6694 * Sparse-C.cc: Instantiate the complex sparse sort methods. |
7433 | 6695 (IFLT): New macro to override the one in the |
6696 octave_sort class to avoid need for Complex < and > operators. | |
6697 (static double xabs (const Complex&)): Complex abs function | |
6698 avoiding std::abs(Inf) returning NaN with some compilers. | |
6699 (sparse_ascending_compare, sparse_descending compare): override | |
6700 template functions for complex comparison. | |
9967 | 6701 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. |
7433 | 6702 (sparse_ascending_compare, sparse_descending compare): override |
6703 template functions for double comparison. | |
6704 * Array-b.cc: Instantiate the sparse sort methods. | |
6705 | |
7422 | 6706 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
6707 | |
6708 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
6709 idx_vector::idx_vector_rep::range_step, | |
6710 idx_vector::idx_vector_rep::range_step): New data members. | |
6711 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
6712 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
6713 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
6714 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
6715 | |
7416 | 6716 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
6717 | |
6718 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
6719 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6720 | |
7408 | 6721 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 6722 |
6723 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
6724 this fixes the "localtime(-1)" crash under Windows. | |
6725 | |
7400 | 6726 2008-01-18 John W. Eaton <jwe@octave.org> |
6727 | |
6728 * dMatrix.cc (solve_singularity_warning): New function. | |
6729 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
6730 Matrix::solve method. Exit early if Matrix::solve fails. | |
6731 Limit sqpow value to avoid overflowing scale factor. | |
6732 * CMatrix.cc (solve_singularity_warning): New function. | |
6733 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
6734 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
6735 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 6736 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 6737 |
7356 | 6738 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
6739 | |
6740 * Sparse.cc: New tests for slicing of sparse matrices. | |
6741 | |
7350 | 6742 2008-01-07 David Bateman <dbateman@free.fr> |
6743 | |
6744 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
6745 loop if this test succeeds. | |
6746 | |
7342 | 6747 2008-01-03 David Bateman <dbateman@free.fr> |
6748 | |
6749 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
6750 need unary operator on remaining argument | |
6751 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
6752 | |
7334 | 6753 2007-12-21 John W. Eaton <jwe@octave.org> |
6754 | |
6755 Version 3.0.0 released. | |
6756 | |
7322 | 6757 2007-12-18 David Bateman <dbateman@free.fr> |
6758 | |
9967 | 6759 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
6760 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
7322 | 6761 stored as a sparse matrix. |
9967 | 6762 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
7322 | 6763 idx_vector&, int) const): For the non permutated indexing case, |
6764 fix link list calculation and use. | |
6765 | |
7321 | 6766 2007-12-17 John W. Eaton <jwe@octave.org> |
6767 | |
6768 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
6769 N-d array. | |
6770 | |
7318 | 6771 2007-12-17 David Bateman <dbateman@free.fr> |
6772 | |
6773 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
6774 index. | |
6775 | |
7299 | 6776 2007-12-11 John W. Eaton <jwe@octave.org> |
6777 | |
6778 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
6779 If indexing scalar with empty matrix, return empty array with same | |
6780 size as index. | |
6781 | |
7272 | 6782 2007-12-10 John W. Eaton <jwe@octave.org> |
6783 | |
7279 | 6784 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
6785 and assignment operator. | |
6786 (NLEqn::function_value): New function. | |
6787 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
6788 function value. | |
6789 | |
7272 | 6790 * file-ops.cc (file_ops::concat): New function. |
6791 * file-ops.h: Provide decl. | |
6792 | |
7270 | 6793 2007-12-07 John W. Eaton <jwe@octave.org> |
6794 | |
6795 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
6796 is not 0. | |
6797 | |
7269 | 6798 2007-12-07 David Bateman <dbateman@free.fr> |
6799 | |
6800 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
9967 | 6801 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
7269 | 6802 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
6803 indexing where possible rather than the elem method. | |
6804 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
6805 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
6806 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
6807 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
6808 = 0 directly. | |
6809 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
6810 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
6811 SPARSE_BASE_REDUCTION_OP. | |
6812 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
6813 Specialize the initial value, and only treat dim = 0 directly. | |
6814 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
6815 ditto. | |
6816 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
6817 | |
7265 | 6818 2007-12-06 John W. Eaton <jwe@octave.org> |
6819 | |
6820 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
6821 data for npp and dpp after assignments. | |
6822 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
6823 | |
7253 | 6824 2007-12-04 John W. Eaton <jwe@octave.org> |
6825 | |
6826 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
6827 Do nothing if one index is empty. | |
6828 | |
7246 | 6829 2007-12-04 David Bateman <dbateman@free.fr> |
6830 | |
6831 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
6832 Resize matrix as well if one dimension of lhs is zero and the rhs | |
6833 index exceeds the lhs index. | |
6834 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
6835 Don't resize to a smaller matrix for empty matrices with a max rhs | |
6836 index smaller than the non zero lhs index. | |
6837 | |
6838 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
6839 | |
6840 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
6841 | |
7241 | 6842 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
6843 | |
6844 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
6845 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
6846 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
6847 | |
7238 | 6848 2007-12-03 David Bateman <dbateman@free.fr> |
6849 | |
6850 * Sparse.cc (template <class LT, class RT> int assign | |
6851 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
6852 rhs values if both no. rows and columns are zero. | |
6853 | |
7231 | 6854 2007-11-30 John W. Eaton <jwe@octave.org> |
6855 | |
7234 | 6856 * oct-sort.cc, oct-sort.h: Style fixes. |
6857 | |
7231 | 6858 * lo-math.h: New file. |
6859 * Makefile.in (INCLUDES): Add it to the list. | |
11088 | 6860 * Array2.h, ArrayN.h, CmplxDET.cc, DASPK.cc, DASPK.h, DASRT.cc, |
6861 DASRT.h, DASSL.cc, DASSL.h, LSODE.cc, LSODE.h, NLEqn.h, Quad.h, | |
6862 Range.cc, dbleDET.cc, lo-cieee.c, lo-ieee.cc, lo-mappers.cc, | |
6863 oct-time.cc, oct-time.h, randgamma.c, randmtzig.c, | |
6864 randpoisson.c: Include lo-math.h instead of cmath or math.h. | |
7231 | 6865 * lo-mappers.h: Don't include sunmath.h here. |
6866 | |
7198 | 6867 2007-11-26 John W. Eaton <jwe@octave.org> |
6868 | |
6869 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
6870 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
6871 | |
6872 * oct-inttypes.h (operator bool, operator char): Delete. | |
6873 (bool_value, char_value, double_value, float_value): New functions. | |
6874 | |
7189 | 6875 2007-11-26 David Bateman <dbateman@free.fr> |
6876 | |
6877 * intNDArray.cc (template <class T> intNDArray<T> | |
6878 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
6879 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
9967 | 6880 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
6881 template <class T> intNDArray<T> intNDArray<T>::min | |
7189 | 6882 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
6883 classes. | |
6884 * intNDArray.h (class intNDArray): Add min/max methods | |
6885 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
6886 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
6887 min/max functions. | |
9967 | 6888 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
7189 | 6889 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
6890 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
6891 types. | |
9967 | 6892 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
7189 | 6893 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
6894 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
6895 types. | |
6896 | |
6897 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
6898 const T& rfv) const): If ndims != 2 call ND version of index. | |
6899 | |
7176 | 6900 2007-11-14 John W. Eaton <jwe@octave.org> |
6901 | |
7178 | 6902 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
6903 | |
7176 | 6904 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
6905 correction to half-integer values. From Eric Chassande-Mottin | |
6906 <echassandemottin@gmail.com>. | |
6907 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6908 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 6909 |
6910 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
6911 ambiguities related to math functions (in C++ mode). | |
6912 | |
7102 | 6913 2007-11-06 David Bateman <dbateman@free.fr> |
6914 | |
7113 | 6915 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
6916 New method. | |
6917 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
6918 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
6919 New method. | |
6920 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 6921 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
6922 norm to avoid issues of over- and underflow. From Rolf Fabian | |
6923 <Rolf.Fabian@gmx.de>. | |
6924 | |
7081 | 6925 2007-10-30 David Bateman <dbateman@free.fr> |
6926 | |
6927 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
6928 | |
7079 | 6929 2007-10-30 John W. Eaton <jwe@octave.org> |
6930 | |
6931 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
6932 * dMatrix.cc (lssolve): Compute size of iwork array. | |
6933 | |
7076 | 6934 2007-10-29 David Bateman <dbateman@free.fr> |
6935 | |
9967 | 6936 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
6937 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6938 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6939 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6940 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6941 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6942 declarations. | |
9967 | 6943 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
6944 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6945 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6946 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6947 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6948 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6949 methods. | |
6950 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 6951 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 6952 octave_idx_type&, double&) const): Also return rcond from the |
6953 singular values returned by XGELSD. | |
9967 | 6954 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
6955 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6956 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6957 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6958 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6959 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6960 declarations. | |
9967 | 6961 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
6962 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
6963 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
6964 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
6965 double& rcond) const, lssolve (const ComplexColumnVector&, | |
7076 | 6966 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
6967 methods. | |
6968 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
9967 | 6969 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
7076 | 6970 octave_idx_type&, double&) const): Also return rcond from the |
6971 singular values returned by XGELSD. | |
9967 | 6972 |
7072 | 6973 2007-10-26 David Bateman <dbateman@free.fr> |
6974 | |
6975 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
6976 matrices to avoid reliability issues with xGELSY. | |
6977 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 6978 |
7065 | 6979 2007-10-25 John W. Eaton <jwe@octave.org> |
6980 | |
6981 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
6982 Call unix_time on arg instead of relying on conversion operator. | |
6983 | |
6984 * oct-time.h (octave_time::double_value): New function. | |
6985 (octave_time::operator double () const): Delete. | |
6986 (octave_time::operator time_t () const): Delete. | |
6987 | |
7058 | 6988 2007-10-24 John W. Eaton <jwe@octave.org> |
6989 | |
6990 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
6991 | |
7052 | 6992 2007-10-23 John W. Eaton <jwe@octave.org> |
6993 | |
6994 * CRowVector.cc (operator * const ComplexRowVector&, const | |
6995 ComplexColumnVector&)): Delete spurious code left from patch. | |
6996 | |
7048 | 6997 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
6998 | |
6999 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
7000 sparse-sort.cc: Include <cstring>. | |
7001 | |
7036 | 7002 2007-10-17 John W. Eaton <jwe@octave.org> |
7003 | |
7004 * oct-sparse.h: Don't include metis.h. | |
7005 | |
7006 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
7007 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
7008 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
7009 p_type>::sparse_base_chol_rep::init): Likewise. | |
7010 | |
7033 | 7011 2007-10-16 John W. Eaton <jwe@octave.org> |
7012 | |
7013 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
7014 matrix is hermitian or calc_cond is true. | |
7015 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
7016 | |
7016 | 7017 2007-10-12 John W. Eaton <jwe@octave.org> |
7018 | |
7019 * Change copyright notices in all files that are part of Octave to | |
7020 GPLv3 or any later version. | |
7021 | |
7007 | 7022 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
7023 | |
7024 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
7025 | |
7001 | 7026 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
7027 | |
7028 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
7029 | |
7000 | 7030 2007-10-10 John W. Eaton <jwe@octave.org> |
7031 | |
7032 * LPsolve.h, LPsolve.cc: Delete. | |
7033 * Makefile.in: Remove them from the INCLUDES and | |
7034 LIBOCTAVE_CXX_SOURCES lists. | |
7035 | |
6989 | 7036 2007-10-09 John W. Eaton <jwe@octave.org> |
7037 | |
6996 | 7038 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
7039 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
7040 values to zero after call if they remain unchanged. | |
7041 | |
6989 | 7042 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
7043 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
7044 | |
6988 | 7045 2007-10-09 David Bateman <dbateman@free.fr> |
7046 | |
6995 | 7047 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
7048 valud and mon and year are also filled in. | |
7049 | |
6990 | 7050 * Array2.h (Array2<T>::Array2(const dim_vector&), |
7051 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
7052 dim_vector is 2 dimensional. | |
7053 | |
6988 | 7054 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
7055 int)): Remove a for loop in the random indexing case at the | |
9967 | 7056 expense of maintaining a set of linked lists of indices that point |
6988 | 7057 to the same column in the original matrix. |
7058 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
7059 and use it on the RHS of expressions to avoid unnecessary calls to | |
7060 make_unique. | |
7061 | |
6979 | 7062 2007-10-08 David Bateman <dbateman@free.fr> |
7063 | |
7064 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
7065 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
7066 for readline compatible functions. | |
7067 (octave_rl_redisplay): Redisplay the current line of text. | |
7068 (octave_rl_newline): Change interface to the same | |
7069 as used by the equivalent readline function itself. | |
7070 (octave_rl_filename_quoting_desired, | |
7071 octave_rl_set_filename_quote_characters, | |
7072 octave_rl_set_completer_quote_characters, | |
7073 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
7074 octave_rl_set_char_is_quoted_function): New functions to control | |
7075 readline filename quoting and line acceptace. | |
7076 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
7077 as used by the equivalent readline function itself. | |
7078 (octave_rl_redisplay): Redisplay the current line of text. | |
7079 (octave_rl_filename_quoting_desired, | |
7080 octave_rl_set_filename_quote_characters, | |
7081 octave_rl_set_completer_quote_characters, | |
7082 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
7083 octave_rl_set_char_is_quoted_function): New functions to control | |
7084 readline filename quoting and line acceptace. | |
7085 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
7086 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
7087 to map C++ function to readline compatible functions. | |
7088 (set_filename_quote_characters): New function to set the | |
7089 characters to if they appear in a filename that force the filename | |
7090 to be quoted. | |
7091 (set_completer_quote_characters): The characters that the readline | |
7092 completion function considers as quotation characters. | |
7093 (set_quoting_function, set_dequoting_function, | |
7094 set_char_is_quoted_function, set_user_accept_line_function): | |
7095 Functions to set the Octave functions to perform quoting and the | |
7096 acceptance of a line of text by readline. | |
7097 (get_quoting_function, get_dequoting_function, | |
7098 get_char_is_quoted_function, get_user_accept_line_function): | |
7099 Functions to get the above functions. | |
7100 (accept_line): New method for the command_editor to accept a line | |
7101 of text. | |
7102 (file_quoting_desired): Function to set whether readline should | |
7103 attempt to quote filenames. | |
9967 | 7104 (do_set_filename_quoting_characters, |
6979 | 7105 do_set_completer_quote_characters, do_set_quoting_function, |
7106 do_set_dequoting_function, do_set_char_is_quoted_function, | |
7107 do_set_user_accept_line_function, do_get_quoting_function, | |
7108 do_get_dequoting_function, do_get_char_is_quoted_function, | |
7109 do_get_user_accept_line_function, do_filename_quoting_desired): | |
7110 Virtual functions to control the behavior of readline quoting and | |
7111 acceptance of lines. | |
7112 (do_accept_line): Virtual function for the accept line function. | |
9967 | 7113 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
6979 | 7114 do_completer_quote_characters, do_set_quoting_function, |
7115 do_set_dequoting_function, do_set_char_is_quoted_function, | |
7116 do_set_user_accept_line_function, do_get_quoting_function, | |
9967 | 7117 do_get_dequoting_function, do_get_user_accept_line_function, |
6979 | 7118 do_accept_line, do_filename_quoting_desired, command_quoter, |
7119 command_dequoter, command_char_is_quoted, command_accept_line): | |
9967 | 7120 New functions in gnu_readline class to control filename quoting |
6979 | 7121 and line acceptance. |
7122 (quoting_function, dequoting_function, char_is_quoted_function, | |
7123 user_accept_line_function): private variable to store functions | |
7124 supplied for readline quoting and line acceptance. | |
7125 (gnu_readline::gnu_readline): Also set the new function pointers | |
7126 to zero. | |
7127 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
7128 interface. | |
7129 (gnu_readeline::operate_and_get_next): Use new accept_line | |
7130 function rather than newline. | |
7131 (default_ommand_editor::do_accept_line): New method. | |
9967 | 7132 (class command_editor set_filename_quote_characters, |
6979 | 7133 set_completer_quote_characters, set_quoting_function, |
7134 set_dequoting_function, set_char_is_quoted_function, | |
7135 set_user_accept_line_function, get_quoting_function, | |
9967 | 7136 get_dequoting_function, get_user_accept_line_function, |
6979 | 7137 accept_line, filename_quoting_desired): New functions checking |
7138 instance before calling virtual function. | |
7139 | |
7140 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
7141 Array2.h: Add dim_vector constructors. | |
7142 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
9967 | 7143 const to dim_vector constructors. |
6979 | 7144 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
7145 (octave_idx_type)): New methods to constructor diagonal matrices. | |
7146 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
7147 (octave_idx_type)): Declare them. | |
7148 | |
6969 | 7149 2007-10-06 John W. Eaton <jwe@octave.org> |
7150 | |
7151 * lo-specfun.cc: (zlgamma): Delete. | |
7152 (xgamma): Use C library gamma function if available. | |
7153 (xlgamma): Use C library lgamma function if available. | |
7154 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
7155 other than NaN or Inf. | |
7156 | |
6961 | 7157 2007-10-05 John W. Eaton <jwe@octave.org> |
7158 | |
7159 * lo-specfun.cc (zlgamma): New function. | |
7160 | |
6959 | 7161 2007-10-04 John W. Eaton <jwe@octave.org> |
7162 | |
7163 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
7164 qualifiers on local variables. | |
7165 | |
6958 | 7166 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
7167 | |
7168 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
7169 than log(realmax) to avoid issues with NaN. | |
7170 | |
6940 | 7171 2007-10-01 John W. Eaton <jwe@octave.org> |
7172 | |
6941 | 7173 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
7174 initialize wday and yday. | |
7175 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
7176 | |
6940 | 7177 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
7178 insert extra '\001' when decoding \[ and \]. | |
7179 | |
6926 | 7180 2007-09-26 David Bateman <dbateman@free.fr> |
7181 | |
7182 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
7183 is much faster and no less accurate. | |
7184 * CMatrix.cc (lssolve): ditto. | |
7185 | |
6924 | 7186 2007-09-25 David Bateman <dbateman@free.fr> |
7187 | |
7188 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
7189 zero dimensioned matrices. | |
9967 | 7190 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
6924 | 7191 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
7192 ditto. | |
7193 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
7194 ditto. | |
7195 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
7196 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
7197 qrsolve): ditto. | |
7198 * sparse-dmsolve.cc (dmsolve): ditto. | |
7199 | |
6922 | 7200 2007-09-21 John W. Eaton <jwe@octave.org> |
7201 | |
7202 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
7203 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
7204 | |
6916 | 7205 2007-09-19 John W. Eaton <jwe@octave.org> |
7206 | |
7207 * cmd-edit.cc (command_editor::remove_startup_hook): | |
7208 Fix cut-and-paste error. | |
6917 | 7209 (gnu_readline::set_startup_hook): Only set hook function if new |
7210 function is different from the current one. | |
6916 | 7211 |
6913 | 7212 2007-09-18 John W. Eaton <jwe@octave.org> |
7213 | |
7214 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
7215 command_editor::event_hook_set): New static data. | |
7216 (default_command_editor::set_startup_hook, | |
7217 gnu_readline::set_startup_hook, | |
7218 default_command_editor::restore_startup_hook, | |
7219 gnu_readline_restore_event_hook): | |
7220 Rename from do_set_startup_hook and do_set_event_hook. | |
7221 (gnu_readline::operate_and_get_next): Call | |
7222 command_editor::add_startup_hook, not | |
7223 command_editor::set_startup_hook. | |
7224 (command_editor::startup_handler, command_editor::event_handler): | |
7225 New functions. | |
7226 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
7227 command_editor::remove_startup_hook, | |
7228 command_editor::remove_event_hook): Rename from set_startup_hook | |
7229 and restore_startup_hook. Handle hook sets here. | |
7230 * cmd-edit.cc (gnu_history::do_goto_mark): | |
7231 Call remove_startup_hook instead of restore_startup_hook. | |
7232 | |
6907 | 7233 2007-09-17 John W. Eaton <jwe@octave.org> |
7234 | |
7235 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
7236 leading whitespace. | |
7237 | |
6897 | 7238 2007-09-13 John W. Eaton <jwe@octave.org> |
7239 | |
7240 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7241 octave_read_complex): Use istream::get instead of >> to read | |
7242 individual characters. | |
7243 | |
6884 | 7244 2007-09-10 John W. Eaton <jwe@octave.org> |
7245 | |
7246 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
7247 | |
7248 2007-09-10 David Bateman <dbateman@free.fr> | |
7249 | |
7250 * Array.h (Array<T>::make_unique): Make public so that the | |
7251 ::assign functions can access it directly. | |
7252 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
7253 Array<T>::maybe_delete_elements_1(idx_vector&), | |
7254 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
7255 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
7256 Use xelem for non const RHS to avoid call to make_unique. | |
7257 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
7258 xelem for LHS and call lhs.make_unique() only once. Special case | |
7259 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
7260 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
7261 bring the additional multiplication out of the inner loop. | |
7262 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
7263 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
9967 | 7264 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
6884 | 7265 (const Range& r)): Don't use init_state() method but special case |
7266 as with a Range can avoid exhaustive search. | |
7267 | |
6881 | 7268 2007-09-07 John W. Eaton <jwe@octave.org> |
7269 | |
7270 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
7271 manipulating rep directly. | |
7272 | |
7273 * Array.h (idx, idx_count): Declare mutable. | |
7274 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
7275 Now const. | |
7276 | |
6867 | 7277 2007-09-06 David Bateman <dbateman@free.fr> |
7278 | |
9967 | 7279 * Array-util.cc (increment_index): dimensions can have singleton |
7280 trailing dimensions. | |
7281 * Array.h (range_error, xelem, checkelem, elem, operator ()): | |
7282 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
7283 where necessary. | |
7284 * Array.cc (range_error): ditto. | |
7285 * MArrayN.h (permute, ipermute): ditto. | |
7286 * ArrayN.h (permute, ipermute): ditto. | |
7287 * so-array.cc (streamoff_array::compute_index): ditto. | |
7288 * so-array.h (compute_index): ditto. | |
7289 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
6867 | 7290 |
6840 | 7291 2007-08-29 David Bateman <dbateman@free.fr> |
7292 | |
9967 | 7293 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
7294 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
7295 matrices marked as singular. | |
7296 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
7297 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
7298 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
7299 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
7300 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
11222 | 7301 octave_idx_type&, double&, int, int)): ditto. |
6840 | 7302 |
6838 | 7303 2007-08-27 John W. Eaton <jwe@octave.org> |
7304 | |
7305 * oct-env.cc (octave_env::rooted_relative_pathname, | |
7306 octave_env::do_rooted_relative_pathname): New functions. | |
7307 * oct-env.h: Provide decls. | |
7308 | |
6823 | 7309 2007-08-24 David Bateman <dbateman@free.fr> |
7310 | |
9967 | 7311 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
7312 const Array<octave_idx_type>&)): New method. | |
7313 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
7314 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
7315 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
7316 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
7317 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
7318 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
7319 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
7320 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
7321 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
7322 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
7323 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
7324 SparseMatrix&, const Array<octave_idx_type>&), | |
7325 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
7326 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
7327 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
7328 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
7329 SparseMatrix&, const Array<octave_idx_type>&), | |
7330 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
7331 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
6823 | 7332 |
6817 | 7333 2007-08-19 David Bateman <dbateman@free.fr> |
7334 | |
7335 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
7336 | |
6813 | 7337 2007-08-14 John W. Eaton <jwe@octave.org> |
7338 | |
7339 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
7340 Simplify. | |
6814 | 7341 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 7342 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7343 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 7344 |
7345 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
7346 Remove trailing dir separator when stat'ing directory except for | |
7347 root directory. | |
7348 | |
6796 | 7349 2007-07-25 David Bateman <dbateman@free.fr> |
9967 | 7350 |
7351 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
6796 | 7352 to work. |
7353 | |
6764 | 7354 2007-06-04 David Bateman <dbateman@free.fr> |
7355 | |
7356 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
7357 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
7358 perform a twos complement arithmetic shift for both signed and | |
7359 unsigned integers regardless of compiler implementations. | |
7360 | |
6708 | 7361 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
7362 | |
6719 | 7363 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
7364 use cs_complex_t(0,0) for the complex zero. | |
7365 | |
6708 | 7366 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
7367 Sprinkle class instantiations with OCTAVE_API as needed. | |
7368 | |
7369 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
7370 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
7371 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
7372 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
7373 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
7374 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
7375 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
7376 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
7377 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
7378 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
7379 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
7380 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
7381 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
7382 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
7383 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
7384 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
7385 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
7386 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
7387 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
7388 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
7389 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
7390 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
7391 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
7392 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
7393 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
7394 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
7395 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
7396 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
7397 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
7398 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
7399 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
7400 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
7401 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
7402 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
7403 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
7404 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
7405 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
7406 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
7407 SPARSE_SMM_OP_DECLS): Ditto. | |
7408 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
7409 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
7410 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
7411 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
7412 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
7413 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
7414 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
7415 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
7416 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
7417 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
7418 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
7419 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
7420 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
7421 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
7422 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
7423 | |
6699 | 7424 2007-06-12 John W. Eaton <jwe@octave.org> |
7425 | |
7426 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
7427 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 7428 |
6693 | 7429 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
7430 | |
6709 | 7431 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
7432 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
7433 with file_ops::dir_sep_char. | |
6694 | 7434 |
6693 | 7435 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
7436 | |
6689 | 7437 2007-06-04 David Bateman <dbateman@free.fr> |
7438 | |
6699 | 7439 * file-ops.cc: Typo. |
7440 | |
6689 | 7441 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
7442 dimensions is greater than 2, collapse to 2-D. | |
7443 | |
6685 | 7444 2007-06-02 David Bateman <dbateman@free.fr> |
7445 | |
7446 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
7447 | |
6680 | 7448 2007-05-31 John W. Eaton <jwe@octave.org> |
7449 | |
7450 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
7451 the computed size is too large for the size of Octave's index type. | |
7452 | |
6662 | 7453 2007-05-23 John W. Eaton <jwe@octave.org> |
7454 | |
7455 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
7456 | |
6629 | 7457 2007-05-16 David Bateman <dbateman@free.fr> |
7458 | |
7459 * dRowVector.cc (linspace): Return second argument if fewer than | |
7460 two values are requested. | |
7461 * CRowVector.cc (linspace): Likewise. | |
7462 | |
6596 | 7463 2007-04-27 John W. Eaton <jwe@octave.org> |
7464 | |
7465 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
7466 | |
6583 | 7467 2007-04-25 John W. Eaton <jwe@octave.org> |
7468 | |
7469 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
7470 | |
6553 | 7471 2007-04-20 John W. Eaton <jwe@octave.org> |
7472 | |
7473 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
7474 not rhs_len == 1. | |
7475 | |
6536 | 7476 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
7477 | |
7478 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
7479 | |
6525 | 7480 2007-04-13 John W. Eaton <jwe@octave.org> |
7481 | |
7482 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
7483 for empty matrix. Only check for colon index equivalence if not empty. | |
7484 | |
6513 | 7485 2007-04-10 John W. Eaton <jwe@octave.org> |
7486 | |
7487 * SparseCmplxQR.cc | |
7488 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
7489 Move GCC_ATTR_UNUSED before the parameter decl. | |
7490 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
7491 | |
6508 | 7492 2007-04-06 John W. Eaton <jwe@octave.org> |
7493 | |
7494 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
7495 * MArray.h (MArray<T>::norm): New function. | |
7496 * MArray.cc: Provide decl. | |
7497 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
7498 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
7499 | |
6490 | 7500 2007-04-04 John W. Eaton <jwe@octave.org> |
7501 | |
7502 * Range.cc (Range::nelem_internal): Likewise. | |
7503 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
7504 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
7505 From Scott Pakin <pakin@lanl.gov>. | |
7506 | |
6486 | 7507 2007-04-04 David Bateman <dbateman@free.fr> |
7508 | |
7509 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
7510 the condition number for positive definite matrices. | |
7511 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
7512 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
7513 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
7514 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
7515 (CHOL(const CHOL&)): Copy xrcond. | |
7516 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
7517 (xrcond): New private data member. | |
7518 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
7519 calc_cond. | |
7520 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
7521 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
7522 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
7523 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
7524 (xrcond): New private data member. | |
7525 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
7526 true, calculate the condition number with dpocon. | |
7527 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
7528 calc_cond is true, calculate the condition number with zpocon. | |
7529 | |
6481 | 7530 2007-04-03 John W. Eaton <jwe@octave.org> |
7531 | |
6482 | 7532 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
7533 | |
7534 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
7535 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
7536 "maybe clobbered by vfork" warning. | |
7537 | |
6483 | 7538 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 7539 if/else. |
7540 | |
7541 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
7542 and destructor. | |
7543 | |
6481 | 7544 * Array.cc (assignN): Don't resize dimension if corresponding |
7545 index is empty. | |
7546 | |
6479 | 7547 2007-04-02 John W. Eaton <jwe@octave.org> |
7548 | |
7549 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
7550 MatrixType argument. | |
7551 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
7552 | |
6467 | 7553 2007-03-27 John W. Eaton <jwe@octave.org> |
7554 | |
7555 * Makefile.in (DISTDIRS): Delete variable. | |
7556 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
7557 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7558 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 7559 |
7560 * MatrixType.cc: Replace all uses of the method | |
9967 | 7561 octave_sparse_params::get_key ("bandden") with |
6460 | 7562 octave_sparse_params::get_bandden (void). |
7563 (MatrixType::MatrixType (void)): Undo previous change but use | |
7564 octave_sparse_params::get_bandden (void). | |
7565 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
7566 methods. | |
7567 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
9967 | 7568 Declare them. |
7569 | |
6458 | 7570 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
7571 David Bateman <dbateman@free.fr> | |
7572 | |
7573 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
7574 Check that all elements are ints before doing anything. Simplify | |
7575 calculation of index values. | |
7576 | |
6457 | 7577 2007-03-26 David Bateman <dbateman@free.fr> |
7578 | |
7579 * Range.cc (Range::all_elements_are_ints): Improve check. | |
7580 | |
6456 | 7581 2007-03-26 John W. Eaton <jwe@octave.org> |
7582 | |
7583 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
7584 * chNDArray.h, chMatrix.h: Provide decls. | |
7585 | |
7586 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
7587 | |
7588 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
7589 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 7590 |
6435 | 7591 2007-03-23 David Bateman <dbateman@free.fr> |
7592 | |
7593 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
7594 little endian. | |
7595 | |
6414 | 7596 2007-03-15 John W. Eaton <jwe@octave.org> |
7597 | |
7598 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
7599 From Alexander Barth <abarth@marine.usf.edu>. | |
7600 | |
6402 | 7601 2007-03-12 John W. Eaton <jwe@octave.org> |
7602 | |
7603 * oct-inttypes.h (octave_int::octave_int (double)): | |
7604 New Specialization. Round arg. | |
7605 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
7606 Round result before converting type. | |
7607 | |
6388 | 7608 2007-03-07 John W. Eaton <jwe@octave.org> |
7609 | |
6392 | 7610 * Array.cc (assign1): Avoid resizing if there is an error. |
7611 | |
6390 | 7612 * dMatrix.cc, CMatrix.cc (operator *): Only check |
7613 f77_exception_encountered immediately after calls that use F77_XFCN. | |
7614 | |
6389 | 7615 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
7616 Only allow resizing empty LHS if it is 0x0. | |
7617 | |
6388 | 7618 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
7619 const T&)): Handle case of more indices than dimensions. | |
7620 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
7621 cases to be handled by assignN. | |
7622 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
7623 Special cases for 2-d array assignments for speed. | |
7624 Improve handling of scalar RHS and empty indices. | |
6384 | 7625 |
6383 | 7626 2007-03-05 David Bateman <dbateman@free.fr> |
7627 | |
7628 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
7629 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
7630 | |
6379 | 7631 2007-03-02 John W. Eaton <jwe@octave.org> |
7632 | |
7633 * str-vec.h (string_vector::empty): Return bool, not int. | |
7634 | |
6375 | 7635 2007-03-01 David Bateman <dbateman@free.fr> |
7636 | |
9967 | 7637 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
7638 an independent implementation of RFC1321. | |
7639 * oct-md5.h, oct-md5: New files for treating std::string class | |
7640 with MD5. | |
7641 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
7642 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
7643 (LIBOCTAVE_C_SOURCES): Add md5.c | |
6375 | 7644 |
6366 | 7645 2007-02-27 John W. Eaton <jwe@octave.org> |
7646 | |
7647 * Makefile.in (uninstall): Delete files listed in | |
7648 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
7649 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
7650 | |
6536 | 7651 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 7652 |
7653 * file-ops.cc (file_ops::recursive_rmdir): | |
7654 Close dir_entry object before calling rmdir. | |
7655 | |
6536 | 7656 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 7657 |
7658 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
7659 | |
6359 | 7660 * sparse-util.h (SparseCholPrint, SparseCholError): |
7661 Tag with OCTAVE_API. | |
7662 | |
6326 | 7663 2007-02-18 David Bateman <dbateman@free.fr> |
7664 | |
7665 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
7666 calling setall and reset to the current generator after. | |
7667 | |
6323 | 7668 2007-02-16 John W. Eaton <jwe@octave.org> |
7669 | |
7670 * oct-shlib.h (octave_shlib::relative): New data member. | |
7671 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
7672 New functions. | |
7673 | |
6321 | 7674 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
7675 | |
7676 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
7677 windows platform. | |
7678 * lo-sysdep.h (octave_popen2): Declare it. | |
7679 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
7680 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
7681 | |
6306 | 7682 2007-02-14 John W. Eaton <jwe@octave.org> |
7683 | |
7684 * kpse.cc (expand_elt): Omit special treatment for //. | |
7685 | |
6273 | 7686 2007-02-06 John W. Eaton <jwe@octave.org> |
7687 | |
7688 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
7689 Don't delete value returned from realpath. | |
7690 | |
6271 | 7691 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
7692 | |
7693 * file-ops.cc (file_ops::canonicalize_file_name): | |
7694 Provide implementation if realpath function is available. | |
7695 | |
6256 | 7696 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
7697 | |
7698 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
7699 | |
6244 | 7700 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
7701 | |
7702 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
7703 Windows systems. | |
7704 | |
6242 | 7705 2007-01-16 John W. Eaton <jwe@octave.org> |
7706 | |
7707 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
7708 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
7709 | |
7710 * oct-fftw.h (fftw_planner): Provide decl. | |
7711 | |
6241 | 7712 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
7713 | |
7714 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
7715 | |
6236 | 7716 2007-01-10 John W. Eaton <jwe@octave.org> |
7717 | |
7718 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
7719 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
7720 | |
6231 | 7721 2007-01-08 David Bateman <dbateman@free.fr> |
7722 | |
7723 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
7724 SPARSESUITE with SUITESPARSE to match upstream name. | |
7725 | |
6228 | 7726 2007-01-05 David Bateman <dbateman@free.fr> |
7727 | |
9967 | 7728 * oct-fftw.cc: (octave_fftw_planner::method (void), |
6228 | 7729 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
7730 set the FFTW wisdom method used. | |
9967 | 7731 (octave_fftw_planner::create_plan) Modify to allow different |
6228 | 7732 methods to be used. |
7733 (octave_fftw_planner): Move class definition from here. | |
7734 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
7735 and FftwMethod enum. | |
7736 | |
6221 | 7737 2007-01-03 David Bateman <dbateman@free.fr> |
7738 | |
7739 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
7740 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
7741 sparse matrices are special cased. | |
7742 | |
7743 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
7744 matrix, sparse matrix operations. | |
7745 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
7746 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
7747 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
9967 | 7748 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
7749 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
6221 | 7750 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
7751 sparse matrices are special cased. | |
7752 | |
6217 | 7753 2006-12-22 David Bateman <dbateman@free.fr> |
7754 | |
7755 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
7756 | |
6216 | 7757 2006-12-22 John W. Eaton <jwe@octave.org> |
7758 | |
7759 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
7760 least 2 dimensions. | |
7761 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
7762 | |
6208 | 7763 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
7764 | |
7765 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
7766 | |
7767 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 7768 implementation for Windows. |
6208 | 7769 |
6207 | 7770 2006-12-06 David Bateman <dbateman@free.fr> |
7771 | |
6208 | 7772 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
7773 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 7774 |
7775 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
9967 | 7776 (tinverse): New method for triangular matrices. |
7777 (inverse): New function with matrix type probing. | |
7778 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
7779 declarations. | |
7780 * CMatrix.cc: Ditto. | |
7781 * CMatrix.h: Ditto. | |
6207 | 7782 |
6205 | 7783 2006-12-06 John W. Eaton <jwe@octave.org> |
7784 | |
7785 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
7786 | |
6202 | 7787 2006-12-05 John W. Eaton <jwe@octave.org> |
7788 | |
7789 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
7790 followed by 'I' or 'i', try reading number after putting | |
7791 characters back on input stream. | |
7792 | |
6198 | 7793 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
7794 | |
7795 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
7796 loop is n, not L. | |
7797 | |
6194 | 7798 2006-11-30 John W. Eaton <jwe@octave.org> |
7799 | |
7800 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
7801 Also recognize [+-][Ii]nf. | |
7802 | |
6187 | 7803 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 7804 |
7805 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
7806 sub-directory. | |
7807 | |
9967 | 7808 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
6204 | 7809 well when calling tinverse for lower triangular matrices. |
9967 | 7810 * CSparse.cc (SparseComplexMatrix::inverse): |
7811 Ditto. | |
7812 | |
6183 | 7813 2006-11-21 John W. Eaton <jwe@octave.org> |
7814 | |
7815 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
7816 | |
6182 | 7817 2006-11-20 John W. Eaton <jwe@octave.org> |
7818 | |
7819 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
7820 for ".", and names beginning with "./" or "../". | |
7821 | |
6162 | 7822 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
7823 | |
7824 * CMatrix.cc, dMatrix.cc: New tests. | |
7825 | |
6153 | 7826 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
7827 | |
7828 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
7829 | |
6152 | 7830 2006-11-11 John W. Eaton <jwe@octave.org> |
7831 | |
7832 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
7833 Use $(simple-move-if-change-rule) here. | |
7834 | |
6148 | 7835 2006-11-09 David Bateman <dbateman@free.fr> |
7836 | |
7837 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
7838 octave_idx_type, not int. | |
7839 | |
6145 | 7840 2006-11-08 John W. Eaton <jwe@octave.org> |
7841 | |
7842 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
7843 | |
6141 | 7844 2006-11-06 John W. Eaton <jwe@octave.org> |
7845 | |
7846 * Array.cc (assignN): Exit early if invalid indices are found. | |
7847 | |
6140 | 7848 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
7849 | |
7850 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
7851 | |
6137 | 7852 2006-11-03 John W. Eaton <jwe@octave.org> |
7853 | |
7854 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
7855 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
7856 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
7857 | |
6123 | 7858 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
7859 | |
7860 * oct-shlib.cc: Undefine min and max after including windows.h. | |
7861 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
7862 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
7863 lo-sysdep.cc. | |
7864 | |
6113 | 7865 2006-10-27 John W. Eaton <jwe@octave.org> |
7866 | |
6119 | 7867 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
7868 | |
7869 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
7870 | |
7871 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
7872 NDS_CMP_OPS2): New macros. | |
6113 | 7873 |
6111 | 7874 2006-10-26 John W. Eaton <jwe@octave.org> |
7875 | |
6119 | 7876 * mx-ops (core-type): New field for integer types. |
7877 * mk-ops.awk: Handle core-type for integer comparison ops. | |
7878 | |
6111 | 7879 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
7880 Move here from src/cutils.c. | |
7881 * lo-utils.h: Provide decls. | |
7882 * strcasecmp.c: Move here from src/strcasecmp.c. | |
7883 * strncase.c: Move here from src/strncase.c. | |
7884 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
7885 | |
6106 | 7886 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
7887 | |
7888 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
7889 | |
6708 | 7890 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
7891 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
7892 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
7893 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
7894 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
7895 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
7896 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
7897 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
7898 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
7899 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
7900 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
7901 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
7902 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
7903 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
7904 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
7905 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
7906 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
7907 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
7908 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
7909 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
7910 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
7911 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
7912 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 7913 |
6105 | 7914 2006-10-26 John W. Eaton <jwe@octave.org> |
7915 | |
7916 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
7917 type qualification for OP. | |
7918 | |
6101 | 7919 2006-10-26 David Bateman <dbateman@free.fr> |
7920 | |
7921 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
7922 octave_idx_type)): Be more careful with the size of the input | |
7923 matrix, and therefore don't create or read non existent data. | |
7924 | |
6092 | 7925 2006-10-25 John W. Eaton <jwe@octave.org> |
7926 | |
7927 * Sparse.cc (assign): Clear lhs index after error. | |
7928 | |
6093 | 7929 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 7930 |
7931 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
7932 Fix previous patch so it works. | |
7933 | |
6087 | 7934 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
7935 | |
6095 | 7936 * glob-match.h (glob_match::glob_match (const std::string&, |
7937 unsigned int)): Delete initializer for first arg. | |
7938 | |
6093 | 7939 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
7940 New functions. | |
7941 | |
6087 | 7942 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
7943 | |
6096 | 7944 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
7945 same code as __MINGW32__. | |
7946 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
7947 the same as for __MINGW32__. | |
7948 | |
7949 * randpoisson.c: Undefine INFINITE before redefining. | |
7950 | |
6079 | 7951 2006-10-24 David Bateman <dbateman@free.fr> |
7952 | |
7953 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
7954 lhs at the point we know the assignment can succeed if the lhs is | |
7955 empty. | |
7956 | |
6072 | 7957 2006-10-23 John W. Eaton <jwe@octave.org> |
7958 | |
7959 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
7960 | |
6061 | 7961 2006-10-17 John W. Eaton <jwe@octave.org> |
7962 | |
7963 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
7964 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
7965 and _copysign. | |
7966 | |
6059 | 7967 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 7968 |
6061 | 7969 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
7970 | |
9967 | 7971 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
6708 | 7972 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061 | 7973 |
6058 | 7974 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
7975 | |
6059 | 7976 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
7977 | |
6051 | 7978 * Makefile.in: Adapt rules to use $(LIBPRE). |
7979 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7980 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 7981 |
7982 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
7983 or p == 0. | |
7984 | |
6018 | 7985 2006-10-02 John W. Eaton <jwe@octave.org> |
7986 | |
7987 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
7988 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
7989 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
7990 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 7991 |
9967 | 7992 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
7993 Remove spurious warning. | |
5996 | 7994 |
5992 | 7995 2006-09-15 John W. Eaton <jwe@octave.org> |
7996 | |
9967 | 7997 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
5992 | 7998 Handle resizing. |
7999 | |
8000 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
8001 | |
5983 | 8002 2006-09-11 John W. Eaton <jwe@octave.org> |
8003 | |
8004 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
9967 | 8005 Handle M*v and rv*cv special cases. |
5983 | 8006 * CMatrix.cc (operator * (const ComplexMatrix&, const |
8007 ComplexMatrix&))): Likewise. | |
8008 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
8009 | |
8010 * dRowVector.cc (operator * (const RowVector&, const | |
8011 ColumnVector&)): Call xddot here instead of using a Fortran | |
8012 function directly. | |
8013 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
8014 ComplexColumnVector&)): Call xzdotu here. | |
8015 | |
8016 2006-09-05 John W. Eaton <jwe@octave.org> | |
8017 | |
8018 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
8019 elements to '\0', not ' '. | |
8020 | |
5972 | 8021 2006-08-25 John W. Eaton <jwe@octave.org> |
8022 | |
8023 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
8024 | |
5958 | 8025 2006-08-23 John W. Eaton <jwe@octave.org> |
8026 | |
8027 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
8028 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
8029 | |
5955 | 8030 2006-08-22 John W. Eaton <jwe@octave.org> |
8031 | |
5956 | 8032 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
8033 * dMatrix.cc (Matrix::save_ascii): New function. | |
8034 | |
5955 | 8035 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
8036 If array is empty, return value is same size as array. | |
8037 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
8038 If array is empty, produce correctly sized return value. | |
8039 | |
5940 | 8040 2006-08-18 John W. Eaton <jwe@octave.org> |
8041 | |
5943 | 8042 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
8043 * dMatrix.h: Provide decl. | |
8044 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
8045 * dNDArray.h: Provide decl. | |
8046 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
8047 New function. | |
8048 * intNDArray.h: Provide decl. | |
8049 | |
5940 | 8050 * Array.cc (Array<T>::permute): Only rearrange values if array is |
8051 not empty. | |
8052 | |
5904 | 8053 2006-07-26 John W. Eaton <jwe@octave.org> |
8054 | |
8055 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
8056 DET::value_will_overflow): Use xlog2 instead of log2. | |
8057 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
8058 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
8059 * CmplxDET.cc (ComplexDET::initialize10, | |
8060 ComplexDET::value_will_underflow, | |
8061 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
8062 (ComplexDET::initialize2, ComplexDET::initialize10): | |
8063 Use xround instead of round. | |
8064 (ComplexDET::initialize2, ComplexDET::value): | |
8065 Use xexp2 instead of exp2. | |
8066 | |
8067 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
8068 (xlog2, xexp2): New functions. | |
8069 * lo-mappers.h: Provide decls. | |
8070 | |
5900 | 8071 2006-07-22 John W. Eaton <jwe@octave.org> |
8072 | |
8073 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
8074 Sparse<T>::mex_get_jc): New functions. | |
8075 | |
8076 2006-07-21 John W. Eaton <jwe@octave.org> | |
8077 | |
8078 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
8079 * Array.h (Array<T>::mex_get_data): New function. | |
8080 | |
5898 | 8081 2006-07-19 John W. Eaton <jwe@octave.org> |
8082 | |
8083 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
8084 | |
5893 | 8085 2006-07-16 John W. Eaton <jwe@octave.org> |
8086 | |
8087 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
8088 Rename from SparseParams. Use same implementation method as other | |
8089 singleton classes in Octave. Change all uses of | |
8090 Voctave_sparse_controls to use static functions from | |
8091 octave_sparse_params class instead. | |
8092 | |
8093 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
8094 SparseParams::get_key): Pass std::string arg by const reference, | |
8095 not const value. | |
8096 | |
5892 | 8097 2006-07-15 John W. Eaton <jwe@octave.org> |
8098 | |
8099 * data-conv.cc: Instantiante swap_bytes templates here. | |
8100 | |
8101 * MatrixType.cc (MatrixType::MatrixType): | |
8102 Use complete initializer lists in constructors. | |
8103 | |
5880 | 8104 2006-07-06 John W. Eaton <jwe@octave.org> |
8105 | |
8106 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
8107 New constructor. | |
8108 * str-vec.h: Provide decl. | |
8109 | |
5876 | 8110 2006-07-01 David Bateman <dbateman@free.fr> |
8111 | |
8112 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
8113 elements on the diagonal. Allow both Upper and Lower triangular | |
8114 matrices to be treated. | |
8115 * CSparse.cc (tinverse): ditto. | |
8116 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
8117 constant assignment. | |
9967 | 8118 |
5870 | 8119 2006-06-30 John W. Eaton <jwe@octave.org> |
8120 | |
5872 | 8121 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
8122 * cmd-edit.cc (editor::read_init_file): Ditto. | |
8123 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 8124 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 8125 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 8126 |
5870 | 8127 * data-conv.cc (data_conv::string_to_data_type): |
8128 Correctly handle leading "*". | |
8129 | |
5869 | 8130 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
8131 | |
8132 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
8133 array access. | |
9967 | 8134 |
5866 | 8135 2006-06-27 John W. Eaton <jwe@octave.org> |
8136 | |
8137 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
8138 | |
5864 | 8139 2006-06-21 John W. Eaton <jwe@octave.org> |
8140 | |
8141 * oct-shlib.cc (octave_dlopen_shlib::close, | |
8142 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
8143 Skip do_close_hook if cl_hook is 0. | |
8144 | |
5863 | 8145 2006-06-16 John W. Eaton <jwe@octave.org> |
8146 | |
8147 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
8148 * randmtzig.h: Don't inlcude config.h. | |
8149 | |
5837 | 8150 2006-05-31 David Bateman <dbateman@free.fr> |
8151 | |
8152 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
8153 | |
5828 | 8154 2006-05-23 John W. Eaton <jwe@octave.org> |
8155 | |
8156 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
8157 typedefs, or define them if those files are not available. | |
8158 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
8159 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
8160 octave_uint64_t): Delete typedefs. Replace all uses of these | |
8161 types with int8_t, int16_t, etc. | |
8162 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
8163 Delete definitions. Replace all uses of these macros with int8_t, | |
8164 int16_t, etc. | |
8165 * randmtzig.h: Delete integer typedefs. | |
8166 | |
5822 | 8167 2006-05-18 John W. Eaton <jwe@octave.org> |
8168 | |
8169 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
8170 From Keith Goodman <kwgoodman@gmail.com>. | |
8171 | |
5813 | 8172 2006-05-08 David Bateman <dbateman@free.fr> |
8173 | |
8174 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
8175 modification. | |
8176 | |
5797 | 8177 2006-05-09 David Bateman <dbateman@free.fr> |
8178 | |
8179 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
8180 ov-cx-sparse. and error_state. | |
8181 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
9967 | 8182 |
5795 | 8183 2006-05-08 David Bateman <dbateman@free.fr> |
8184 | |
8185 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
8186 first pass and use to determine which algorithm to use on a | |
8187 column-by-column basis. | |
8188 | |
5792 | 8189 2006-05-04 David Bateman <dbateman@free.fr> |
8190 | |
8191 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
8192 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
8193 CXSparse or later | |
8194 | |
5785 | 8195 2006-05-03 David Bateman <dbateman@free.fr> |
8196 | |
8197 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
8198 External declaration of lapack triangular and Cholesky codes. | |
9967 | 8199 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
5785 | 8200 ComplexMatrix::fsolve): New private solver codes for |
9967 | 8201 upper, lower and LU/Cholesky solvers. |
5785 | 8202 (ComplexMatrix::solve): New versions for cached matrix |
8203 type. Adapt old versions to call new versions | |
8204 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
8205 new solvers. | |
8206 (solve): New versions for cached matrix type. | |
8207 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
8208 External declaration of lapack triangular and Cholesky codes. | |
9967 | 8209 (Matrix::utsolve, Matrix::ltsolve, |
5785 | 8210 Matrix::fsolve): New private solver codes for |
9967 | 8211 upper, lower and LU/Cholesky solvers. |
5785 | 8212 (Matrix::solve): New versions for cached matrix |
8213 type. Adapt old versions to call new versions | |
8214 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
8215 new solvers. | |
8216 (solve): New versions for cached matrix type. | |
8217 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
8218 * CSparse.h: ditto. | |
8219 * dSparse.cc: ditto. | |
8220 * dSparse.h: ditto. | |
8221 * SparseCmplxCHOL.cc: ditto. | |
8222 * SparsedbleCHOL.cc: ditto. | |
8223 * sparse-dmsolve.cc: ditto. | |
8224 * SparseType.cc, SparseType.h: delete. | |
8225 * MatrixType.cc: New file for class to cache matrix type, based on | |
8226 old SparseType class but caching matrix and sparse types. | |
8227 * MatrixType.h: ditto. | |
8228 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
8229 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
8230 respectively. | |
8231 * mx-base.h: Include MatrixTye.h as header file. | |
9967 | 8232 |
5781 | 8233 2006-05-01 John W. Eaton <jwe@octave.org> |
8234 | |
8235 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
8236 Delete WARN_FUTURE arg. Change all uses. | |
8237 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
8238 Change all uses. Use current_liboctave_warning_with_id_handler. | |
8239 (octave_base_shlib::open): Delete arg. Change all derived classes | |
8240 and uses. | |
8241 | |
8242 2006-04-29 John W. Eaton <jwe@octave.org> | |
8243 | |
8244 * Array-flags.cc, Array-flags.h: Delete. | |
8245 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
8246 (MATRIX_INC): Remove Array-flags.h from the list. | |
8247 | |
8248 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
8249 Use current_liboctave_warning_with_id_handler | |
8250 with warning ID Octave:resize-on-range-error. | |
8251 * idx-vector.h: Fix decl. | |
8252 * Array.cc, Sparse.cc: Change all callers. | |
8253 | |
8254 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
8255 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
8256 with warning ID Octave:fortran-indexing instead of | |
8257 liboctave_wfi_flag. | |
8258 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
8259 | |
5777 | 8260 2006-04-26 John W. Eaton <jwe@octave.org> |
8261 | |
8262 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
8263 New static data. | |
8264 * pathsearch.h: Provide decls. | |
8265 (dir_path::is_path_sep): New function. | |
8266 | |
5766 | 8267 2006-04-18 John W. Eaton <jwe@octave.org> |
8268 | |
8269 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
8270 Omit inline from decl. | |
8271 | |
8272 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
8273 local array with variable dimension. | |
8274 | |
5764 | 8275 2006-04-16 John W. Eaton <jwe@octave.org> |
8276 | |
5765 | 8277 * lo-sstream.h: Delete. |
8278 * Makefile.in (INCLUDES): Remove it from the list. | |
8279 | |
8280 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
8281 * Sparse.cc (Sparse::range_error): Likewise. | |
8282 * DASSL.cc (DASSL::error_message): Likewise. | |
8283 * LSODE.cc (LSODE::error_message): Likewise. | |
8284 * DASRT.cc (DASRT::error_message): Likewise. | |
8285 * DASPK.cc (DASPK::error_message): Likewise. | |
8286 * Array.cc (Array::range_error): Likewise. | |
8287 | |
5764 | 8288 * kpse.cc (kpse_hash): Rename from hash. |
8289 (hash_lookup): Call kpse_hash instead of hash. | |
8290 | |
8291 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
8292 to avoid local array with variable dimension. | |
8293 | |
5760 | 8294 2006-04-13 David Bateman <dbateman@free.fr> |
8295 | |
9967 | 8296 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 8297 Optimize assignment. |
8298 | |
8299 2006-04-13 John W. Eaton <jwe@octave.org> | |
8300 | |
9967 | 8301 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
5760 | 8302 Eliminate unnecessary casts. |
8303 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
8304 | |
8305 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
8306 (log_search, dir_links): Use static_cast instead of C-style cast. | |
8307 | |
8308 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
8309 * oct-alloc.cc (allocator::grow): Likewise. | |
8310 * CSparse.cc (SparseComplexMatrix::determinant, | |
8311 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
8312 Likewise. | |
8313 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
8314 | |
8315 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
8316 Use static_cast instead of C-style cast. | |
8317 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
8318 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
8319 | |
8320 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
8321 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
8322 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
8323 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
8324 Use reinterpret_cast instead of X_CAST. | |
8325 | |
8326 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
8327 return value here. | |
8328 | |
5752 | 8329 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
8330 | |
8331 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
8332 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
8333 | |
5730 | 8334 2006-04-03 David Bateman <dbateman@free.fr> |
8335 | |
5731 | 8336 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
8337 to avoid copy of original matrix. | |
8338 | |
5730 | 8339 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
9967 | 8340 randmtzig.h to the list. |
5730 | 8341 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
9967 | 8342 randmtzig.c to the list. |
5730 | 8343 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
8344 (use_old_generators): New variable. | |
8345 (old_initialized): Rename from initialized. | |
8346 (new_initialized): New variable. | |
8347 (oct_init_by_entropy): New function. | |
8348 (maybe_initialize): Initialize new or old generator depending on | |
8349 value of use_old_generators. | |
8350 (octave_rand::state): New functions. | |
8351 (octave_rand::distribution): Add gamma, exponential and poisson | |
8352 distributions. | |
8353 (octave_rand::exponential_distribution, | |
8354 octave_rand::poisson_distribution, | |
8355 octave_rand::gamma_distribution): New methods to select | |
9967 | 8356 exponential, poisson or gamma distribution. |
5730 | 8357 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
8358 octave_rand::vector): Add new distributions. | |
8359 * oct-rand.h: Provide decls for new functions. | |
8360 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
8361 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
8362 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
8363 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
9967 | 8364 randmtzig.h: New files. |
5730 | 8365 |
5717 | 8366 2006-03-24 John W. Eaton <jwe@octave.org> |
8367 | |
8368 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
8369 Array<octave_idx_type>, so fortran_vec returns pointer to | |
8370 octave_idx_type, not pointer to int. | |
8371 | |
8372 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
8373 ComplexMatrix::column (char*)): Delete. | |
8374 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
8375 Matrix::column (char*)): Delete. | |
8376 | |
5713 | 8377 2006-03-21 David Bateman <dbateman@free.fr> |
8378 | |
8379 * SparseQR.h: Publish externally used friends. | |
8380 * SparseCmplxQR.h: ditto. | |
8381 | |
5700 | 8382 2006-03-21 John W. Eaton <jwe@octave.org> |
8383 | |
8384 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
8385 call to xdbetai. | |
8386 | |
5697 | 8387 2006-03-21 David Bateman <dbateman@free.fr> |
8388 | |
5701 | 8389 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
8390 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 8391 |
8392 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
8393 fallback to QR solvers to be optional. | |
8394 * CSparse.cc (solve): Ditto. | |
8395 * dSparse.h (solve): update declaration for new argument. | |
8396 * CSparse.h (solve): Ditto. | |
8397 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
8398 to bypass QR solvers when solving the well determined part of | |
8399 the problem. | |
5697 | 8400 |
5690 | 8401 2006-03-17 John W. Eaton <jwe@octave.org> |
8402 | |
8403 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
8404 | |
5681 | 8405 2006-03-16 David Bateman <dbateman@free.fr> |
8406 | |
8407 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
8408 reduction of matrix size, except for a couple of cases where nzmax | |
8409 is needed. | |
8410 (zpbcon): Correct declaration of lapack zpbcon function. | |
8411 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
8412 an argument to allow the calculation of condition number to be | |
8413 optional. | |
8414 (bsolve): Add code for the calculation of the condition number | |
8415 using zpbcon and zgbcon. | |
8416 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
8417 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
8418 singular if singularity is detected. | |
8419 (solve): Use optional argument to disable calculation of | |
9967 | 8420 condition number for all but fsolve, for speed. Add code to |
5681 | 8421 allow rectnagular matrices or matrices identified as singular |
8422 to be treated. | |
8423 (lssolve): delete. | |
8424 (operator *): Don't recast real matrices as complex, but | |
8425 rather use the macro directly on the real data. | |
8426 * dSparse.cc: ditto. | |
8427 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
8428 fsolve, factorize): Update declaration for new argument to | |
8429 calculate the condition number. | |
8430 (lssolve): delete. | |
8431 * dSparse.h: ditto. | |
8432 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
8433 reduction of matrix size, except for a couple of cases where | |
8434 nzmax is needed. | |
8435 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
8436 reduction of matrix size, except for a couple of cases where | |
8437 nzmax is needed. | |
8438 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
8439 Special case strict permutations for speed. | |
8440 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
8441 reduction of matrix size, except for a couple of cases where | |
8442 nzmax is needed. | |
8443 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
8444 macros to allow mixed complex/real arguments. | |
8445 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
9967 | 8446 value. |
5681 | 8447 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
8448 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
8449 of permutated triangular matrices to avoid seg-faults. Disable | |
8450 detection of underdetermined lower and over-determined upper | |
8451 matrix due to problems with non minimum norm solutions. | |
8452 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
8453 * Makefile.in: add sparse-dmsolve.cc to targets. | |
8454 | |
5675 | 8455 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
8456 | |
8457 * oct-time.cc (octave_strptime::init): Return useful character count. | |
8458 | |
5648 | 8459 2006-03-08 David Bateman <dbateman@free.fr> |
8460 | |
8461 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
8462 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
8463 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
8464 * SparseQR.cc: ditto. | |
8465 * SparseQR.h: ditto. | |
8466 * oct-sparse.h: ditto. | |
8467 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
8468 Declare info variable as volatile. | |
8469 | |
8470 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
8471 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
9967 | 8472 |
5634 | 8473 2006-03-01 John W. Eaton <jwe@octave.org> |
8474 | |
8475 * CMatrix.cc (ComplexMatrix::determinant): | |
8476 Scale result by factors of 2, not 10. | |
8477 * dMatrix.cc (Matrix::determinant): Likewise. | |
8478 | |
8479 * dbleDET.h (DET::DET): Use initializer list. | |
8480 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
8481 DET::exponent10): New functions. | |
8482 (DET::det): Delete. | |
8483 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
8484 Store value internally with double and int instead of 2-element | |
8485 double vector. | |
8486 (DET::initialize2, DET::initialize10): Provide decls. | |
9967 | 8487 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
5634 | 8488 Return bool value, not int. |
8489 (DET::initialize2, DET::initialize10): New functions. | |
8490 | |
8491 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
8492 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
8493 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
8494 (ComplexDET::det): Delete. | |
8495 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
8496 ComplexDET::base2): New data members. | |
8497 Store value internally with Complex and int instead of 2-element | |
8498 Complex vector. | |
8499 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
8500 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
8501 ComplexDET::value_will_underflow): Return bool value, not int. | |
8502 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
8503 | |
5632 | 8504 2006-02-24 John W. Eaton <jwe@octave.org> |
8505 | |
8506 * Array.cc (assignN): Clear index before reshaping. | |
8507 | |
8508 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
8509 | |
5630 | 8510 2006-02-20 David Bateman <dbateman@free.fr> |
8511 | |
9967 | 8512 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
5630 | 8513 matrix must be square in diagonal, permuted diagonal, triangular |
8514 and permuted triangular back/forward substitution code. Change | |
8515 ambiguous use of no. rows and columns. | |
8516 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
8517 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
8518 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
8519 rectangular diagonal, permuted diagonal, triangular and permuted | |
8520 triangular matrices. | |
8521 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
8522 Treat case where third argument is zero. | |
8523 | |
5621 | 8524 2006-02-15 John W. Eaton <jwe@octave.org> |
8525 | |
5622 | 8526 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
9967 | 8527 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
5622 | 8528 |
5621 | 8529 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
8530 | |
5619 | 8531 2006-02-13 David Bateman <dbateman@free.fr> |
8532 | |
8533 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
9967 | 8534 ccolamd and cxsparse |
5619 | 8535 |
5617 | 8536 2006-02-13 John W. Eaton <jwe@octave.org> |
8537 | |
5618 | 8538 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
8539 while loop condition. | |
8540 (kpse_path_iterator::operator =): Declare as private function but | |
8541 don't define to prevent attempts to use assignment operator. | |
8542 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 8543 |
5615 | 8544 2006-02-10 John W. Eaton <jwe@octave.org> |
8545 | |
8546 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
8547 product of all dimensions in CP_SZ. | |
8548 | |
5611 | 8549 2006-02-09 John W. Eaton <jwe@octave.org> |
8550 | |
8551 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 8552 product of all dimensions in CP_SZ. |
5611 | 8553 |
5610 | 8554 2006-02-09 David Bateman <dbateman@free.fr> |
8555 | |
9967 | 8556 * SparseQR.cc: new file for real sparse QR class. |
8557 * SparseQR.h: declaration. | |
8558 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
8559 * SparseCmplxQR.h: declaration. | |
8560 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
8561 (factorize, fsolve): Enable code code lssolve. | |
8562 (lssolve): disable unused args, write based in above sparse QR class. | |
8563 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
8564 (factorize, fsolve): Enable code code lssolve. | |
8565 (lssolve): disable unused args, write based in above sparse QR class. | |
8566 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
8567 Include CXSparse headers. | |
8568 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
8569 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5610 | 8570 |
5607 | 8571 2006-02-08 John W. Eaton <jwe@octave.org> |
8572 | |
8573 * Array-util.h (calc_permutated_idx): Delete. | |
8574 * Array.cc (permute_vector): New data structure. | |
8575 (permute_vector_compare): New function. | |
8576 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
8577 improved performance. | |
8578 | |
5606 | 8579 2006-02-04 David Bateman <dbateman@free.fr> |
8580 | |
8581 * COLAMD: Remove all files, as now unused. | |
8582 | |
5604 | 8583 2006-01-31 John W. Eaton <jwe@octave.org> |
8584 | |
8585 * Sparse.h (Sparse<T>::nzmax): New function. | |
8586 (Sparse<T>::nnz): Rename from nonzero. | |
8587 Change all uses of old nnz function to be nzmax. Change all uses | |
8588 of nonzero to be nnz. | |
8589 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
8590 | |
5603 | 8591 2006-01-21 David Bateman <dbateman@free.fr> |
8592 | |
9967 | 8593 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
8594 (bool octave_idx_vector_comp): New function. | |
8595 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
8596 indexed idx_vector sorting function. | |
8597 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
8598 (class octave_idx_vector_sort): New class for indexed idx_vector | |
8599 sorting. | |
8600 (bool octave_idx_vector_comp): Declaration. | |
8601 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
8602 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
8603 class. | |
8604 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5603 | 8605 |
5602 | 8606 2006-01-30 John W. Eaton <jwe@octave.org> |
8607 | |
8608 * so-array.h (streamoff_array::nnz): New funtion. | |
8609 * boolNDArray.h (boolNDArray::nnz): New function. | |
8610 * MArrayN.h (MArrayN<T>::nnz): New function. | |
8611 * MArray.h (MArray<T>::nnz): New function. | |
8612 | |
5587 | 8613 2006-01-04 David Bateman <dbateman@free.fr> |
8614 | |
8615 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
8616 elements not being sorted in return matrix. Sort them, and make | |
9967 | 8617 solver select between two algorithms to further improve the |
5587 | 8618 performance. |
8619 * dSparse.cc: include oct-sort.h. | |
8620 * CSparse.cc: ditto. | |
8621 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
9967 | 8622 |
5586 | 8623 2005-12-28 David Bateman <dbateman@free.fr> |
8624 | |
5587 | 8625 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
9967 | 8626 faster in all cases, and significantly so for low density or small |
5587 | 8627 order problems. |
5586 | 8628 |
5552 | 8629 2005-11-30 John W. Eaton <jwe@octave.org> |
8630 | |
8631 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
8632 before setting any values in either array. | |
8633 | |
5547 | 8634 2005-11-29 John W. Eaton <jwe@octave.org> |
8635 | |
8636 * oct-uname.h, oct-uname.cc: New files. | |
8637 * Makefile.in: Add them to the appropriate lists. | |
8638 | |
5535 | 8639 2005-11-11 John W. Eaton <jwe@octave.org> |
8640 | |
8641 * Array.cc (Array<T>::indexN): Simplify. | |
8642 | |
5533 | 8643 2005-11-09 John W. Eaton <jwe@octave.org> |
8644 | |
8645 * oct-inttypes.h (octave_int::operator char (void) const): | |
8646 New conversion op. | |
8647 | |
5527 | 8648 2005-11-01 John W. Eaton <jwe@octave.org> |
8649 | |
8650 * Makefile.in (distclean): Also remove oct-types.h. | |
8651 From Quentin Spencer <qspencer@ieee.org>. | |
8652 | |
5526 | 8653 2005-10-31 David Bateman <dbateman@free.fr> |
8654 | |
8655 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
8656 preprocessor defined TRUE/FALSE. | |
8657 | |
5523 | 8658 2005-10-30 John W. Eaton <jwe@octave.org> |
8659 | |
8660 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
8661 (MX_ND_CUMULATIVE_OP): Likewise. | |
8662 | |
5519 | 8663 2005-10-29 John W. Eaton <jwe@octave.org> |
8664 | |
5520 | 8665 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
8666 things up. Simplify. | |
8667 | |
5519 | 8668 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
8669 case for "vector_equivalent". | |
8670 | |
8671 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
8672 | |
5518 | 8673 2005-10-28 John W. Eaton <jwe@octave.org> |
8674 | |
8675 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
8676 From Quentin Spencer <qspencer@ieee.org>. | |
8677 | |
8678 * sparse-base-chol.cc: Use C++ true/false instead of | |
8679 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
8680 | |
5516 | 8681 2005-10-27 John W. Eaton <jwe@octave.org> |
8682 | |
8683 * Array.cc (assignN): Reshape to final size instead of resizing. | |
8684 | |
5512 | 8685 2005-10-26 John W. Eaton <jwe@octave.org> |
8686 | |
8687 * oct-sparse.h: New file. | |
8688 * oct-sparse.h.in: Delete. | |
8689 | |
5511 | 8690 2005-10-26 David Bateman <dbateman@free.fr> |
8691 | |
8692 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
8693 * sparse-base-chol.cc: ditto. | |
8694 | |
5508 | 8695 2005-10-26 John W. Eaton <jwe@octave.org> |
8696 | |
8697 Changes for GCC 4.1, tip from Arno J. Klaassen | |
8698 <arno@heho.snv.jussieu.fr>: | |
8699 | |
9967 | 8700 * dSparse.h (real (const SparseComplexMatrix&)): |
5509 | 8701 Publish externally used friend function. |
8702 (imag (const SparseComplexMatrix&)): Likewise. | |
8703 | |
5508 | 8704 * dColVector.h (real (const ComplexColumnVector&)): |
8705 Publish externally used friend function. | |
8706 (imag (const ComplexColumnVector&)): Likewise. | |
8707 | |
8708 * dNDArray.h (real (const ComplexNDArray&)): | |
8709 Publish externally used friend function. | |
8710 (imag (const ComplexNDArray&)): Likewise. | |
8711 | |
9967 | 8712 * dMatrix.h (operator * (const ComplexMatrix&)): |
5508 | 8713 Move decl outside class. No need to be friend. |
8714 (real (const ComplexMatrix&)): Publish externally used friend function. | |
8715 (imag (const ComplexMatrix&)): Likewise. | |
8716 | |
8717 * CMatrix.h: (operator * (const ColumnVector&, const | |
8718 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
8719 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
8720 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
8721 Likewise. | |
8722 | |
5506 | 8723 2005-10-23 David Bateman <dbateman@free.fr> |
9967 | 8724 |
5506 | 8725 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
8726 elements need to be removed. | |
9967 | 8727 |
5506 | 8728 * oct-sparse.h.in: Include metis headers and some macros for long/int |
8729 versions of cholmod. | |
9967 | 8730 |
5506 | 8731 * CSparse.cc (tinverse): New private function for the inversion of |
8732 an upper triangular matrix. | |
8733 (dinverse): ditto for diagonal matrices. | |
8734 (inverse): Add SparseType as an argument. Implement matrix inverse | |
8735 using tinverse and dinverse. | |
8736 (fsolve): Use cholmod to implement Cholesky solver. | |
8737 * CSparse.h (tinverse, dinverse): Declarations | |
8738 (inverse): Alter declaration to include SparseType. | |
8739 | |
8740 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
8741 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
8742 | |
8743 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
9967 | 8744 |
5506 | 8745 * sparse-util.cc: New file for sparse utility functions. |
9967 | 8746 * sparse-util.h: New file with declarations of sparse utility |
5506 | 8747 functions. |
8748 | |
8749 * sparse-base-chol.cc: New file with sparse cholesky class based | |
8750 on cholmod. | |
8751 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
8752 class based on cholmod. | |
8753 | |
8754 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
8755 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
8756 | |
8757 * SparsedbleCHOL.cc: ditto. | |
8758 * SparsedbleCHOL.h: ditto. | |
8759 | |
8760 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
8761 (INCLUDES): Include sparse-util.h | |
8762 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
8763 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
9967 | 8764 |
5489 | 8765 2005-10-12 John W. Eaton <jwe@octave.org> |
8766 | |
8767 * oct-env.cc (octave_env::have_x11_display): New function. | |
8768 * oct-env.h: Provide decl. | |
8769 | |
5476 | 8770 2005-09-29 John W. Eaton <jwe@octave.org> |
8771 | |
8772 * file-stat.h (file_stat::mode): New function. | |
8773 | |
8774 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
8775 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8776 file_stat::is_reg, file_stat::is_sock): New static functions. | |
8777 * file-stat.h: Provide decls. | |
8778 | |
8779 2005-09-28 John W. Eaton <jwe@octave.org> | |
8780 | |
8781 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
8782 * file-ops.h: Provide decl. | |
8783 | |
5454 | 8784 2005-09-19 David Bateman <dbateman@free.fr> |
8785 | |
8786 * oct-env.cc (octave_env::do_get_home_directory): | |
8787 Also check HOMEDRIVE under mingw. | |
8788 | |
5455 | 8789 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
8790 | |
5453 | 8791 2005-09-16 John W. Eaton <jwe@octave.org> |
8792 | |
8793 * oct-syscalls.cc: Include lo-utils.h here. | |
8794 (octave_syscalls::waitpid): Call octave_waitpid here. | |
8795 | |
8796 * lo-cutils.c (octave_waitpid): New function. | |
8797 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
8798 oct-syscalls.cc | |
9967 | 8799 |
5453 | 8800 |
8801 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
8802 waitpid in src/sysdep.h. Make this header C-compatible. | |
8803 | |
8804 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
8805 Change all uses. | |
8806 | |
5451 | 8807 2005-09-15 John W. Eaton <jwe@octave.org> |
8808 | |
8809 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
8810 | |
8811 * oct-sparse.h.in: New file. | |
8812 * Makefile.in (DISTFILES): Include it in the list. | |
8813 (INCLUDES): Add oct-sparse.h to the list. | |
8814 | |
8815 2005-09-15 David Bateman <dbateman@free.fr> | |
8816 | |
9967 | 8817 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
5451 | 8818 headers. Remove include of umfpack.h. |
8819 * CSparse.cc : ditto. | |
8820 * SparsedbleLU.cc : ditto. | |
8821 * SparseCmplxLU.cc : ditto. | |
8822 | |
8823 * COLAMD : Remove colamd files from octave. | |
8824 * COLAMD.files : delete. | |
8825 * COLAMD.README : delete. | |
8826 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
9967 | 8827 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
5451 | 8828 under mingw. |
8829 | |
8830 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
8831 in definition. | |
8832 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
8833 change of cast not allowed under g++ 3.x. | |
8834 * lo-utils.h (octave_w32_library_search): Declaration. | |
8835 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
8836 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
8837 | |
5442 | 8838 2005-09-07 John W. Eaton <jwe@octave.org> |
8839 | |
8840 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
8841 based on current code in Bash. Handle a few more escape | |
8842 sequences. Do a better job of decoding \W. | |
8843 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
8844 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 8845 |
8846 * COLAMD: Update version of colamd to v2.4. | |
9967 | 8847 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
5438 | 8848 colamd.c for long version. |
8849 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
8850 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 8851 |
8852 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
8853 mixed sparse/full multiply. | |
8854 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
8855 mixed sparse/full multiply. | |
8856 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
8857 mixed sparse/full multiply operators. | |
8858 | |
5420 | 8859 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
8860 | |
8861 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
8862 avoid warnings for unsigned types. | |
8863 | |
5404 | 8864 2005-07-07 John W. Eaton <jwe@octave.org> |
8865 | |
8866 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
8867 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
8868 | |
5392 | 8869 2005-06-15 John W. Eaton <jwe@octave.org> |
8870 | |
5394 | 8871 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
8872 Flush stdout here. | |
8873 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
8874 | |
5392 | 8875 * Array.h (Array::resize): Change int args to octave_idx_type. |
8876 | |
5386 | 8877 2005-06-14 John W. Eaton <jwe@octave.org> |
8878 | |
5389 | 8879 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
8880 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
8881 octave_is_NaN_or_NA to xisnan. | |
8882 | |
8883 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
8884 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
8885 | |
8886 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
8887 lo_ieee_isnan. | |
8888 | |
5387 | 8889 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
8890 value is greater than FLT_MAX. | |
8891 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
8892 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
8893 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
8894 | |
8895 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
8896 values too. | |
8897 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
8898 | |
8899 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
8900 NA, Inf values. | |
8901 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 8902 |
5385 | 8903 2005-06-14 David Bateman <dbateman@free.fr> |
8904 | |
5387 | 8905 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
8906 NA values. | |
8907 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 8908 |
5379 | 8909 2005-06-02 John W. Eaton <jwe@octave.org> |
8910 | |
8911 * Array.cc (assignN): Try harder to correctly resize previously | |
8912 empty LHS. | |
8913 | |
5351 | 8914 2005-05-16 David Bateman <dbateman@free.fr> |
8915 | |
8916 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
8917 * CSparse.h: ditto. | |
8918 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
8919 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 8920 |
8921 * dSparse.cc (determinant): Free numeric factorization after | |
8922 sucessful calculation. | |
8923 * CSparse.cc (determinant): ditto. | |
8924 | |
5340 | 8925 2005-05-06 John W. Eaton <jwe@octave.org> |
8926 | |
8927 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
8928 chol_mat. | |
8929 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
8930 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
8931 Provide decls. | |
8932 | |
8933 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
8934 indexing chol_mat. | |
8935 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
8936 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
8937 Provide decls. | |
8938 | |
5338 | 8939 2005-05-05 John W. Eaton <jwe@octave.org> |
8940 | |
8941 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
8942 retval before return. | |
8943 | |
5336 | 8944 2005-05-04 John W. Eaton <jwe@octave.org> |
8945 | |
8946 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
8947 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
8948 | |
5330 | 8949 2005-05-02 John W. Eaton <jwe@octave.org> |
8950 | |
8951 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
8952 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
8953 | |
5322 | 8954 2005-04-29 David Bateman <dbateman@free.fr> |
8955 | |
5330 | 8956 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
8957 double. Correct indexing for upper diagonal elements for sparse | |
8958 tridiagonal. | |
5322 | 8959 * CSparse.cc (trisolve): ditto. |
8960 | |
5330 | 8961 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
8962 UMFPACK for 64-bit. | |
9967 | 8963 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5322 | 8964 UMFPACK_ZNAME(*). |
8965 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
8966 | |
5330 | 8967 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
8968 UMFPACK for 64-bit. | |
9967 | 8969 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5322 | 8970 UMFPACK_DNAME(*). |
8971 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
8972 | |
5330 | 8973 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
8974 triangular back/forward substitution code. | |
5322 | 8975 * CSparse.cc (ltsolve, utsolve): ditto. |
8976 | |
5330 | 8977 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
8978 from spparms("spumoni",1). | |
5322 | 8979 * CSparse.cc (solve): ditto |
8980 | |
5330 | 8981 * SparseType.cc (SparseType(void)): Print info for |
8982 spparms("spumoni",1). | |
5322 | 8983 (SparseType(const matrix_type), SparseType(const matrix_type, const |
8984 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
8985 const octave_idx_type, const octave_idx_type)): New constructors. | |
8986 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 8987 Detect row permuted lower triangular and column permuted upper |
8988 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 8989 |
8990 * SparseType.h: Simplify the permutation code. | |
8991 (SparseType(const matrix_type), SparseType | |
9967 | 8992 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
8993 SparseType(const matrix_type, const octave_idx_type, | |
5322 | 8994 const octave_idx_type)): Declarations. |
9967 | 8995 |
5304 | 8996 2005-04-25 John W. Eaton <jwe@octave.org> |
8997 | |
8998 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
8999 array and its contents. | |
9000 | |
5303 | 9001 2005-04-22 John W. Eaton <jwe@octave.org> |
9002 | |
9003 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
9004 const here now that rl_terminal_name is declared const char*. | |
9005 | |
5294 | 9006 2005-04-21 John W. Eaton <jwe@octave.org> |
9007 | |
9008 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
9009 | |
5285 | 9010 2005-04-19 John W. Eaton <jwe@octave.org> |
9011 | |
9012 * Array.cc (assignN): Don't crash if the index list is empty. | |
9013 | |
5282 | 9014 2005-04-14 David Bateman <dbateman@free.fr> |
9015 | |
9016 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
9017 * SparsedbleLU.cc: Ditto. | |
9018 * SparseCmplxLU.h: Definition. | |
9019 * SparsedbleLU.h: ditto. | |
9020 | |
9021 * SparseType.cc (transpose): New function. | |
9022 * SparseType.h (transpose): Definition. | |
9967 | 9023 |
5278 | 9024 2005-04-11 John W. Eaton <jwe@octave.org> |
9025 | |
9026 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
9027 fortran code that could end up calling XSTOPX. | |
9028 | |
5277 | 9029 2005-04-10 David Bateman <dbateman@free.fr> |
9030 | |
9967 | 9031 * Makefile.in: include oct-types in INCLUDES so that it is |
5277 | 9032 installed |
9967 | 9033 |
5275 | 9034 2005-04-08 John W. Eaton <jwe@octave.org> |
9035 | |
5276 | 9036 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
9037 | |
5275 | 9038 * Initial merge of 64-bit changes from Clinton Chee: |
9039 | |
9040 2005-04-07 John W. Eaton <jwe@octave.org> | |
9041 | |
9042 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
9043 | |
9044 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
9045 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
9046 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
9047 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
9048 Use octave_idx_type instead of int where needed. | |
9049 | |
9050 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
9051 | |
9052 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
9053 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
9054 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
9055 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
9056 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
9057 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
9058 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
9059 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
9060 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
9061 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
9062 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
9063 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
9064 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
9065 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
9066 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
9067 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
9068 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
9069 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
9070 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
9071 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
9072 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
9073 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
9074 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
9075 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
9076 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
9077 str-vec.cc, str-vec.h: | |
9078 Use octave_idx_type instead of int where needed. | |
9079 | |
9080 2005-04-01 John W. Eaton <jwe@octave.org> | |
9081 | |
9082 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
9083 | |
9084 * oct-types.h.in: New file. | |
9085 | |
9086 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
9087 | |
9088 * lo-utils.cc (NINTbig): New function. | |
9089 * lo-utils.h: Provide decl. | |
9090 | |
5269 | 9091 2005-04-06 David Bateman <dbateman@free.fr> |
9092 | |
9093 * Makefile.in: Link to UMFPACK_LIBS. | |
9094 | |
5265 | 9095 2005-04-05 John W. Eaton <jwe@octave.org> |
9096 | |
9097 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
9098 | |
5264 | 9099 2005-04-01 John W. Eaton <jwe@octave.org> |
9100 | |
9101 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
9102 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
9103 when resizing A. When performing the assignment, just check that | |
9104 the number of elements in RHS matches the number of elements | |
9105 indexed by IDX-LIST. | |
9106 | |
5260 | 9107 2005-03-30 John W. Eaton <jwe@octave.org> |
9108 | |
5261 | 9109 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
9110 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
9111 | |
9112 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
9113 dSparse.cc: Use std:: for Complex functions instead of relying on | |
9114 wrappers from oct-cmplx.h. | |
5260 | 9115 |
9116 * oct-cmplx.h: Provide typedef only. | |
9117 | |
9118 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
9119 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
9120 Likewise. | |
9121 | |
5247 | 9122 2005-03-26 John W. Eaton <jwe@octave.org> |
9123 | |
9124 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
9125 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
9126 | |
5209 | 9127 2005-03-15 John W. Eaton <jwe@octave.org> |
9128 | |
9129 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
9130 | |
5203 | 9131 2005-03-14 John W. Eaton <jwe@octave.org> |
9132 | |
9133 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
9134 (DISTDIRS): Don't include UMFPACK. | |
9135 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
9136 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
9137 flags for these files. | |
9138 Don't include include $(srcdir)/UMFPACK.files. | |
9139 Don't include include $(srcdir)/UMFPACK.rules. | |
9140 | |
9141 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
9142 Delete files. | |
9143 * UMFPACK: Delete directory tree. | |
9144 | |
9145 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
9146 * CSparse.cc: Likewise. | |
9147 * SparsedbleLU.cc: Likewise. | |
9148 * SparseCmplxLU.cc: Likewise. | |
9149 | |
9150 2005-03-14 David Bateman <dbateman@free.org> | |
9151 | |
9152 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
9153 Allow compilation to succeed if UMFPACK is not available. | |
9154 | |
5196 | 9155 2005-03-09 John W. Eaton <jwe@octave.org> |
9156 | |
9157 * Makefile.in (bin-dist): Delete target. | |
9158 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
9159 | |
5173 | 9160 2005-03-01 John W. Eaton <jwe@octave.org> |
9161 | |
9162 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
9163 * Makefile.in: Remove them from the lists. | |
9164 | |
5169 | 9165 2005-02-28 John W. Eaton <jwe@octave.org> |
9166 | |
9167 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
9168 | |
5167 | 9169 2005-02-27 David Bateman <dbateman@free.org> |
9170 | |
5169 | 9171 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
9172 in the sparse matrix. | |
9967 | 9173 |
5164 | 9174 2005-02-25 John W. Eaton <jwe@octave.org> |
9175 | |
9176 Sparse merge. | |
9177 | |
9178 2005-02-13 David Bateman <dbateman@free.fr> | |
9179 | |
9180 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
9181 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
9182 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
9967 | 9183 solver into separate functions for the diagonal, upper, lower |
5164 | 9184 triangular, tridiagonal, banded and full cases. |
9185 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
9186 version that probes the matrix type and another that assumes the type | |
9187 is passed. | |
9188 | |
9189 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
9190 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
9191 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
9192 (SparseMatrix::solve): Likewise | |
9193 | |
9194 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
9195 Declaration of new functions | |
9196 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
9197 Likewise | |
9198 | |
9199 * CSparse.cc (operator !): Reverse the sense of the test. | |
9200 * dSpase.cc (operator !): Likewise | |
9201 | |
9202 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
9203 triangular_col_perm, sparse_info): Remove matrix type code | |
9204 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
9205 triangular_col_perm, sparse_info): Likewise | |
9206 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
9207 triangular_col_perm, sparse_info): Likewise | |
9208 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
9209 triangular_col_perm, sparse_info): Likewise | |
9210 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
9211 triangular_col_perm, sparse_info, matrix_type): Likewise | |
9212 | |
9213 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
9967 | 9214 |
5164 | 9215 * SparseType.h: New class for the matrix type used in solvers |
9216 * SparseType.cc: methods of sparse matrix type class | |
9967 | 9217 |
5164 | 9218 * Makefile.in: Add SparseType.cc |
9219 | |
9220 2005-02-01 David Bateman <dbateman@free.fr> | |
9221 | |
9222 * UMFPACK: Update to version 4.4 | |
9223 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
9224 keep octave specific test files | |
9225 | |
9226 2005-01-23 David Bateman <dbateman@free.fr> | |
9227 | |
9228 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
9229 tridiagonal and banded cholesky solvers. Remove calculation of | |
9230 condition number for banded solvers. | |
9231 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
9232 | |
9233 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
9234 new functions. | |
9235 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9236 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9237 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
9967 | 9238 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
5164 | 9239 ditto |
9240 | |
9967 | 9241 * Sparse.cc (int Sparse<T>::type (int) const, |
5164 | 9242 bool Sparse<T>::is_dense (void) const): New functions definition |
9967 | 9243 |
5164 | 9244 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
9245 so it actually is cached, but disable | |
9246 | |
9247 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
9248 for compatiability | |
9967 | 9249 |
5164 | 9250 2005-01-18 David Bateman <dbateman@free.fr> |
9251 | |
9252 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
9253 Modify calculation of number elements to skip between copied blocks. | |
9254 | |
9255 2005-01-07 David Bateman <dbateman@free.fr> | |
9256 | |
9257 * Sparse.h : Reverse definitions of numel and nelem. | |
9258 * Sparse.cc (assign1): Use numel and not nelem | |
9259 * Sparse-op-def.h: Replace all uses of nelem with numel | |
9967 | 9260 |
5164 | 9261 2005-01-07 David Bateman <dbateman@free.fr> |
9262 | |
9263 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
9967 | 9264 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
5164 | 9265 ComplexDET |
9967 | 9266 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
5164 | 9267 by DET |
9268 * dSparse.h (determinant): ditto | |
9967 | 9269 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
5164 | 9270 SparseComplexDET by ComplexDET |
9271 * CSparse.h (determinant): ditto | |
9967 | 9272 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
5164 | 9273 SparseCmplxDET.cc: delete files |
9274 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
9275 SparseCmplxDET.h andSparseCmplxDET.cc. | |
9276 | |
9967 | 9277 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
5164 | 9278 local variable to avoid variable shadowing. |
9279 * dSparse.cc (SparseMatrix::solve): ditto. | |
9967 | 9280 |
9281 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5164 | 9282 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
9967 | 9283 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
9284 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
9285 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5164 | 9286 sparse-sort.h: Remove additional licensing clause with authors |
9287 permission. | |
9967 | 9288 |
5164 | 9289 2004-12-30 John W. Eaton <jwe@octave.org> |
9290 | |
9291 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
9292 Loop counter is int, not size_t. | |
9293 | |
9294 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
9295 | |
9296 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
9297 | |
9298 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
9299 Delete unused variables. | |
9300 (SparseMatrix::solve): Avoid warnings about uninitialized | |
9301 variables and variables that might be clobbered by longjmp. | |
9302 | |
9303 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
9304 min, max): Delete unused variables. | |
9305 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
9306 variables and variables that might be clobbered by longjmp. | |
9307 | |
9308 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
9309 | |
9310 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
9311 Loop counter is int, not size_t. | |
9312 | |
9313 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
9314 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
9967 | 9315 |
5164 | 9316 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
9317 lists consistently. | |
9318 | |
9319 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
9320 | |
9321 2004-12-29 John W. Eaton <jwe@octave.org> | |
9322 | |
9323 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
9324 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
9325 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
9326 $(UMFPACK_EXTRAS) to the list. | |
9327 (DISTDIRS): New variable. | |
9328 (dist): Handle $(DISTDIRS). | |
9329 | |
9967 | 9330 Merge of sparse code from David Bateman <dbateman@free.fr> and |
5164 | 9331 Andy Adler <adler@site.uottawa.ca>. |
9332 | |
9333 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
9334 | |
9335 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
9336 without directory prefix. | |
9337 | |
9338 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
9339 $(UMFPACK_OBJ) to the list. | |
9340 | |
9341 * COLAMD: New directory. | |
9342 * COLAMD.files: New file. | |
9343 * Makefile.in: Include COLAMD.files. | |
9344 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
9345 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
9346 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
9347 | |
9348 * UMFPACK: New directory. | |
9349 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
9350 New files. | |
9351 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
9352 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
9353 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
9354 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
9355 | |
9356 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
9357 (INCLUDES): Add it to the list. | |
9358 (SPARSE_MX_OP_SRC): New variable. | |
9359 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
9360 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
9361 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
9362 | |
9363 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
9364 * Makefile.in (DISTFILES): Add them to the lists. | |
9365 | |
9366 * oct-spparms.h, sparse-sort.h: New files. | |
9367 * Makefile.in (INCLUDES): Add them to the list. | |
9368 | |
9369 * oct-spparms.cc, sparse-sort.cc: New files. | |
9370 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
9371 | |
9372 * sparse-base-lu.cc: New file. | |
9373 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9374 | |
9375 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
9376 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
9377 SparsedbleLU.cc: New files. | |
9378 * Makefile.in (MATRIX_SRC): Add them to the list. | |
9967 | 9379 |
5164 | 9380 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
9381 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
9382 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
9383 Sparse-op-defs.h: New files. | |
9384 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
9385 | |
9386 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
9387 Sparse-C.cc: New files. | |
9388 * Makefile.in (TI_SRC): Add them to the list. | |
9389 | |
5149 | 9390 2005-02-18 John W. Eaton <jwe@octave.org> |
9391 | |
9392 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
9393 Pass current directory to octave_env::make_absolute. | |
9394 Save value returned from octave_env::make_absolute in local var. | |
9395 Pass const char*, not std::string as first arg of resolvepath. | |
9396 Provide decl for resolved_len. | |
9397 | |
5148 | 9398 2005-02-18 John W. Eaton <jwe@octave.org> |
9399 | |
9400 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
9401 than number of dimenensions of permuted matrix. | |
9402 | |
9403 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
9404 * Array-util.cc (calc_permutated_idx): Likewise. | |
9405 | |
5139 | 9406 2005-02-10 David Bateman <dbateman@free.fr> |
9407 | |
9408 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
9409 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
9410 | |
5137 | 9411 2005-02-09 John W. Eaton <jwe@octave.org> |
9412 | |
5138 | 9413 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
9414 * file-ops.h: Provide decls. | |
9415 | |
5137 | 9416 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
9417 | |
5136 | 9418 2005-02-08 John W. Eaton <jwe@octave.org> |
9419 | |
9420 * Array-util.cc (freeze): Improve error message. | |
9421 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
9422 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 9423 |
5121 | 9424 * Array.cc (Array<T>::insert): Handle generic case, not just |
9425 special case for fast concatenation. | |
5120 | 9426 |
5110 | 9427 2005-01-18 John W. Eaton <jwe@octave.org> |
9428 | |
9429 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
9430 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
9431 | |
9432 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
9433 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
9434 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
9435 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 9436 |
9437 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
9438 Modify calculation of number elements to skip between copied blocks. | |
9439 | |
9440 2005-01-18 John W. Eaton <jwe@octave.org> | |
9441 | |
9442 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
9443 error handler, to warn about resizing. | |
9444 | |
5105 | 9445 2004-12-27 Martin Dalecki <martin@dalecki.de> |
9446 | |
9447 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
9448 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
9449 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
9450 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
9451 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
9452 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
9453 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
9454 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
9455 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
9456 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
9457 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
9458 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
9459 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
9460 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
9461 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
9462 Delete #pragma implementation. | |
9463 | |
9464 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
9465 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
9466 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
9467 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
9468 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
9469 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
9470 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
9471 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
9472 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
9473 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
9474 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
9475 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
9476 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
9477 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
9478 Delete #pragma interface. | |
9479 | |
5098 | 9480 2004-12-17 John W. Eaton <jwe@octave.org> |
9481 | |
9482 * lo-cieee.c (lo_ieee_signbit): New function. | |
9483 * lo-ieee.h: Provide decl. | |
9484 Don't define lo_ieee_signbit as a macro here. | |
9485 From Orion Poplawski <orion@cora.nwra.com>. | |
9486 | |
5085 | 9487 2004-11-18 John W. Eaton <jwe@octave.org> |
9488 | |
9489 * int32NDArray.cc (pow): Delete instantiation. | |
9490 * int16NDArray.cc (pow): Likewise. | |
9491 * int8NDArray.cc (pow): Likewise. | |
9492 * uint32NDArray.cc (pow): Likewise. | |
9493 * uint16NDArray.cc (pow): Likewise. | |
9494 * uint8NDArray.cc (pow): Likewise. | |
9495 | |
5081 | 9496 2004-11-17 John W. Eaton <jwe@octave.org> |
9497 | |
5085 | 9498 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
9499 Now static. | |
9500 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
9501 DEFAULT_TEXMFDBS): Delete unused macros. | |
9502 | |
5081 | 9503 * Array.cc (Array<T>::index): Call generic N-d indexing function |
9504 if idx_arg is N-d. | |
9505 | |
5073 | 9506 2004-11-09 David Bateman <dbateman@free.fr> |
9507 | |
9508 * dNDArray.cc (concat): Delete. | |
9509 (NDArray::concat): New methods. | |
9510 * dNDArray.h: Provide decls. | |
9511 | |
9512 * CNDArray.cc (concat): Delete. | |
9513 (ComplexNDArray::concat): New methods. | |
9514 * CNDArray.h: Provide decls. | |
9515 | |
9516 * boolNDArray.cc (concat): Delete. | |
9517 (boolNDArray::concat): New methods. | |
9518 * boolNDArray.h: Provide decls. | |
9519 | |
9520 * chNDArray.cc (concat): Delete. | |
9521 (charNDArray::concat): New methods. | |
9522 * chNDArray.h: Provide decls. | |
9523 | |
9524 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
9525 Delete macros. | |
9526 | |
9527 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
9528 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
9529 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
9530 | |
9531 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
9532 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
9533 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
9534 | |
9535 * intNDArray.cc (intNDArray<T>::concat): New method. | |
9536 * intNDArray.h: Provide decl. | |
9537 | |
5072 | 9538 2004-11-08 John W. Eaton <jwe@octave.org> |
9539 | |
9540 * oct-inttypes.cc: New file. | |
9541 * Makefile.in (TI_SRC): Add it to the list. | |
9542 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
9543 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
9544 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
9545 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
9546 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
9547 New macros for comparison operations. Avoid potential | |
9548 problems with default conversions when comparing signed and | |
9549 unsigned values. | |
9550 | |
5061 | 9551 2004-11-03 John W. Eaton <jwe@octave.org> |
9552 | |
9553 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
9554 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
9555 | |
5052 | 9556 2004-10-19 John W. Eaton <jwe@octave.org> |
9557 | |
9558 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
9559 | |
5047 | 9560 2004-10-18 John W. Eaton <jwe@octave.org> |
9561 | |
9562 * Array.cc (assign2): Save result of squeeze operation. | |
9563 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
9564 | |
5095 | 9565 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 9566 |
9567 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
9568 flag whether transform in- or out-of-place. | |
9569 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
9570 (octave_fftw_planner::create_plan): Use it. | |
9571 | |
5039 | 9572 2004-09-24 John W. Eaton <jwe@octave.org> |
9573 | |
9574 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
9575 any empty matrix, not just []. | |
9576 | |
5030 | 9577 2004-09-23 John W. Eaton <jwe@octave.org> |
9578 | |
9579 * mx-ops: Include scalar zero value in type definitions. | |
9580 Delete zero information from ops section. | |
9581 * mk-ops.awk: Use type-specific zero info. | |
9582 | |
9583 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
9584 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
9585 LHS and RHS. | |
9586 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
9587 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
9588 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
9589 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
9590 | |
9591 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
9592 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
9593 tree_to_mat_idx. | |
9594 | |
9595 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
9596 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
9597 Likewise for the "if (b_val & one)" test. | |
9598 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
9599 | |
5029 | 9600 2004-09-23 David Bateman <dbateman@free.fr> |
9601 | |
9602 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
9603 New macros. Use them to define mixed intX-double and double-intX ops. | |
9604 | |
5021 | 9605 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
9606 | |
9607 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
9608 Fix doc string layout to avoid overfull hbox in printed output. | |
9609 | |
5015 | 9610 2004-09-21 John W. Eaton <jwe@octave.org> |
9611 | |
9612 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
9613 * mach-info.cc (octave_mach_info::string_to_float_format): | |
9614 For "native", set actual native format. | |
9615 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
9616 | |
5008 | 9617 2004-09-17 David Bateman <dbateman@free.fr> |
9618 | |
9619 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
9620 calculation of the unitary matrix optional. | |
9621 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
9622 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
9623 | |
4998 | 9624 2004-09-15 David Bateman <dbateman@free.fr> |
9625 | |
9626 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
9627 New function to set the comparison function for the sort. | |
9628 | |
4985 | 9629 2004-09-10 John W. Eaton <jwe@octave.org> |
9630 | |
9631 * lo-mappers.cc (xround): Fix typo. | |
9632 | |
4979 | 9633 2004-09-08 John W. Eaton <jwe@octave.org> |
9634 | |
9635 * Array.h (Array::~Array): Declare virtual. | |
9636 | |
9637 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
9638 initializaion list. Don't set rep->count since the rep | |
9639 constructor does that. | |
9640 | |
4968 | 9641 2004-09-07 John W. Eaton <jwe@octave.org> |
9642 | |
4970 | 9643 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
9644 (oct_data_conv::data_type_as_string): Likewise. | |
9645 | |
9646 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
9647 | |
4968 | 9648 * Range.cc (round): Delete unused function. |
9649 | |
9650 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
9651 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
9652 | |
9653 * oct-inttypes.h: Include <cmath> here. | |
9654 | |
4964 | 9655 2004-09-03 David Bateman <dbateman@free.fr> |
9656 | |
9657 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
9658 New functions for boolean matrix concatenation. | |
9659 * boolNDArray.h: Provide decls. | |
9660 | |
4963 | 9661 2004-09-03 John W. Eaton <jwe@octave.org> |
9662 | |
4964 | 9663 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
9664 to avoid signed/unsigned int comparison problems. | |
9665 | |
9666 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
9667 for mixed integer and double types. | |
9668 | |
9669 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
9670 separately, and only if needed. | |
9671 | |
4963 | 9672 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
9673 static_cast for type conversion. | |
9674 | |
4953 | 9675 2004-09-01 John W. Eaton <jwe@octave.org> |
9676 | |
9677 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
9678 operator /): Handle mixed integer/double ops. If op generates a | |
9679 NaN, set result to 0. | |
9680 (octave_int::operator - (void)): Convert to double, then negate, | |
9681 then fit to range. | |
9682 | |
9683 * mx-ops: Define integer types. Include declarations for mixed | |
9684 integer/double ops. | |
9685 | |
4952 | 9686 2004-08-31 John W. Eaton <jwe@octave.org> |
9687 | |
9688 * oct-inttypes.h (pow): Args now const reference. | |
9689 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
9690 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
9691 New member functions. | |
9692 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
9693 (operator >> (const octave_int<T1>& x, const T2& y)): | |
9694 Define in terms of >>=. | |
9695 (operator << (const octave_int<T1>& x, const T2& y)): | |
9696 Define in terms of <<=. | |
9697 (bitshift): Operate on octave_int<T> objects, not the values, so | |
9698 we get proper saturation properties. | |
9699 | |
9700 2004-08-31 David Bateman <dbateman@free.fr> | |
9701 | |
9702 * oct-inttypes.h (pow (constT, T)): New template. | |
9703 | |
9967 | 9704 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
4952 | 9705 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
9706 | |
4949 | 9707 2004-08-31 John W. Eaton <jwe@octave.org> |
9708 | |
9709 * oct-inttypes.h (octave_int::byte_size): New function. | |
9710 | |
4944 | 9711 2004-08-31 John W. Eaton <jwe@octave.org> |
9712 | |
4946 | 9713 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
9714 | |
4944 | 9715 * data-conv.h (oct_data_conv::data_type): Include sized types. |
9716 Explicitly number enum elements. | |
9717 | |
9718 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
9719 std::string&, int&, oct_data_conv::data_type&, | |
9720 oct_data_conv::data_type&)): New function. | |
9721 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
9722 oct_data_conv::data_type&)): New function. | |
9723 (oct_data_conv::data_type_as_string): New function. | |
9724 | |
9725 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
9726 (write_int, do_write, Matrix::write): Delete. | |
9727 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
9728 | |
9729 * byte-swap.h: Use template functions and specialization. | |
9730 Change all uses. | |
9731 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
9732 | |
4943 | 9733 2004-08-30 John W. Eaton <jwe@octave.org> |
9734 | |
9735 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
9736 specializations to avoid warnings about signed/unsigned comparisons. | |
9737 | |
9738 2004-08-28 John W. Eaton <jwe@octave.org> | |
9739 | |
9740 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
9741 size_t, int, oct_mach_info::float_format)): New function. | |
9742 (GET_SIZED_INT_TYPE): New macro. | |
9743 (string_to_data_type): Use it to return sized types corresponding | |
9744 to Octave array data types. | |
9745 (strip_spaces): New function. | |
9746 (do_double_format_conversion, do_float_format_conversion): Pass | |
9747 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
9748 float format. | |
9749 (do_double_format_conversion, | |
9750 IEEE_big_double_to_IEEE_little_double, | |
9751 VAX_D_double_to_IEEE_little_double, | |
9752 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
9753 IEEE_little_double_to_IEEE_big_double, | |
9754 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
9755 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
9756 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
9757 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
9758 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
9759 Cray_to_VAX_G_double): | |
9760 Pass data as void*, not double*. | |
9761 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
9762 VAX_D_float_to_IEEE_little_float, | |
9763 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
9764 IEEE_little_float_to_IEEE_big_float, | |
9765 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
9766 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
9767 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
9768 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
9769 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
9770 Cray_to_VAX_G_float): | |
9771 Pass data as void*, not float*. | |
9772 | |
9773 2004-08-27 John W. Eaton <jwe@octave.org> | |
9774 | |
9775 * byte-swap.h (swap_bytes): New template versions, with | |
9776 specializations. | |
9777 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
9778 Change all uses. | |
9779 | |
4940 | 9780 2004-08-24 David Bateman <dbateman@free.fr> |
9781 | |
9782 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
9783 empty instead of checking final matrix. | |
9784 * dNDArray.cc (concat): Likewise. | |
9785 * CNDArray.cc (concat): Likewise. | |
9786 | |
9787 2004-08-23 David Bateman <dbateman@free.fr> | |
9788 | |
9967 | 9789 * dim-vector.h (dim_vector::concat): Correct incrementation for |
4940 | 9790 non-existent dimensions. |
9791 | |
4938 | 9792 2004-08-09 John W. Eaton <jwe@octave.org> |
9793 | |
9794 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
9967 | 9795 (const octave_int<U>&)): New member function. |
4938 | 9796 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
9797 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
9798 Now member functions instead of static in idx-vector.cc. | |
9799 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
9800 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
9801 New template constructors. | |
9802 | |
4932 | 9803 2004-08-05 John W. Eaton <jwe@octave.org> |
9804 | |
4933 | 9805 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
9806 | |
4932 | 9807 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
9808 intNDArray<T>::any): Sprinkle with this-> as needed. | |
9809 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
9810 | |
4929 | 9811 2004-08-03 John W. Eaton <jwe@octave.org> |
9812 | |
9813 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
9814 arrays with more than two dimensions and only one non-singleton | |
9815 dimension, return a column vector. | |
9816 | |
4921 | 9817 2004-07-28 John W. Eaton <jwe@octave.org> |
9818 | |
9819 * oct-cmplx.h (pow (const Complex&, const double&): | |
9820 Convert second arg to complex to avoid libstdc++ bug. | |
9821 | |
4920 | 9822 2004-07-27 John W. Eaton <jwe@octave.org> |
9823 | |
9824 * oct-inttypes.h (bitshift): New arg, MASK. | |
9825 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
9826 | |
4916 | 9827 2004-07-23 John W. Eaton <jwe@octave.org> |
9828 | |
9829 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
9830 | |
4915 | 9831 2004-07-23 David Bateman <dbateman@free.fr> |
9832 | |
9833 * Array.cc, Array.h (cat_ra): Delete. | |
9967 | 9834 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
4915 | 9835 (INSTANTIATE_ARRAY_CAT): Delete. |
9836 | |
9967 | 9837 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 9838 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
9967 | 9839 |
4915 | 9840 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
9841 | |
9967 | 9842 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
4915 | 9843 chNDArray.h (concat): New function used for concatenation that does |
9844 an indexed copy of one array into another. | |
9845 | |
9846 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
9847 | |
9848 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
9967 | 9849 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
4915 | 9850 insertion of one NDArray into another. |
9851 | |
9852 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
9853 macros to define the int/uint concatenation functions. | |
9854 | |
9855 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
9856 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
9857 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
9858 | |
9859 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
9860 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
9861 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
9862 functions. | |
9863 | |
4911 | 9864 2004-07-22 David Bateman <dbateman@free.fr> |
9865 | |
9866 * oct-sort.h: Don't include oct-obj.h. | |
9867 | |
9868 * lo-specfun.cc (is_integer_value): New function. | |
9869 (zbesj, zbesi, zbesy): Special case negative integer or half | |
9870 integer orders that cause overflow for small arguments. | |
9871 | |
4909 | 9872 2004-07-12 John W. Eaton <jwe@octave.org> |
9873 | |
9874 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
9875 (bitshift (const octave_int<T>&, int)): New function. | |
9876 | |
4902 | 9877 2004-06-14 John W. Eaton <jwe@octave.org> |
9878 | |
9879 * mx-base.h: Include headers for new int types. | |
9880 | |
9881 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
9882 NDArray::NDArray (const charNDArray&)): Delete. | |
9883 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
9884 constructor. | |
9885 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
9886 | |
9887 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
9888 return type conversion. | |
9889 | |
9890 * ComplexNDArray.h, ComplexNDArray.cc | |
9891 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
9892 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
9893 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
9894 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
9967 | 9895 |
4902 | 9896 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
9897 | |
9898 * MArrayN.h: | |
9899 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
9900 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
9901 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
9902 New constructors. | |
9903 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
9904 ArrayN<T>::squeeze): | |
9905 New forwarding functions for return type conversion. | |
9906 | |
9907 * ArrayN.h: | |
9908 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
9909 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
9910 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
9911 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
9912 const dim_vector&)): New constructors. | |
9913 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
9914 ArrayN<T>::transpose): | |
9915 New forwarding functions for return type conversion. | |
9916 | |
9917 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
9918 New constructor. | |
9919 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
9920 | |
9921 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
9922 | |
9923 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
9924 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
9925 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
9926 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
9927 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
9928 * Makefile.in: Add them to the appropriate lists. | |
9929 | |
4899 | 9930 2004-06-04 John W. Eaton <jwe@octave.org> |
9931 | |
9932 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
9933 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
9934 resize op. Change all uses. | |
9935 | |
4898 | 9936 2004-06-03 David Bateman <dbateman@free.fr> |
9937 | |
9938 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
9939 greater than the existing number of dimensions in lvalue. | |
9940 | |
4887 | 9941 2004-04-30 David Bateman <dbateman@free.fr> |
9942 | |
9967 | 9943 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
4887 | 9944 New arg, fill_value. |
9945 (dim_vector::resize): Allow optional fill_value argument. | |
9946 | |
9967 | 9947 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
4887 | 9948 Don't chop trailing dimensions of Array<idx_vector> if there is |
9949 more than one element in idx_vector. Resize the return value to | |
9950 the size of Array<idx_vector>. | |
9951 | |
9952 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
9953 idx_vector that is shorter than a dim_vector. | |
9954 | |
4882 | 9955 2004-04-23 John W. Eaton <jwe@octave.org> |
9956 | |
9957 * oct-sort.cc: Don't include oct-obj.h. | |
9958 | |
4876 | 9959 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9960 | |
9961 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
9962 Don't set invalid dimensions on return value. | |
9963 | |
4871 | 9964 2004-04-21 John W. Eaton <jwe@octave.org> |
9965 | |
9966 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
9967 | |
4850 | 9968 2004-04-06 David Bateman <dbateman@free.fr> |
9969 | |
4870 | 9970 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
9971 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
9972 Make their behavior equivalent except for filling vs. not filling. | |
9973 | |
4850 | 9974 * oct-sort.cc: New template class for arbitrary sorting. |
9975 * oct-sort.h: Declaration of sort class. | |
9976 * Makefile: Add them to the appropriate lists. | |
9977 | |
4845 | 9978 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9979 | |
9980 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
9981 | |
4844 | 9982 2004-04-02 David Bateman <dbateman@free.fr> |
9983 | |
9967 | 9984 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
4844 | 9985 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852 | 9986 New N-d array versions. |
4844 | 9987 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
9967 | 9988 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
4844 | 9989 besselh2, airy, biry, betainc, gammainc): Provide decls. |
9967 | 9990 |
4844 | 9991 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
9992 New functions. | |
9993 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
9994 | |
9995 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
9996 New functions. | |
9967 | 9997 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
4844 | 9998 Provide decls. |
9999 | |
4842 | 10000 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
10001 | |
10002 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
10003 work vector, not just when using a numerical Jacobian. | |
10004 | |
4834 | 10005 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10006 | |
4835 | 10007 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
10008 Omit empty result args. | |
10009 | |
4834 | 10010 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
10011 Move here from Array.h, check that size of array arg is not | |
10012 smaller than the size defined by the new dimensions. | |
10013 | |
4832 | 10014 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10015 | |
10016 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
10017 a scalar or vector with an N-d array. | |
10018 | |
4826 | 10019 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10020 | |
4828 | 10021 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
10022 matrix, return object that is the same size as the index. | |
10023 | |
4826 | 10024 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
10025 Eliminate MT_RESULT args. Return value is always size of args. | |
10026 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
10027 Eliminate EMPTY_RESULT arg. | |
10028 Return value is always size of matrix or N-d array arg. | |
10029 (TBM, FBM, NBM): Delete unused macros. | |
10030 | |
4821 | 10031 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10032 | |
10033 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
10034 if all LHS dimensions are zero. For one index case, freeze and | |
10035 sort idx_vec before checking length, and do nothing if | |
10036 num_to_delete is zero. | |
4822 | 10037 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 10038 |
4816 | 10039 2004-03-04 David Bateman <dbateman@free.fr> |
10040 | |
10041 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
10042 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
10043 | |
4811 | 10044 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
10045 | |
10046 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
10047 element. | |
10048 | |
10049 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10050 | |
10051 * Range.h (Range::Range): Add cache to member initialization list. | |
10052 (Range::clear_cache): New private function. | |
10053 | |
10054 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
10055 Use clear cache. Don't do anything if range does not change. | |
10056 * Range.cc (Range::sort): Likewise. | |
10057 | |
4810 | 10058 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
10059 | |
10060 * Range.cc (Range::matrix_value): Cache result. | |
10061 (Range::sort): Clear cache. | |
10062 * Range.h (Range::cache): New data member. | |
10063 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
10064 (Range::print_range): Delete. | |
4808 | 10065 |
10066 2004-03-02 David Bateman <dbateman@free.fr> | |
9967 | 10067 |
4808 | 10068 * oct-fftw.cc: Only two versions of plan, and avoid endless |
10069 changes between them. Faster for small fft's. | |
10070 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
9967 | 10071 New member variables. |
4808 | 10072 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
10073 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
10074 Change all uses. | |
10075 (CHECK_SIMD_ALIGNMENT): New macro. | |
10076 (octave_fftw_planner::create_plan): Use it. | |
10077 | |
4806 | 10078 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
10079 | |
10080 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
10081 | |
9967 | 10082 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
10083 | |
10084 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
10085 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
10086 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
10087 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
10088 | |
10089 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
10090 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4806 | 10091 |
4800 | 10092 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10093 | |
4802 | 10094 * oct-rl-edit.c (octave_rl_set_startup_hook, |
10095 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
10096 octave_rl_get_event_hook): Omit casts. | |
10097 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
10098 Return value for function pointer typedef is now int. | |
10099 * cmd-edit.h (command_editor::startup_hook_fcn, | |
10100 command_editor::event_hook_fcn): Likewise. | |
10101 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
10102 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
10103 Return type is now int. Return 0. | |
10104 | |
4800 | 10105 * EIG.cc (EIG::init, EIG::symmetric_init): |
10106 Query Lapack for workspace size. | |
10107 | |
4796 | 10108 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10109 | |
9967 | 10110 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
4796 | 10111 Fix thinko in extending dimensions. |
10112 | |
4791 | 10113 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10114 | |
10115 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
10116 Don't compute values beyond the limits of the range. | |
10117 (operator << (std::ostream&, const Range&)): Likewise. | |
10118 | |
4786 | 10119 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10120 | |
4788 | 10121 * oct-fftw.cc (octave_fftw_planner::create_plan): |
10122 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
10123 From Paul Kienzle <pkienzle@users.sf.net>. | |
10124 | |
4786 | 10125 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
10126 Rename from Array<T>::insert. | |
10127 (Array<T>::insert2 (const Array<T>&, int, int)): | |
10128 Reinstate old Array<T>::insert function under this name. | |
10129 (Array<T>::insert (const Array<T>&, int, int)): | |
10130 New function. Dispatch to insert2 or insertN as appropriate. | |
10131 | |
4785 | 10132 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10133 | |
9967 | 10134 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
4785 | 10135 Sprinkle with OCTAVE_QUIT. |
10136 | |
5095 | 10137 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 10138 |
10139 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
10140 Add support for FFTW 3.x. Include the ability to | |
10141 use the real to complex transform for fft's of real matrices | |
10142 (octave_fftw_planner::create_plan2d): Delete. | |
10143 (octave_fftw::fft2d): Delete. | |
10144 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
10145 New static functions. | |
10146 * oct-fftw.h: Update decls. | |
10147 | |
10148 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
10149 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
10150 transforms. 1D FFT of a matrix done as single call rather than | |
10151 loop. Update for FFTW 3.x | |
10152 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
10153 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
10154 matrix done as single call rather than loop. Update for FFTW 3.x. | |
10155 | |
10156 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
10157 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
10158 functions for Nd arrays. | |
10159 * dNArray.h Provide decls. | |
10160 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
10161 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
10162 fourier transform functions for complex Nd arrays. | |
10163 * CNArray.h: Provide decls. | |
9967 | 10164 |
4765 | 10165 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
10166 | |
10167 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
10168 Make it work for N-d arrays. | |
10169 | |
10170 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
10171 New function. | |
10172 | |
10173 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
10174 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
10175 New functions. | |
10176 * CNDArray.h: Provide decls. | |
10177 | |
4759 | 10178 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10179 | |
4760 | 10180 * Makefile.in (LINK_DEPS): Always define. |
10181 | |
4759 | 10182 * Array.cc (Array<T>::squeeze): Always return an array with at |
10183 least two dimensions. | |
10184 | |
4758 | 10185 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
10186 | |
10187 * mx-inlines.cc (MX_ND_CAT): New macro. | |
10188 * dNDArray.cc (NDArray::cat): New function. | |
10189 * dNDArray.h: Provide decls. | |
10190 * CNDArray.cc (complexNDArray::cat): New function. | |
10191 * CNDArray.h: Provide decls. | |
10192 * chNDArray.cc (charNDArray::cat): New function. | |
10193 * chNDArray.h: Provide decls. | |
10194 | |
4756 | 10195 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
10196 | |
10197 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
10198 (Array<T>assign2): Also call maybe_delete_elements for single | |
10199 index when rows and columns or LHS are both greater than 1. | |
10200 | |
4755 | 10201 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
10202 | |
10203 * Array.cc (Array<T>::maybe_delete_elements): | |
10204 Check for index out of bounds. Handle one index. | |
10205 | |
10206 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
10207 dim_vector (0) to create empty return vector. | |
10208 | |
4749 | 10209 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
10210 | |
10211 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
10212 non-empty LHS when the number of lhs dimensions is less than the | |
10213 number of indices. Detect error if attempting to resize non-empty | |
10214 LHS with colon indices. | |
10215 | |
4745 | 10216 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
10217 | |
4747 | 10218 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
10219 values unless the length of the new array is greater than 0. | |
10220 (Array<T>::resize_no_fill): Likewise. | |
10221 | |
10222 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
10223 is equal to dimensions(i). | |
10224 | |
10225 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
10226 get_zero_len_size, number_of_elements): | |
10227 Delete unused functions. | |
10228 | |
10229 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
10230 number_of_elements function. | |
10231 * Array.cc (Array<T>::indexN): Likewise. | |
10232 | |
10233 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
10234 of equal_arrays function. | |
10235 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
10236 dim_vector::any_zero instead of any_zero_len function. | |
10237 | |
10238 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
10239 Don't skip reshaping and resizing if RHS is empty. | |
10240 | |
4746 | 10241 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
9967 | 10242 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747 | 10243 Delete unused variables is_colon and is_colon_equiv. |
4746 | 10244 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
10245 LHS is not yet defined. | |
4745 | 10246 Error for resizing if number of indices is less than number of LHS |
10247 dimensions. | |
10248 | |
4746 | 10249 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
10250 Fortran-style indexing. | |
10251 | |
4743 | 10252 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10253 | |
10254 * Array.cc (Array<T>::assignN): Simplify. | |
10255 Allow assignments to succeed if number if indices is less than the | |
10256 number of RHS dimensions. | |
10257 | |
4738 | 10258 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
10259 | |
4741 | 10260 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
10261 when number of indices is less than number of dimensions. | |
10262 | |
10263 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
10264 Remove unsued variable lhs_inc. | |
10265 | |
4740 | 10266 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
10267 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
10268 | |
10269 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
10270 | |
4738 | 10271 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
10272 == n_dims before checking to see if all indices are colon_equiv. | |
10273 | |
4736 | 10274 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
10275 | |
10276 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
10277 deleting elements. | |
4737 | 10278 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
10279 at least ndims elements. | |
4736 | 10280 |
4735 | 10281 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
10282 | |
10283 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
10284 oriented differently from the index. | |
10285 | |
10286 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
10287 least two dimensions. | |
10288 | |
4733 | 10289 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10290 | |
4735 | 10291 * dim-vector.h (dim_vector::squeeze): New function. |
10292 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
10293 deciding whether the assignment conforms. | |
10294 | |
4733 | 10295 * Array.cc (Array<T>::assignN): Simplify dimension check by |
10296 comparing rhs_dims and frozen_len sans trailing singletons. | |
10297 | |
4732 | 10298 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10299 | |
10300 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
10301 Call error handler and return conversion_error == true if arg is | |
10302 not integer. | |
10303 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
10304 | |
4730 | 10305 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10306 | |
10307 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
10308 reference arg const. | |
10309 | |
10310 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10311 | |
10312 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
10313 | |
4729 | 10314 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
10315 | |
10316 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
10317 Now bool, to match definition in Array-flags.cc. | |
10318 | |
4725 | 10319 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10320 | |
4726 | 10321 * file-ops.cc: Include <vector> instead of <memory> for new |
10322 definition of OCTAVE_LOCAL_BUFFER. | |
10323 | |
4725 | 10324 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
10325 New arg, calc_eigenvectors. | |
10326 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
10327 Based on patch from David Bateman <dbateman@free.fr>. | |
10328 | |
4716 | 10329 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10330 | |
10331 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
10332 For X(I) = RHS, don't restrict I to fewer elements than X. | |
10333 | |
10334 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
10335 | |
4711 | 10336 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
10337 | |
4714 | 10338 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
10339 Simplify calculation of number of elements in retval. | |
10340 | |
4711 | 10341 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
10342 filling when RHS is scalar and dimension lengths agree. | |
10343 | |
4710 | 10344 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
10345 | |
4713 | 10346 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
10347 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 10348 |
4707 | 10349 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
10350 | |
4709 | 10351 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
10352 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 10353 |
4702 | 10354 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
10355 | |
4703 | 10356 * Array.h (Array<T>::chop_trailing_singletons): New function. |
10357 * Array.cc (Array<T>::assignN): Use it on LHS. | |
10358 | |
10359 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 10360 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 10361 Check for singleton dimensions where RHS is matrix or higher dimension. |
10362 Make sure index is in bounds. | |
4702 | 10363 |
4698 | 10364 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
10365 | |
10366 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
10367 octave_NaN, and octav_NA values are always initialized. Check | |
10368 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
10369 to decide whether to do IEEE initialization. | |
10370 | |
4687 | 10371 2004-01-06 David Bateman <dbateman@free.fr> |
10372 | |
9967 | 10373 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
4687 | 10374 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
10375 ComplexNDArray::too_large_for_float): New functions | |
9967 | 10376 |
4687 | 10377 * CNDArray.cc (operator <<, operator >>): New IO operators. |
10378 * CNDArray.h: Provide decls. | |
10379 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
10380 * dNDArray.h: Provide decls. | |
10381 | |
4673 | 10382 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10383 | |
4674 | 10384 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
10385 they are already defined in boolNDArray.cc. | |
10386 | |
4673 | 10387 * Array-util.cc (get_zero_len_size): Delete. |
10388 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
10389 Handle zero-length result dimensions the same as empty original | |
10390 indices. | |
10391 | |
10392 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10393 | |
10394 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
10395 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
10396 New functions. | |
10397 * Array.cc (ArrayN<T>::indexN): Use it. | |
10398 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
10399 | |
4669 | 10400 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
10401 | |
10402 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
10403 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
10404 | |
10405 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10406 | |
10407 * mk-ops.awk: Also emit #include "Array-util.h". | |
10408 | |
10409 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
10410 Add bnda x bnda, b x bnda, and bnda x b ops. | |
10411 | |
10412 * MArray-misc.cc: Delete. | |
10413 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
10414 | |
10415 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
10416 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
10417 | |
4655 | 10418 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
10419 | |
4663 | 10420 * dbleQR.cc (QR::init): Use separate pwork pointers. |
10421 * CmplxQR.cc (ComplexQR::init): Likewise. | |
10422 | |
10423 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
10424 two-arg getgrnam version. | |
10425 | |
4657 | 10426 * Array.cc (assignN): Allow single indexing to work. |
4661 | 10427 (Array<T>::range_error (const char*, const Array<int>&)): |
10428 Report index values. | |
10429 | |
10430 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 10431 * ODESSA.cc (odessa_j): Likewise. |
10432 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
10433 * DASPK.cc (ddaspk_psol): Likewise. | |
10434 * lo-mappers.cc (imag): Likewise. | |
4663 | 10435 * Array-util.cc (get_zero_len_size): Likewise. |
10436 * kpse.cc (path_search, path_find_first_of): Likewise. | |
10437 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 10438 |
4655 | 10439 * dim-vector.h (dim_vector::all_ones): New function. |
10440 | |
4646 | 10441 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10442 | |
4653 | 10443 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
10444 zeros, not orig_rows or orig_columns. | |
10445 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
10446 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
10447 | |
10448 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
10449 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
10450 | |
10451 * idx-vector.cc (idx_vector::idx_vector_rep): | |
10452 Use initialization lists for constructors. | |
10453 | |
4651 | 10454 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
10455 Omit special case for ra_idx.capacity () == 1. | |
10456 Always allow single index for matrix args with optional warning. | |
10457 | |
4650 | 10458 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
10459 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
10460 | |
4648 | 10461 * Array-so.cc: New file. Move instantiations here from so-array.h. |
10462 * Makefile.in (TI_SRC): Add it to the list. | |
10463 | |
4646 | 10464 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
10465 type and the names of the left and right operands. Change all uses. | |
10466 | |
10467 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
10468 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
10469 | |
4645 | 10470 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10471 | |
10472 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
10473 just length. | |
10474 | |
10475 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
10476 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
10477 non-dependent member functions and data as needed. | |
10478 | |
10479 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
10480 | |
10481 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
10482 * Array3.h (Array3<T>::operator =): Likewise. | |
10483 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
10484 Include Array.h, not Array2.h. | |
10485 | |
4634 | 10486 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
10487 | |
4636 | 10488 * str-vec.cc (list_in_columns): Fix previous change. |
10489 | |
4635 | 10490 * dim-vector.h (dim_vector::num_ones): New function. |
10491 * Array.cc (maybe_delete_elements): Use it instead of | |
10492 num_ones (const Array<int>&). | |
10493 | |
10494 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
10495 | |
4634 | 10496 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
10497 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
10498 New functions. | |
10499 * dNDArray.h: Provide decls. | |
10500 | |
10501 * dMatrix.h (Matrix::any_element_is_negative, | |
10502 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
10503 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
10504 Simplify. | |
10505 | |
10506 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
10507 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
10508 | |
10509 * dNDArray.cc (real, imag): New functions. | |
10510 * dNDArray.h: Provide decls. | |
10511 | |
4630 | 10512 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
10513 | |
10514 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
10515 | |
4625 | 10516 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10517 | |
10518 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
10519 * MArray.h (resize): Delete. | |
10520 * MArray2.h (resize): Delete. | |
10521 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
10522 * ODESSA (ODESSA::integrate): Likewise. | |
10523 | |
4616 | 10524 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
10525 | |
10526 * Makefile.in (dist): Depend on stamp-prereq. | |
10527 | |
4605 | 10528 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
10529 | |
10530 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
10531 Kluge to make it work. | |
4604 | 10532 |
10533 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
10534 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
10535 | |
10536 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
10537 default_command_editor::do_generate_filename_completions, | |
10538 command_editor::generate_filename_completions): New functions. | |
10539 * cmd-edit.h: Provide decls. | |
10540 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
10541 function. | |
10542 * oct-rl-edit.h: Provide decl. | |
10543 | |
4593 | 10544 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
10545 | |
4594 | 10546 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
10547 INSTANTIATE_ARRAY): New macros. | |
10548 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
10549 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
10550 | |
4593 | 10551 * Array.h (Array<T>::ipermute): New function. |
10552 | |
10553 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
10554 | |
10555 * Array.cc (Array<T>::permute): New function. | |
10556 * Array.h: Provide decl. | |
10557 | |
10558 * Array-util.cc (calc_permutated_idx): New function. | |
10559 * Array-util.h: Provide decl. | |
10560 | |
4587 | 10561 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
10562 | |
4592 | 10563 * Array.cc (Array<T>::index2): Return value has orientation of |
10564 indexed value if indexing a vector with a bool matrix. | |
10565 | |
4589 | 10566 * ArrayN.h (ArrayN<T>::get_size): Delete. |
10567 | |
4588 | 10568 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
10569 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
10570 | |
10571 * ArrayN-inline.h: Delete. | |
10572 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
10573 * Makefile.in: Fix the appropriate lists. | |
10574 | |
4587 | 10575 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
10576 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
10577 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
10578 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
10579 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
10580 Avoid -Wshadow warnings. | |
10581 | |
10582 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 10583 |
10584 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
10585 | |
10586 * mk-ops.awk: Delete elements of bool_headers array individually. | |
10587 | |
10588 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10589 | |
10590 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
10591 | |
4584 | 10592 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
10593 | |
10594 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
10595 | |
10596 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
10597 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
10598 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
10599 Return NDArray. Handle N-d arrays. | |
10600 | |
4575 | 10601 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
10602 | |
4583 | 10603 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
10604 that upcase Fortran names by calling dlsode instead of lsode. | |
10605 | |
10606 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
10607 that upcase Fortran names by calling dodessa instead of odessa. | |
10608 | |
4577 | 10609 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
10610 non-const args for symlink system call. | |
10611 (file_ops::readlink): Likewise, for readlink. | |
10612 | |
4575 | 10613 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
10614 | |
4574 | 10615 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10616 | |
10617 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
10618 Change all uses. | |
10619 | |
4569 | 10620 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
10621 | |
10622 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
10623 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
10624 * dNDArray.h: Provide decls. | |
10625 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
10626 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
10627 ComplexNDArray::abs): New functions. | |
10628 * CNDArray.h: Provide decls. | |
10629 | |
10630 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
10631 Generalize to handle other reduction operations. | |
10632 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
10633 MX_ND_ALL_ANY_REDUCTION): New macros. | |
10634 | |
4565 | 10635 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10636 | |
4567 | 10637 * Array.cc (Array<T>::reshape): New function. |
10638 * Array.h: Provide decl. | |
10639 | |
10640 * dim-vector.h (dim_vector::numel): New function. | |
10641 | |
4565 | 10642 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
10643 dim_vector&)): Correctly handle case of n < dv->ndims. | |
10644 | |
4559 | 10645 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10646 | |
10647 * dim-vector.h (dim_vector::any_zero): New function. | |
10648 (dim_vector::str): New default arg, sep. | |
10649 | |
10650 * Array.h (Array<T>::numel): New function. | |
10651 | |
4556 | 10652 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
10653 | |
10654 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
10655 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
10656 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
10657 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
10658 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
10659 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
10660 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
10661 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
10662 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
10663 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
10664 | |
4552 | 10665 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
10666 | |
4553 | 10667 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
10668 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
10669 | |
4552 | 10670 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
10671 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
10672 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
10673 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
10674 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
10675 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
10676 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
10677 Use new F77 arg macros in declarations of external Fortran | |
10678 subroutines and for calling them. | |
10679 | |
4548 | 10680 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10681 | |
10682 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
10683 Allow number of dimensions to change. | |
10684 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
10685 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
10686 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
10687 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
10688 (Array<T>::transpose): Require ndims to be 2. | |
10689 (Array<T>::index2): Likewise. | |
10690 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
10691 (Array<T>::maybe_delete_elements_2): Likewise. | |
10692 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
10693 (Array<T>::index1): Use resize_and_fill. | |
10694 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
10695 | |
10696 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
10697 | |
10698 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
10699 (MArray2<T>::resize (int, int, const T&)): New function. | |
10700 | |
10701 * MArray.h (MArray<T>::resize (int)): New function. | |
10702 (MArray<T>::resize (int, const T&)): New function. | |
10703 | |
10704 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
10705 | |
10706 * DASPK-opts.in: Use single-arg resize for initial condition | |
10707 heuristics. | |
10708 | |
10709 * dim-vector.h (class dim_vector): Now reference counted. | |
10710 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
10711 | |
4544 | 10712 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
10713 | |
4545 | 10714 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
10715 | |
4544 | 10716 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
10717 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
10718 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
10719 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
10720 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
10721 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
10722 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
10723 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
10724 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
10725 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
10726 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
10727 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
10728 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
10729 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
10730 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
10731 files are now automatically generated. | |
10732 | |
10733 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
10734 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
10735 Add rules to generate these files and mx-ops.h. | |
10736 (stamp-prereq): Depend on these files. | |
10737 | |
10738 * mx-ops, vx-ops, mk-ops.awk: New files. | |
10739 * Makefile.in (DISTFILES): Add them to the list. | |
10740 | |
4543 | 10741 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
10742 | |
10743 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
10744 NDArray::NDArray (const charNDArray)): New constructors. | |
10745 (NDArray::operator !): New function. | |
10746 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
10747 NDND_CMP_OPS, NDND_BOOL_OPS. | |
10748 | |
10749 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
10750 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
10751 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
10752 New constructors. | |
10753 (ComplexNDArray::operator !): New function. | |
10754 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
10755 NDND_CMP_OPS, NDND_BOOL_OPS. | |
10756 | |
10757 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
10758 | |
10759 * boolNDArray.cc (boolNDArray::operator !): New function. | |
10760 Provide NDND_CMP_OPS. | |
10761 | |
10762 * MArrayN.cc (operator +=, operator -=): New functions. | |
10763 Provide product and quotient functions. | |
10764 | |
10765 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
10766 dim_vector&)): New function. | |
10767 | |
10768 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
10769 operator ==, operator !=): New functions. | |
10770 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
10771 | |
10772 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
10773 No need to save old dimensions. | |
10774 | |
10775 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
10776 (octave_rand::nd_array): New function. | |
10777 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
10778 | |
10779 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
10780 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
10781 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
10782 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
10783 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
10784 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
10785 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
10786 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
10787 NDND_OP_DECLS): New macros. | |
10788 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
10789 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
10790 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
10791 | |
10792 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
10793 boolNDArray, class charNDArray): New forward decls. | |
10794 | |
4534 | 10795 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
10796 | |
10797 * Array.cc (assign2): No error (but don't do anything either) for | |
10798 expressions like x([],j) = scalar. | |
10799 | |
4532 | 10800 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10801 | |
4533 | 10802 * Array.cc (assignN): Allow lhs(:) = scalar. |
10803 | |
4532 | 10804 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
10805 * dNDArray.cc (NDArray::increment_index): Likewise. | |
10806 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
10807 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
10808 | |
10809 * dim-vector.h (rows, cols): Delete unused data members. | |
10810 | |
10811 * Array.cc (Array<T>::get_size): Fix thinko. | |
10812 | |
10813 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10814 | |
10815 * Array.cc (Array<T>::squeeze): New function. | |
10816 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
10817 * dNDArray.h (NDArray::squeeze): Likewise. | |
10818 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
10819 * chNDArray.h (charNDArray::squeeze): Likewise. | |
10820 | |
4530 | 10821 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
10822 | |
10823 * Array.cc (ArrayN<T>::indexN): New definition. | |
10824 * Array.h (Array<T>::indexN): Provide decl. | |
10825 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
10826 Call indexN if more than 2 indices. | |
10827 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
10828 Make it (mostly) work. | |
10829 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
10830 New functions. | |
10831 | |
4527 | 10832 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
10833 | |
10834 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
10835 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
10836 versions with eof arg. | |
10837 | |
4518 | 10838 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
10839 | |
10840 * Array.h (dimensions): Now public. | |
10841 template <class LT, class RT> | |
10842 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
10843 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
10844 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
10845 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
10846 resize_no_fill (int), | |
10847 resize_no_fill (int, int), | |
10848 resize_no_fill (int, int, int), | |
10849 resize_no_fill (const dim_vector&), | |
10850 resize_and_fill (int, const T&), | |
10851 resize_and_fill (int, int, const T&), | |
10852 resize_and_fill (int, int, int, const T&), | |
10853 resize_and_fill (const dim_vector&, const T&)): Now public. | |
10854 | |
10855 * Array.cc: Include <climits>. | |
10856 | |
4513 | 10857 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
10858 | |
4517 | 10859 * Array.cc: Merge Array-idx.h. |
10860 * Array-idx.h: Delete. | |
10861 | |
4514 | 10862 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
10863 | |
4513 | 10864 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
10865 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
10866 just special cases of the general purpose N-d Array object). | |
10867 | |
10868 * dim-vector.h: New file. Use dim_vector objects instead of | |
10869 ints or Array<int> objects to represent the size of Array | |
10870 objects. | |
10871 | |
10872 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
10873 | |
10874 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
10875 | |
10876 * mx-base.h: Include NDArray header files. | |
10877 | |
10878 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
10879 | |
10880 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
10881 Array-s.cc: Also instantiate ArrayN objects. | |
10882 Don't instantiate assign funcitons for Array2 objects. | |
10883 | |
10884 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
10885 liboctave_error_handler, not cerr. | |
10886 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
10887 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
10888 * dMatrix.cc (Matrix::diag): Likewise. | |
10889 | |
10890 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
10891 Omit checks for HEAVYWEIGHT_INDEXING. | |
10892 | |
10893 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10894 | |
10895 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
10896 | |
10897 * CNDARray.h, CNDArray.cc: New files. | |
10898 * Makefile.in: Add them to the appropriate lists. | |
10899 | |
10900 * dNDArray.h: Rename from NDArray.h. | |
10901 * dNDArray.cc: Rename from NDArray.cc. | |
10902 * Makefile.in: Rename them here too. | |
10903 | |
4507 | 10904 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
10905 | |
10906 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
10907 | |
10908 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
10909 * Makefile.in: Add them to the appropriate lists. | |
10910 | |
5095 | 10911 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 10912 |
10913 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
10914 biry): Always request scaled results from AMOS functions and | |
10915 perform reverse scaling on results if scaled result not requested | |
10916 by user. | |
10917 | |
10918 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 10919 |
4506 | 10920 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
10921 | |
4505 | 10922 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
10923 | |
10924 * Array-d.cc: Instantiate assign functions. | |
10925 | |
4504 | 10926 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
10927 | |
10928 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
10929 (get_elt_idx): Index ra_idx correctly. | |
10930 | |
10931 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
10932 bounds if it is exactly on the bound. | |
10933 | |
10934 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
10935 * ArrayN.h: Provide decl. | |
10936 | |
10937 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
10938 | |
10939 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
10940 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
10941 (idx_vector::orig_dimensions): New function. | |
10942 | |
4497 | 10943 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
10944 | |
10945 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
10946 | |
4496 | 10947 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
10948 | |
10949 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
10950 (is_in, how_many_lgt, all_ones): New functions. | |
10951 | |
4493 | 10952 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
10953 | |
10954 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
10955 | |
10956 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
9967 | 10957 |
4493 | 10958 * ArrayN-inline.h: New file. |
10959 (index_in_bounds, increment_index): Move here. | |
10960 * ArrayN.cc: From here. | |
10961 | |
10962 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
10963 * ArrayN-idx.h (assign): New function. | |
10964 | |
4490 | 10965 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
10966 | |
10967 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
10968 Also zero imaginary part of result if real part of input value is | |
10969 zero. | |
10970 | |
4478 | 10971 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
10972 | |
10973 * mx-base.h: Include ArrayN.h. | |
10974 | |
4476 | 10975 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
10976 | |
9967 | 10977 * ArrayN.cc (operator <<): Corrected output. |
4476 | 10978 |
4474 | 10979 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
10980 | |
10981 * ArrayN.cc (increment_index): New arg, start_dimension. | |
10982 | |
5095 | 10983 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 10984 |
10985 * ArrayN.cc (operator <<): Improve output readability. | |
10986 | |
4493 | 10987 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 10988 |
10989 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
10990 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
10991 Initialize old_len before changing size. | |
10992 | |
4472 | 10993 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
10994 | |
10995 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 10996 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 10997 |
4469 | 10998 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
10999 | |
11000 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
11001 way. Handle NA in an R-compatible way. | |
11002 | |
11003 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
11004 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
11005 | |
11006 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
11007 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
11008 | |
11009 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
11010 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
11011 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
11012 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
11013 | |
4461 | 11014 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11015 | |
11016 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
11017 Pass true for resize_ok arg to freeze. | |
9967 | 11018 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
4461 | 11019 Likewise. |
11020 | |
11021 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
11022 resize_ok arg is now bool. | |
11023 * idx-vector.h (idx_vector::freeze): Likewise. | |
11024 | |
11025 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
11026 Rename from liboctave_rre_flag. Now bool. | |
11027 (liboctave_wfi_flag): Now bool. | |
11028 | |
11029 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
11030 | |
5095 | 11031 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 11032 |
11033 * Array.h (resize_fill_value): Now a top-level template function. | |
11034 Accept object as argument. Change all uses. | |
11035 | |
4455 | 11036 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
11037 | |
11038 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
11039 | |
11040 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
11041 liboctave_dfi_flag. | |
11042 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
11043 X undefined or empty, always create a row vector. | |
11044 | |
11045 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
11046 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
11047 | |
4437 | 11048 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
11049 | |
11050 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
11051 Magic colon indexing always produces an object with one column. | |
11052 | |
5095 | 11053 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 11054 |
11055 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
11056 | |
11057 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
11058 | |
4431 | 11059 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11060 | |
11061 * dMatrix.cc (any_element_is_negative): If new optional arg | |
11062 neg_zero is true, also return true for negative zero. | |
11063 | |
4429 | 11064 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11065 | |
11066 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
11067 Handle step limit. | |
11068 * DASSL-opts.in: New option for step limit. | |
11069 | |
5095 | 11070 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 11071 |
11072 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
11073 | |
4428 | 11074 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11075 | |
11076 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
11077 Store step limit in iwork(20), not iwork(18). | |
11078 | |
5095 | 11079 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 11080 |
11081 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
11082 | |
4412 | 11083 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11084 | |
4413 | 11085 * Makefile.in: Handle DESTDIR. |
11086 | |
4412 | 11087 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
11088 (kpse_path_iterator::set_end): Don't miss last element when not | |
11089 followed by a colon. | |
11090 | |
4409 | 11091 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11092 | |
11093 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
11094 | |
11095 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11096 | |
11097 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
11098 (find_first_of): Also do an absolute search on each | |
11099 name before looking in the path. | |
11100 | |
4407 | 11101 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
11102 | |
11103 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
11104 directory separator. | |
11105 | |
4399 | 11106 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11107 | |
11108 * pathsearch.cc: Include kpse.cc here. | |
11109 | |
11110 * kpse.cc: All functions are now static. Massive surgery to | |
11111 condense kpathsearch library to a single file of just the | |
11112 essentials for Octave and convert to using C++ strings (no more | |
11113 calls to malloc, very few calls to new, so there should be much | |
11114 less potential for introducing memory leaks now). | |
11115 | |
11116 * Makefile.in (EXTRAS): Move kpse.cc here from | |
11117 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
11118 | |
11119 * kpse.h, kpse-config.h: Delete. | |
11120 * Makefile.in (INCLUDES): Delete them from the list. | |
11121 | |
4392 | 11122 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
11123 | |
11124 * str-vec.cc (string_vector::append (const std::string&), | |
11125 string_vector::append (const string_vector&)): New methods. | |
11126 | |
4386 | 11127 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
11128 | |
4389 | 11129 * kpse.cc, kpse.h: Replace fn_type with std::string. |
11130 | |
4387 | 11131 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
11132 | |
4386 | 11133 * kpse.cc (xclosedir): Don't define or declare for Windows. |
11134 (READABLE): Now a static function to avoid warnings from MinGW | |
9967 | 11135 compiler. |
4386 | 11136 |
4384 | 11137 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11138 | |
4385 | 11139 * kpse.cc: Move most functions from kpse-xfns.c here and make |
11140 static. Include most of kpse-xfns.h directly, removing | |
11141 unnecessary bits. | |
11142 | |
4384 | 11143 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
11144 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
11145 | |
4378 | 11146 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11147 | |
11148 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
11149 * Makefile.in: Add them to the appropriates lists. | |
11150 | |
11151 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
11152 | |
11153 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
11154 for new locations of kpathsea objects. | |
11155 Delete kpathsea targets. | |
11156 | |
11157 * pathsearch.cc (dir_path::set_program_name): Delete. | |
11158 | |
11159 * kpse.cc: New file. | |
11160 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
11161 | |
11162 * kpse.c: New file. | |
11163 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
11164 | |
11165 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
11166 * Makefile.in (INCLUDES): Add them to the list. | |
11167 | |
11168 * oct-kpse.h: Delete. | |
11169 * Makefile.in (INCLUDES): Delete it from the list. | |
11170 | |
4374 | 11171 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
11172 | |
11173 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
11174 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
11175 Likewise. | |
11176 From Quentin H. Spencer <qspencer@ieee.org>. | |
11177 | |
4365 | 11178 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11179 | |
11180 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
11181 | |
4349 | 11182 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
11183 | |
4352 | 11184 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
11185 without placement delete. | |
11186 | |
4349 | 11187 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
11188 imaginary parts. | |
11189 | |
11190 * lo-ieee.h (lo_ieee_signbit): New macro. | |
11191 | |
5095 | 11192 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 11193 |
11194 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
11195 Use Lapack instead of Linpack. | |
5315 | 11196 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 11197 ComplexMatrix::solve): Likewise. |
11198 | |
11199 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
11200 calc_cond. If 0, skip condition number calculation. | |
11201 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
11202 Likewise. | |
11203 | |
11204 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
11205 * dbleLU.cc (LU::LU): Likewise. | |
11206 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
11207 | |
11208 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9967 | 11209 |
4329 | 11210 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
11211 | |
4323 | 11212 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11213 | |
11214 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
11215 Additional compatibility fix. | |
11216 | |
11217 2003-02-13 Arno Klaassen <arno@scito.com> | |
9967 | 11218 |
11219 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4323 | 11220 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
11221 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
9967 | 11222 |
4322 | 11223 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
11224 | |
11225 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
11226 Compatibility fix. | |
11227 | |
4316 | 11228 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11229 | |
11230 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
11231 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
11232 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
11233 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
11234 * dRowVector.cc (RowVector::extract_n): Likewise. | |
11235 * dMatrix.cc (Matrix::extract_n): Likewise. | |
11236 | |
11237 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
11238 with make_unique and xelem. | |
11239 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
11240 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
11241 ComplexMatrix::extract, ComplexMatrix::row, | |
11242 ComplexMatrix::column): Likewise. | |
11243 * dColVector.cc (ColumnVector::insert): Likewise. | |
11244 * dRowVector.cc (RowVector::insert): Likewise. | |
11245 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
11246 Matrix::row, Matrix::column): Likewise. | |
11247 | |
4313 | 11248 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11249 | |
11250 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
11251 | |
4309 | 11252 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
11253 | |
11254 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
11255 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
11256 * CMatrix.h, dMatrix.h: Provide decls. | |
11257 | |
4307 | 11258 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
11259 | |
11260 * oct-rand.h, oct-rand.cc: New files. | |
11261 * Makefile.in: Add them to the appropriate lists. | |
11262 | |
4306 | 11263 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11264 | |
11265 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
11266 | |
4299 | 11267 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
11268 | |
11269 * oct-syscalls.cc: Include signal.h. | |
11270 | |
4294 | 11271 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11272 | |
11273 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
11274 * oct-syscalls.h: Provide decl. | |
9967 | 11275 |
4294 | 11276 |
4293 | 11277 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11278 | |
11279 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
11280 there is nothing to read. | |
11281 | |
4290 | 11282 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
11283 | |
11284 * lo-cutils.c: Define _XOPEN_SOURCE. | |
11285 | |
4286 | 11286 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
11287 | |
4288 | 11288 * getopt.h: Update to version from kpathsearch, so we will install |
11289 the version that we are using. | |
11290 | |
11291 * getopt.c, getopt1.c: Delete. | |
11292 (INCLUDES): Delete them from the list. We'll get these files from | |
11293 kpathsearch. | |
11294 | |
4286 | 11295 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
11296 ../kpathsea/STATIC/*.o. | |
11297 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
11298 | |
4270 | 11299 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11300 | |
4282 | 11301 * dMatrix.cc (read_int, write_int): Avoid warnings about |
11302 unreachable code. | |
11303 | |
4279 | 11304 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
11305 to correspond to placement new operator. | |
11306 | |
4278 | 11307 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
11308 (DET::value_will_underflow): Likewise. | |
11309 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
11310 (ComplexDET::value_will_underflow): Likewise. | |
11311 | |
4276 | 11312 * Makefile.in (distclean): Also remove stamp-prereq. |
11313 | |
4306 | 11314 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
11315 RHS and index are empty matrices, don't do anything. | |
4270 | 11316 |
4242 | 11317 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
11318 | |
11319 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
11320 delete_c_names): New helper functions. | |
11321 (dir_path::find_first_of): New function. | |
11322 (dir_path::find_all_first_of): Likewise. | |
11323 * pathsearch.h: Provide decls. | |
11324 | |
11325 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
11326 (octave_kpse_all_path_find_first_of): Likewise. | |
11327 * oct-kpse.h: Provide decls. | |
11328 | |
4231 | 11329 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
11330 | |
11331 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
11332 * ODESSA-opts.in: Likewise. | |
11333 | |
11334 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
11335 * LSODE-opts.in: Likewise. | |
11336 | |
4229 | 11337 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
11338 | |
4230 | 11339 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
11340 in all constructors. | |
11341 | |
4229 | 11342 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
11343 (LINK_DEPS): Not here. | |
11344 | |
4219 | 11345 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11346 | |
4220 | 11347 * str-vec.cc (string_vector::compare): New static member function. |
11348 * str-vec.h: Provide decl. | |
11349 (string_vector::sort): Use it. | |
11350 (str_vec_compare): Delete static function. | |
11351 | |
4219 | 11352 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
11353 a placement operator new. | |
11354 | |
4209 | 11355 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
11356 | |
4210 | 11357 * Matrix.h: Include mx-ops.h too. |
4209 | 11358 * mx-ops.h: New file. |
11359 | |
4192 | 11360 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11361 | |
11362 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
11363 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
11364 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
11365 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
11366 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
11367 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
11368 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
11369 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
11370 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
11371 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
11372 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
11373 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
11374 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
11375 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
11376 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
11377 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
11378 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
11379 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
11380 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
11381 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
11382 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
9967 | 11383 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
4192 | 11384 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
11385 | |
4184 | 11386 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
11387 | |
11388 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
11389 From Remy Bruno <remy.bruno@libertysurf.fr> | |
11390 | |
4180 | 11391 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11392 | |
11393 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
11394 fortran code that should run fast enough that it is not worth all | |
11395 the setup costs of F77_XFCN. | |
11396 | |
11397 * Quad.cc (user_function): Surround body of function with | |
11398 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
11399 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
11400 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
11401 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
11402 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
11403 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
11404 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
11405 | |
4164 | 11406 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11407 | |
11408 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
11409 of ! defined (linux). | |
11410 | |
5095 | 11411 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 11412 |
11413 * oct-shlib.cc (octave_dyld_shlib): New class. | |
11414 (make_shlib): Instantiate octave_dyld_shlib. | |
11415 | |
4152 | 11416 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
11417 | |
4153 | 11418 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
11419 | |
4152 | 11420 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
11421 | |
11422 * Array.h: Include <cstddef> here. | |
11423 | |
4142 | 11424 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
11425 | |
4144 | 11426 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
11427 using them. Accept inequality contraint option of 0. Assign | |
11428 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
11429 abs_tol and rel_tol. | |
11430 | |
4143 | 11431 * cmd-edit.h (command_editor::filename_completion_desired): New |
11432 static function. | |
11433 (command_editor::do_filename_completion_desired): New virtual function. | |
11434 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
11435 * oct-rl-edit.h: Provide decl. | |
11436 | |
4142 | 11437 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
11438 avoid OS X linker bug. | |
11439 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
11440 | |
4139 | 11441 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
11442 | |
4141 | 11443 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
11444 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
11445 solvers. | |
11446 * ODESSA.cc: Fix all callers. | |
11447 | |
4139 | 11448 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
11449 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
11450 sum(zeros(1,0)) returns 0, not [](1x0)). | |
11451 | |
4136 | 11452 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11453 | |
11454 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
11455 | |
4132 | 11456 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
11457 | |
4133 | 11458 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
11459 (ddasrt_f): Combine loops. | |
11460 | |
4132 | 11461 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
11462 instead of empty vector if user termninates iteration. | |
11463 | |
4130 | 11464 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
11465 | |
11466 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
11467 octave_read_complex, octave_write_double, octave_write_complex): | |
11468 New functions. | |
11469 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
11470 Use octave_write_complex. | |
11471 (operator >> (std::istream&, const ComplexMatrix&)): | |
11472 Use octave_read_complex. | |
11473 * dMatrix.cc (operator << (std::ostream&, double)): | |
11474 Use octave_write_double. | |
11475 (operator >> (std::istream&, double)): Use octave_read_double. | |
11476 | |
4126 | 11477 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
11478 | |
11479 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
11480 * oct-kpse.h: Delete decl. | |
11481 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
11482 ::octave_kpse_clear_dir_cache. | |
11483 | |
4123 | 11484 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
11485 | |
4124 | 11486 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
11487 earlier than 3.0. | |
11488 | |
4123 | 11489 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
11490 (liboctave.$(SHLEXT)): Not here. | |
11491 | |
5095 | 11492 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 11493 |
11494 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
11495 | |
4108 | 11496 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11497 | |
11498 * Makefile.in (install-lib): Don't bother with versions for | |
11499 $(SHLBIN) files. | |
11500 | |
5095 | 11501 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 11502 |
11503 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
11504 | |
4102 | 11505 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11506 | |
11507 * lo-cieee.c: Move everything but lo_ieee_init here. | |
11508 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
11509 New functions. | |
11510 | |
11511 * Makefile.in (install): No need to use cd to create links. | |
11512 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
11513 | |
5095 | 11514 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 11515 |
11516 * Makefile.in: Merge liboctave with liboct-readline and | |
11517 liboct-pathsearch. | |
11518 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
11519 (libraries): Depend on versioned library. | |
11520 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
11521 build unversioned library, symbolic link adds version info. | |
11522 (install, uninstall): Handle link and load forms of the library | |
11523 separately. | |
11524 | |
4101 | 11525 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
11526 | |
11527 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
11528 __CYGWIN__. | |
11529 | |
11530 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
11531 file_ops::dir_sep_chars): New static functions to replace | |
11532 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
11533 | |
11534 * oct-env.cc (octave_env::do_set_program_name): | |
11535 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
11536 (octave_env::do_base_pathname): Likewise. | |
11537 (octave_env::do_make_absolute): Likewise. | |
11538 | |
11539 * oct-env.cc (octave_env::do_make_absolute): | |
11540 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
11541 (octave_env::do_get_home_directory): Likewise. | |
11542 | |
11543 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
11544 that information here too. | |
11545 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
11546 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
11547 | |
11548 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
11549 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
11550 | |
4097 | 11551 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
11552 | |
11553 * oct-env.h (octave_env::current_directory): Now mutable. | |
11554 (octave_env:do_getcwd): Now const. | |
11555 | |
11556 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
11557 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
11558 OCTAVE_CURRENT_DIR_STR): New macros. | |
11559 * oct-env.cc (is_dir_sep): Delete. | |
11560 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
11561 (octave_env::do_set_program_name): Likewise. | |
11562 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
11563 instead of checking for '/'. | |
11564 (octave_env::pathname_backup): Likewise. | |
11565 (octave_env::do_absolute_pathname): Likewise. | |
11566 (octave_env::do_make_absolute): Likewise. | |
11567 If dot_path is empty, use getcwd to set current_dir. | |
11568 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
11569 instead of "/". | |
11570 | |
5095 | 11571 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 11572 |
11573 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
11574 | |
5095 | 11575 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 11576 |
11577 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
11578 absolute path names under MinGW as well. | |
11579 | |
11580 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11581 | |
11582 * oct-env.cc: Include <cctype> too. | |
11583 | |
4087 | 11584 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
11585 | |
11586 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
11587 filenames. | |
11588 (octave_env::do_make_absolute): Check for absolute name with | |
11589 do_absolute_path. | |
4088 | 11590 (octave_env::do_chdir): Likewise. |
11591 (is_dir_sep): New function. | |
4087 | 11592 |
5095 | 11593 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 11594 |
4086 | 11595 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
11596 systems. | |
4085 | 11597 |
4083 | 11598 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11599 | |
11600 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
11601 | |
4080 | 11602 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
11603 | |
4081 | 11604 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
11605 | |
4080 | 11606 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
11607 | |
5095 | 11608 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 11609 |
11610 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
11611 gr_gid too. | |
11612 | |
4072 | 11613 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
11614 | |
4074 | 11615 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
11616 lo_ieee_* functions. | |
4072 | 11617 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 11618 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
11619 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 11620 * lo-cieee.c: New file. |
4074 | 11621 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 11622 * lo-ieee.h: Now all extern "C". |
4074 | 11623 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
11624 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
11625 | |
4072 | 11626 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
11627 Now extern. | |
11628 | |
4066 | 11629 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
11630 | |
11631 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
11632 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
11633 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
11634 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
11635 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
11636 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
11637 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
11638 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
11639 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
11640 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
11641 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
11642 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
11643 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
11644 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
11645 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
11646 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
11647 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
11648 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
11649 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
11650 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
11651 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
11652 oct-alloc.cc: | |
11653 If __GNUG__, use pragma interface/implementation. Allow this to | |
11654 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
11655 | |
5095 | 11656 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 11657 |
4066 | 11658 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
11659 system readlink function is not available. | |
11660 | |
4065 | 11661 * lo-mappers.cc (xerf, xerfc): Delete. |
11662 * lo-mappers.h (xerf, xerfc): Delete decls. | |
11663 | |
4064 | 11664 * lo-mappers.cc: Remove unused #define M_PI. |
11665 * lo-specfun.cc: Add #define M_PI if needed. | |
11666 | |
4062 | 11667 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11668 | |
11669 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
11670 that geteuid doesn't exist. | |
11671 | |
11672 * LP.h: Rename LP class to octave_LP. | |
11673 LPsolve.h: Change all uses. | |
11674 | |
11675 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
11676 incorrect token-pasting op. | |
11677 | |
11678 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
11679 define lstat. | |
11680 | |
4061 | 11681 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
11682 | |
11683 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
11684 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
11685 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
11686 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
11687 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
11688 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
11689 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
11690 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
11691 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
11692 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
11693 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
11694 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
11695 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
11696 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
11697 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
11698 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
11699 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
11700 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
11701 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
11702 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
11703 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
11704 oct-alloc.cc: | |
11705 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
11706 to decide whether to use the interface/implementation pragmas. | |
11707 | |
4058 | 11708 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11709 | |
11710 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
11711 | |
4055 | 11712 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
11713 | |
11714 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
11715 qualified names. | |
11716 | |
4051 | 11717 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
11718 | |
4054 | 11719 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
11720 ArrayN.cc: Add typename where needed. | |
4053 | 11721 |
4051 | 11722 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
11723 strstream classes directly. | |
11724 * DASRT.cc: Likewise. | |
11725 * DASSL.cc: Likewise. | |
11726 * LSODE.cc: Likewise. | |
11727 * ODESSA.cc: Likewise. | |
11728 | |
11729 * cmd-hist.cc: Don't include <strstream>. | |
11730 * oct-shlib.cc: Likewise. | |
11731 | |
11732 * lo-sstream.h: New file. | |
11733 | |
4049 | 11734 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11735 | |
11736 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
11737 New data members. | |
11738 (LSODE::sanity_checked): Delete unused data member. | |
11739 | |
11740 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
11741 prel_tol, pinfo, piwork, prwork): New data members. | |
11742 * DASSL.h (DASSL): Likewise. | |
11743 | |
11744 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
11745 | |
11746 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
11747 initialization, changes in options, etc. | |
11748 * DASPK.cc (DASPK::do_integrate): Likewise. | |
11749 * DASSL.cc (DASSL::do_integrate): Likewise. | |
11750 * LSODE.cc (LSODE::do_integrate): Likewise. | |
11751 | |
4047 | 11752 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
11753 | |
4049 | 11754 * DAEFunc.h (DAEFunc::reset): New data member. |
11755 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
11756 | |
11757 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
11758 (base_diff_eqn::clear_stop_time): Likewise. | |
11759 | |
4047 | 11760 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
11761 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
11762 | |
5095 | 11763 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 11764 |
11765 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
11766 * DASRT-opts.in, DASRT.h: Likewise. | |
9967 | 11767 * DASSL-opts.in, DASSL.h: Likewise. |
4044 | 11768 * LSODE-opts.in, LSODE.h: Likewise. |
11769 * NLEqn-opts.in, NLEqn.h: Likewise. | |
11770 * ODESSA-opts.in, ODESSA.h: Likewise. | |
11771 | |
4038 | 11772 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11773 | |
4042 | 11774 * LSODE.cc (LSODE::error_message): Also return current T on |
11775 failures when that makes sense. | |
4043 | 11776 * DASSL.cc (DASSL::error_message): Likewise. |
11777 * DASRT.cc (DASRT::error_message): Likewise. | |
11778 * DASPK.cc (DASPK::error_message): Likewise. | |
11779 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 11780 |
4038 | 11781 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
11782 $(LIBKPATHSEA) here. | |
11783 | |
4025 | 11784 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
11785 | |
11786 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
11787 (lo_ieee_is_NaN_or_NA): New function. | |
11788 (octave_NA): New global value. | |
11789 (octave_ieee_init): Initialize it. | |
11790 * lo-mappers.cc (octave_is_NA): New function. | |
11791 (octave_is_NaN_or_NA): New function. | |
11792 (xisnan): Return false if NaN looks like a missing value. | |
11793 (xisnan (const Complex&)): Use xisnan here. | |
11794 | |
4015 | 11795 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11796 | |
4017 | 11797 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
11798 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
11799 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
11800 Default value for dim is -1, not 0. | |
11801 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
11802 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
11803 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
11804 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
11805 | |
4015 | 11806 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
11807 New macros. | |
11808 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
11809 MX_BASE_REDUCTION_OP. | |
11810 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
11811 | |
4014 | 11812 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
11813 | |
4015 | 11814 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
11815 Return boolMatrix, not Matrix. | |
11816 | |
11817 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
11818 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
11819 (Matrix::all): Replace guts with MX_ALL_OP. | |
11820 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
11821 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
11822 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
11823 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
11824 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
11825 (charMatrix::all): Replace guts with MX_ALL_OP. | |
11826 | |
11827 * dMatrix.h (Matrix::any): New arg, dim. | |
11828 (Matrix::all): Likewise. | |
11829 * CMatrix.h (ComplexMatrix::any): Likewise. | |
11830 (ComplexMatrix::all): Likewise. | |
11831 * boolMatrix.h (boolMatrix::any): Likewise. | |
11832 (boolMatrix::all): Likewise. | |
11833 * chMatrix.h (charMatrix::any): Likewise. | |
11834 (charMatrix::all): Likewise. | |
11835 | |
4014 | 11836 * Makefile.in: Use $@-t instead of $@.t. |
11837 | |
4004 | 11838 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
11839 | |
11840 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
11841 Use it in matrix versions to avoid spewing multiple errors. | |
11842 Call xgammainc instead of dgamit. | |
11843 | |
3998 | 11844 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
11845 | |
9967 | 11846 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
3998 | 11847 Get rows and columns right in loop. |
11848 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
11849 | |
11850 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11851 | |
11852 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
11853 * DASRT.cc (DASRT::integrate): Likewise. | |
11854 * DASSL.cc (DASSL::do_integrate): Likewise. | |
11855 | |
11856 * Quad.cc: Don't pass tolerances in constructors. | |
11857 | |
11858 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
11859 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
11860 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
11861 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
11862 from corresponding .in files. | |
11863 * LSODE.h, Quad.h: Replace options class definitions with included | |
11864 file. | |
11865 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
9967 | 11866 create OPTS_INC files from OPTS_INC_SRC files. |
3998 | 11867 (stamp-prereq): New target. |
11868 (libraries): Depend on stamp-prereq. | |
11869 Include stamp-prereq along with $(MAKEDEPS). | |
11870 | |
3997 | 11871 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
11872 | |
11873 * base-de.h (base_diff_eqn::istate): New data member. | |
11874 (base_diff_eqn::integration_state): New member function. | |
11875 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
11876 data members and functions. | |
11877 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
11878 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
11879 | |
3990 | 11880 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
11881 | |
3995 | 11882 * base-de.h (base_diff_eqn::stop_time, |
11883 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
11884 base_diff_eqn::integration_error): New data members. | |
11885 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
11886 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
11887 base_diff_eqn::error_message): New member functions. | |
11888 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
11889 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
11890 members and functions. | |
11891 | |
3992 | 11892 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
11893 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 11894 (DASRT::integrate): Don't forget to set nn. |
3992 | 11895 |
3991 | 11896 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
11897 * DASSL.cc (ddassl_j): Make it work. | |
11898 * DASPK.cc (ddaspk_j): Likewise. | |
11899 | |
3990 | 11900 * DAE.cc: Delete. |
11901 | |
11902 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
11903 solving with root finding. | |
11904 * Makefile.in: Add them to the appropriate lists. | |
11905 | |
11906 * base-dae.h: New file. | |
11907 * Makefile.in (INCLUDES): Add it to the list. | |
11908 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
11909 | |
3984 | 11910 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
11911 | |
11912 * ODE.h: Move integrate and do_integrate method declarations and | |
11913 definitions here. | |
11914 * base-de.h: From here. | |
11915 | |
11916 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
11917 * Makefile.in: Add them to the appropriate lists. | |
9967 | 11918 (LIBOCTAVE_CXX_SOURCES): |
3984 | 11919 |
3971 | 11920 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
11921 | |
11922 * NLEqn.cc (NLEqn::error_message): New function. | |
11923 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
11924 | |
3970 | 11925 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
11926 | |
11927 * lo-utils.cc (octave_fgetl): New function. | |
11928 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
11929 | |
3959 | 11930 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
11931 | |
11932 * LSODE.cc (LSODE::error_message): New function. | |
11933 * LSODE.h: Provide decl. | |
11934 (LSODE::integration_state): New function. | |
11935 (LSODE::integration_ok): New function. | |
11936 | |
3952 | 11937 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
11938 | |
3955 | 11939 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
11940 (LSODE_options::set_integration_method, | |
11941 LSODE_options::integration_method): New functions. | |
3954 | 11942 |
3952 | 11943 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
11944 Change all uses. | |
11945 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
11946 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
11947 New function. | |
11948 | |
11949 * Array.h (Array::fortran_vec): New const version. | |
11950 | |
3951 | 11951 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
11952 | |
11953 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
11954 (gnu_readline::history_search_forward): Likewise. | |
11955 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
11956 to extern "C" functions to octave_rl_ad_defun. | |
11957 | |
5095 | 11958 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 11959 |
11960 * DASPK.cc (ddaspk_psol): Return value. | |
11961 * oct-rl-edit.c: Use /* ... */ to comment. | |
11962 | |
3945 | 11963 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
11964 | |
11965 * DASSL.h (DASSL_options::init): Undo previous change. | |
11966 (DASSL_options::set_absolute_tolerance): Likewise. | |
11967 * LSODE.h (LSODE_options::init): Likewise. | |
11968 (LSODE_options::set_absolute_tolerance): Likewise. | |
11969 | |
11970 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
11971 sqrt(eps), not eps^2. | |
11972 DASPK_options::set_absolute_tolerance): Likewise. | |
11973 | |
5095 | 11974 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 11975 |
11976 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
11977 object. | |
11978 | |
3933 | 11979 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
11980 | |
11981 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
11982 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
11983 (octave_rl_set_basic_word_break_characters, | |
11984 octave_rl_set_completer_word_break_characters): New functions. | |
11985 * oct-rl-edit.h: Provide decls. | |
11986 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
11987 gnu_readline::do_set_completer_word_break_characters): New functions. | |
11988 (command_editor::set_basic_quote_characters, | |
11989 command_editor::set_completion_append_character): New static functions. | |
11990 * cmd-edit.h: Provide decls. | |
11991 (command_editor::do_set_basic_word_break_characters, | |
11992 command_editor::do_set_completer_word_break_characters): | |
11993 New virtual functions. | |
11994 | |
11995 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
11996 (resize_fill_value): New static function. | |
11997 | |
11998 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
11999 resize_fill_value. | |
12000 * Array2-idx.h (Array2<T>::index): Likewise. | |
12001 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
12002 | |
12003 * Array2.cc (Array<T>::print_info): New function. | |
12004 * Array2.h: Provide decl. | |
12005 | |
12006 * Array.cc (Array<T>::print_info): New function. | |
12007 * Array.h: Provide decl. | |
12008 | |
3928 | 12009 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
12010 | |
12011 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
12012 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
12013 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
12014 | |
12015 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
12016 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
12017 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
12018 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
12019 | |
9967 | 12020 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 12021 |
12022 * Array3.h (Array3<T>::checkelem): Improve error message. | |
12023 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
12024 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
12025 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
12026 | |
3919 | 12027 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
12028 | |
12029 * DASSL.h (DASSL_options::init): Undo previous change. | |
12030 (DASSL_options::set_absolute_tolerance): Likewise. | |
12031 | |
3912 | 12032 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
12033 | |
12034 * DASPK.h, DASPK.cc: New files. | |
12035 * Makefile.in: Add them to the appropriate lists. | |
12036 | |
3904 | 12037 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
12038 | |
12039 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
12040 Simplify indexing when one or both of the indices are empty. | |
12041 | |
3896 | 12042 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
12043 | |
12044 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
12045 (DASSL_options::set_absolute_tolerance): Likewise. | |
12046 * LSODE.h (LSODE_options::init): Likewise. | |
12047 (LSODE_options::set_absolute_tolerance): Likewise. | |
12048 | |
5095 | 12049 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 12050 |
12051 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
12052 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
12053 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
12054 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
12055 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
12056 * file-stat.h: Likewise. | |
12057 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
12058 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
12059 instead of HAVE_STRUCT_TM_TM_ZONE. | |
12060 * strftime.c: Likewise. | |
12061 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
12062 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
12063 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
12064 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
12065 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
12066 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
12067 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
12068 | |
5095 | 12069 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 12070 |
9967 | 12071 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
3883 | 12072 internally when the user requests it. |
12073 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
12074 * dbleQR.cc (QR::init): Ditto. | |
12075 * dbleQRP.cc (QRP::init): Ditto. | |
12076 | |
3874 | 12077 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
12078 | |
12079 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
12080 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
12081 (octave_fftw::ifft2d): Likewise. | |
12082 | |
5095 | 12083 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 12084 |
12085 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
12086 | |
3867 | 12087 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
12088 | |
12089 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
12090 (LS_DO_WRITE): Likewise. | |
9967 | 12091 |
3864 | 12092 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
12093 | |
12094 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
12095 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
12096 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
12097 | |
12098 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
12099 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
12100 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
12101 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
12102 | |
12103 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
12104 DIM == -1 now means no orientation for vector sums. | |
12105 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
12106 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
12107 | |
3858 | 12108 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12109 | |
12110 * Range.cc (Range::nelem_internal): Special case ranges that must | |
12111 have zero elements. | |
12112 | |
3854 | 12113 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
12114 | |
3857 | 12115 * Makefile.in: Split out readline and pathsearch functionality |
12116 into separate liboct-readline and liboct-pathsearch libraries. | |
12117 | |
3854 | 12118 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 12119 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
12120 to do nothing for this call to rl_clear_screen. | |
3854 | 12121 |
3849 | 12122 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12123 | |
12124 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
12125 function. | |
12126 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
12127 | |
3838 | 12128 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
12129 | |
12130 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
12131 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
12132 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
12133 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
12134 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
12135 | |
3836 | 12136 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
12137 | |
12138 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
12139 | |
12140 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
12141 Array-b.cc: Instantiate three arg assign functions. | |
12142 | |
12143 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
12144 New arg, resize_fill_value. | |
12145 * ArrayN.h: Provide declaration. | |
12146 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
12147 three arg version. | |
12148 | |
12149 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
12150 New arg, resize_fill_value. | |
12151 * Array3.h: Provide declaration. | |
12152 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
12153 three arg version. | |
12154 | |
12155 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
12156 New arg, resize_fill_value. | |
12157 * Array2.h: Provide declaration. | |
12158 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
12159 three arg version. | |
12160 | |
12161 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
12162 New arg, resize_fill_value. | |
12163 * Array.h: Provide declaration. | |
12164 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
12165 three arg version. | |
12166 | |
3833 | 12167 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
12168 | |
12169 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
12170 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
12171 to the empty string. | |
12172 | |
3832 | 12173 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
12174 | |
12175 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
12176 Don't check for rep != a.rep. | |
12177 | |
3827 | 12178 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
12179 | |
12180 * oct-fftw.h, oct-fftw.cc: New files. | |
12181 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9967 | 12182 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
3827 | 12183 ifourier2d}): Use fftw if available. |
9967 | 12184 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
3827 | 12185 Likewise. |
12186 | |
3821 | 12187 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
12188 | |
12189 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
12190 (install-inc): Don't use mk-includedir-link. | |
12191 | |
3803 | 12192 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
12193 | |
12194 * lo-cutils.c (octave_gethostname): New function. | |
12195 * lo-utils.h: Provide declaration. | |
12196 * oct-env.cc (octave_env::do_get_host_name): | |
12197 Call octave_gethostname, instead of gethostname. | |
12198 | |
12199 * lo-cutils.c (gethostname): Define here. | |
12200 * lo-sysdep.cc: Not here. | |
12201 | |
3786 | 12202 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
12203 | |
12204 * lo-cutils.c: Don't declare strptime. | |
12205 (oct_strptime): Cast return type of strptime to char*. | |
12206 | |
3777 | 12207 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
12208 | |
3779 | 12209 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
12210 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
12211 (octave_rl_read_init_file): Ditto. | |
12212 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
12213 free_undo_list. | |
12214 (octave_rl_completion_matches): Call rl_completion_matches, not | |
12215 completion_matches. | |
12216 (octave_rl_enable_paren_matching): New function. | |
12217 (octave_rl_set_blink_matching_paren_flag): Delete. | |
12218 (octave_rl_get_blink_matching_paren_flag): Delete. | |
12219 | |
3777 | 12220 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9967 | 12221 tanh (const Complex&)): Declare and define if not |
3777 | 12222 CXX_ISO_COMPLIANT_LIBRARY. |
12223 | |
3776 | 12224 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
12225 | |
12226 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
12227 CXX_ISO_COMPLIANT_LIBRARY. | |
12228 | |
3775 | 12229 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
12230 | |
3776 | 12231 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
12232 CXX_ISO_COMPLIANT_LIBRARY. | |
12233 | |
3775 | 12234 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
12235 archive libraries containing templates. | |
12236 | |
12237 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9967 | 12238 get_zero_len_size, all_colon_equiv): Inline. |
3775 | 12239 (ArrayN<T>::index): Rename idx to arr_idx. |
9967 | 12240 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
3775 | 12241 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
12242 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
12243 | |
12244 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12245 | |
12246 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
12247 log10 (const Complex&)): Delete. | |
12248 | |
12249 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
12250 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
12251 sinh, sqrt, tan, and tanh. | |
12252 | |
3769 | 12253 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
12254 | |
12255 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
12256 Add std:: namespace qualifier as needed. | |
12257 | |
12258 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
12259 Change all uses to match. | |
12260 | |
3767 | 12261 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
12262 | |
12263 * lo-cutils.c: Don't delcare strptime. | |
12264 | |
3760 | 12265 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
12266 | |
12267 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
12268 Return correct size result for empty matrix case. | |
12269 | |
3757 | 12270 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
12271 | |
12272 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
12273 If args are equal in magnitude, return first arg instead of | |
12274 second. | |
12275 | |
3752 | 12276 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
12277 | |
3755 | 12278 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
12279 then try harder to compute correct number of elements. | |
3753 | 12280 |
3752 | 12281 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
12282 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
12283 | |
3750 | 12284 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
12285 | |
3751 | 12286 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
12287 Rename n_intervals to be n_elt. | |
12288 | |
3750 | 12289 * strptime.c: Surround everything after including config.h in |
12290 #ifndef HAVE_STRPTIME ... #endif. | |
12291 | |
3742 | 12292 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
12293 | |
12294 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
12295 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
12296 | |
3741 | 12297 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
12298 | |
12299 * MArray-defs.h: Protect against multiple inclusion. | |
12300 | |
3739 | 12301 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
12302 | |
12303 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
12304 end of the list, to be compatible with previous versions of Octave. | |
12305 | |
3736 | 12306 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
12307 | |
12308 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
12309 since mktime is supposed to `normalize' the results for us. | |
12310 | |
3731 | 12311 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
12312 | |
12313 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 12314 and vectors. Use xelem for faster access to elements when copying. |
3731 | 12315 |
3726 | 12316 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
12317 | |
12318 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
12319 Correct indexing for operation across rows. | |
12320 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
12321 | |
3725 | 12322 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
12323 | |
12324 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
12325 elements if arg is a colon. | |
12326 | |
5095 | 12327 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 12328 |
3795 | 12329 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 12330 (Matrix::cumsum (int) const): Likewise. |
12331 (Matrix::prod (int) const): Likewise. | |
12332 (Matrix::sum (int) const): Likewise. | |
12333 (Matrix::sumsq (int) const): Likewise. | |
12334 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
12335 (ComplexMatrix::cumsum (int) const): Likewise. | |
12336 (ComplexMatrix::prod (int) const): Likewise. | |
12337 (ComplexMatrix::sum (int) const): Likewise. | |
12338 (ComplexMatrix::sumsq (int) const): Likewise. | |
12339 | |
3722 | 12340 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
12341 | |
12342 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
12343 size if Array<T>::index returns an empty array. | |
12344 | |
3710 | 12345 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
12346 | |
12347 * file-ops.cc (file_ops::link, file_ops::symlink, | |
12348 file_ops::readlink): New functions. | |
12349 | |
3709 | 12350 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
12351 | |
12352 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
12353 indexed, always return an object the same size as the index arg. | |
12354 | |
12355 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
12356 empty format. | |
12357 | |
3706 | 12358 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
12359 | |
12360 * lo-cutils.c (oct_strptime): New function. | |
12361 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
12362 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
12363 | |
3702 | 12364 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
12365 | |
3703 | 12366 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
12367 | |
3702 | 12368 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
12369 | |
3689 | 12370 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
12371 | |
12372 * dMatrix.h (read_int): Provide declaration. | |
12373 | |
3688 | 12374 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
12375 | |
12376 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
12377 (write_doubles): Ditto. | |
12378 * data-conv.h: Ditto. | |
12379 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
12380 | |
3685 | 12381 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
12382 | |
12383 * boolMatrix.h: Declare MM_CMP_OPS here. | |
12384 * boolMatrix.cc: Define them here. | |
12385 | |
3680 | 12386 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12387 | |
12388 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
12389 previously undefined and set size of x to size of bool index. | |
12390 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
12391 Allow z_len to be zero. | |
12392 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
12393 If frozen, don't assert that frozen_at_z_len == z_len. | |
12394 | |
3670 | 12395 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
12396 | |
12397 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
12398 instead of rl_clear_screen. | |
12399 | |
3665 | 12400 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
12401 | |
12402 * Array-d.cc: Instantiate ArrayN<double> here too. | |
12403 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
12404 * Makefile.in: Add them to the appropriate lists. | |
12405 | |
3657 | 12406 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
12407 | |
12408 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
12409 | |
3635 | 12410 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
12411 | |
12412 * lo-sysdep.h: octave_chdir returns int, not bool. | |
12413 | |
3615 | 12414 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
12415 | |
12416 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
12417 before rebuilding. | |
12418 | |
5095 | 12419 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 12420 |
5261 | 12421 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 12422 (libraries): Depend only on library targets, not archive members. |
12423 | |
3613 | 12424 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
12425 | |
12426 * Makefile.in: (objects): New target. | |
12427 | |
12428 * lo-cutils.c: New file. | |
12429 * Makefile.in (SOURCES): Add it to the list. | |
12430 * lo-utils.h: Declare octave_qsort here. | |
12431 * Array.h (Array::qsort): Use it here. | |
12432 | |
3607 | 12433 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12434 | |
12435 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
12436 | |
3598 | 12437 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
12438 | |
12439 * oct-rl-hist.c (octave_history_list): Do something when not | |
12440 printing line numbers. Fix reallocation of retval. | |
12441 | |
3597 | 12442 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
12443 | |
12444 * Makefile.in (install-inc): Install files in | |
12445 $(octincludedir)/octave. | |
12446 (uninstall): Remove them from the correct directory too. | |
12447 | |
12448 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
12449 they are not already defined. | |
12450 | |
3588 | 12451 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12452 | |
12453 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
12454 Delete declarations and definitions of mixed-type vector-vector ops. | |
12455 | |
3585 | 12456 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
12457 | |
12458 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
12459 matrix and vector objects. | |
12460 | |
12461 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
12462 return type from second arg type. | |
12463 (MDM_BIN_OP): Likewise, for first arg type. | |
12464 | |
12465 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
12466 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
12467 | |
12468 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
12469 request ColumnVector to ComplexColumnVector, and Matrix to | |
12470 ComplexMatrix conversions. | |
12471 | |
12472 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
12473 initial value using ComplexMatrix constructor. | |
12474 | |
12475 * CColVector.cc (product, quotient, | |
12476 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
12477 Fix type of returned value. | |
12478 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
12479 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
12480 | |
12481 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
12482 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
12483 dRowVector.h: Declare some constructors explicit, to disallow | |
12484 potentially problematic automatic type conversions. | |
12485 | |
3580 | 12486 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
12487 | |
3582 | 12488 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
12489 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
12490 More new files. | |
12491 * Makefile.in: Add them to the appropriate lists. | |
12492 | |
12493 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
12494 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
12495 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
12496 vx-s-crv.cc:, New files. | |
12497 * Makefile.in: Add them to the appropriate lists. | |
12498 | |
12499 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
12500 Delete scalar by vector and vector by scalar binary ops. | |
12501 | |
3580 | 12502 * MArray-defs.h: More new macros to handle MDiagArray operators. |
12503 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
12504 | |
3573 | 12505 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
12506 | |
3578 | 12507 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
12508 rl_event_hook before casting to void **. | |
12509 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
12510 | |
3574 | 12511 * MArray-defs.h: Many new macros to make declaration and |
12512 definition of operators more consistent. | |
9967 | 12513 |
3574 | 12514 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
12515 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 12516 |
3569 | 12517 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
12518 | |
3572 | 12519 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
12520 (Matrix::ifourier2d): Likewise. | |
12521 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
12522 (ComplexMatrix::ifourier2d): Likewise. | |
12523 | |
3569 | 12524 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
12525 | |
3504 | 12526 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
12527 | |
3519 | 12528 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
12529 readline library. | |
12530 * Makefile.in: Add them to the appropriate lists. | |
12531 | |
12532 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
12533 readline history library. | |
12534 * Makefile.in: Add them to the appropriate lists. | |
12535 | |
3517 | 12536 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
12537 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 12538 (write_doubles): Likewise. |
12539 (read_doubles): Likewise. | |
3517 | 12540 |
3516 | 12541 * oct-env.cc (octave_env::do_polite_directory_format): |
12542 Use operator== and substr method to do limited-length string | |
12543 comparison. | |
12544 | |
3513 | 12545 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 12546 |
3511 | 12547 * Quad.h: Use do_integrate as name of pure virtual function. |
12548 | |
3508 | 12549 * base-de.h: Use tt instead of t as arg names. |
3511 | 12550 Add method with tcrit arg. |
12551 | |
3509 | 12552 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 12553 |
3507 | 12554 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
12555 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
12556 * Quad.cc (quad_fcn_ptr): Ditto. | |
12557 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
12558 | |
3505 | 12559 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 12560 * Makefile.in: Add them to the appropriate lists. |
3505 | 12561 |
12562 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 12563 * Makefile.in: Add them to the appropriate lists. |
3505 | 12564 |
3504 | 12565 * dMatrix.cc (write_int, read_int): No longer declared static. |
12566 | |
12567 * CDiagMatrix.h: Delete decls for friend operators that are | |
12568 handled by MDiagArray2 class. Move others outside class decl and | |
12569 strip friend status. | |
12570 * dDiagMatrix.h: Likewise. | |
12571 | |
12572 * MArray.h: Delete decls for friend operators inside class decl. | |
12573 * MArray2.h: Ditto. | |
12574 * MDiagArray2.h: Ditto. | |
12575 | |
12576 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
12577 necessary parameters. Don't allocate memory in the macro. Change | |
12578 all uses. | |
12579 | |
12580 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
12581 * CMatrix.h (class ComplexMatrix): Ditto. | |
12582 | |
12583 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
12584 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
12585 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
12586 avoid type conflicts. Change all uses. | |
12587 | |
12588 * strptime.c (__mon_yday): Fix size of array decl. | |
12589 | |
12590 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
12591 | |
12592 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
12593 default value for second arg. | |
12594 | |
12595 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
12596 references to ArrayRep. | |
12597 | |
3503 | 12598 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
12599 | |
3504 | 12600 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 12601 |
12602 * All source files: Include iostream, fstream, strstream, | |
12603 etc. as needed instead of using forward declarations for these | |
3504 | 12604 classes. Add std:: qualifier as needed. |
3503 | 12605 |
3498 | 12606 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
12607 | |
12608 * oct-time.cc: Declare strptime extern "C". | |
12609 | |
3496 | 12610 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
12611 | |
12612 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
12613 | |
3488 | 12614 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
12615 | |
3492 | 12616 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
12617 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
12618 to get total size to be allocated. | |
12619 | |
3488 | 12620 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
12621 as bool, not int. | |
12622 | |
3482 | 12623 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
12624 | |
9967 | 12625 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
3482 | 12626 Allow A(idx) = RHS if idx is a boolean index with the same shape |
12627 as A, even when do_fortran_indexing is not enabled. | |
12628 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
12629 | |
3473 | 12630 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
12631 | |
3480 | 12632 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
12633 function pointer as final arg. Passed function (if any) will be | |
12634 called for singularity errors. | |
12635 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
12636 | |
12637 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
12638 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
12639 | |
3475 | 12640 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
12641 No longer bother with infinity or quiet_nan. | |
12642 | |
3473 | 12643 * Array2.cc (Array2<T>::get_size): New function. |
12644 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
12645 | |
3472 | 12646 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
12647 | |
12648 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
12649 New function. | |
12650 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
12651 Use it when indexing with one arg instead of faking a second one. | |
12652 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
12653 Return empty matrices with the correct dimensions for A(:,:) = [] | |
12654 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
12655 rows or columns. | |
12656 | |
12657 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
12658 vector that is all true values with a length equal to n as colon | |
12659 equivalent. | |
12660 | |
3470 | 12661 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
12662 | |
12663 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
12664 | |
5095 | 12665 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 12666 |
12667 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
12668 operations directly in step 2 and reverse step 2. | |
12669 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
12670 operations directly in step 2 and reverse step 2. | |
12671 | |
3465 | 12672 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
12673 | |
12674 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
12675 | |
12676 * strptime.c: New file, from glibc 2.1.2. | |
12677 * Makefile.in (SOURCES): Add strptime.c to the list. | |
12678 | |
3419 | 12679 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
12680 | |
12681 * MArray.h (MArray <const Array<T>&)): New constructor. | |
12682 | |
3415 | 12683 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
12684 | |
12685 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
12686 NULL directory list returned from kpse_element_dirs | |
12687 | |
3375 | 12688 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
12689 | |
12690 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
12691 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
12692 directly, instead of calling ZGESV. | |
12693 | |
3358 | 12694 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
12695 | |
12696 * data-conv.cc (init_sized_type_lookup_table): New function. | |
12697 (string_to_data_type): Use it to improve lookup of data types. | |
12698 | |
3354 | 12699 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
12700 | |
12701 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
12702 * Array2.h (is_symmetric): Delete declaration. | |
12703 | |
3347 | 12704 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
12705 | |
12706 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
12707 | |
3344 | 12708 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
12709 | |
12710 * oct-time.cc (Fstrftime): Undo previous change. | |
12711 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
12712 | |
3334 | 12713 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
12714 | |
3336 | 12715 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
12716 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
12717 | |
3334 | 12718 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
12719 Don't forget to pass length of third string argument to dgeesx. | |
12720 | |
12721 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
12722 of third string argument to zgeesx. | |
12723 | |
3333 | 12724 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
12725 | |
12726 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
12727 On errors, simply return `T ()'. | |
12728 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
12729 | |
5095 | 12730 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 12731 |
12732 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
12733 AEPBALANCE class. | |
12734 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
12735 | |
3325 | 12736 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
12737 | |
12738 * oct-shlib.cc, oct-shlib.h: New files. | |
12739 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
12740 | |
3322 | 12741 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
12742 | |
12743 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
12744 * dRowVector.cc (linspace): Ditto. | |
12745 | |
12746 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
12747 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
12748 | |
3312 | 12749 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
12750 | |
12751 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
12752 to evaluate the Jacobian, set info(4), not iwork(4). | |
12753 Set rwork(1) to the maximum step size, not rwork(2). | |
12754 | |
3290 | 12755 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
12756 | |
12757 * oct-time.cc: Include <climits>. | |
12758 | |
3281 | 12759 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
12760 | |
12761 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
12762 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
12763 (gnu_readline::do_resize_terminal): New function. | |
12764 | |
3268 | 12765 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12766 | |
12767 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
12768 * lo-ieee.c: Likewise. | |
12769 Delete extern "C" declarations for infinity and quiet_nan. | |
12770 | |
3262 | 12771 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12772 | |
3263 | 12773 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
12774 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
12775 `inline', not `static inline'. | |
12776 | |
3262 | 12777 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
12778 then cast to const int * to compare. | |
12779 | |
3257 | 12780 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12781 | |
12782 * DAEFunc.h: Remove useless preprocessor conditional. | |
12783 | |
3255 | 12784 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12785 | |
3257 | 12786 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
12787 Use octave_time object instead of time_t. | |
12788 | |
12789 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
12790 file_stat::fs_ctime): Now octave_time objects. | |
12791 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
12792 Return octave_time objects. | |
12793 (file_stat::is_newer): Args are now octave_time objects instead of | |
12794 time_t. | |
12795 | |
3255 | 12796 * oct-time.h (octave_time::as_double): Delete. |
12797 (octave_time::operator double ()): New function. | |
12798 (octave_time::operator time_t ()): New function. | |
12799 (octave_time::ctime): New function. | |
12800 (octave_base_tm::strftime): Renamed from format_as_string. | |
12801 (octave_base_tm::asctime): New function. | |
12802 (operator == (const octave_time&, const octave_time&), | |
12803 operator != (const octave_time&, const octave_time&), | |
12804 operator < (const octave_time&, const octave_time&), | |
12805 operator <= (const octave_time&, const octave_time&), | |
12806 operator > (const octave_time&, const octave_time&), | |
12807 operator >= (const octave_time&, const octave_time&)): | |
12808 New comparison functions. | |
12809 | |
12810 * strftime.c: Move here from src directory. | |
12811 * Makefile.in (SOURCES): Add it to the list. | |
12812 | |
12813 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
12814 | |
3253 | 12815 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12816 | |
12817 * oct-time.h, oct-time.cc: New files. | |
12818 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
12819 | |
12820 * systime.h: Move here from src directory. | |
12821 * Makefile.in (INCLUDES): Add it to the list. | |
12822 | |
3248 | 12823 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12824 | |
12825 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
12826 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
12827 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
12828 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
12829 | |
12830 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
12831 | |
3243 | 12832 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12833 | |
12834 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
12835 | |
12836 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12837 | |
12838 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
12839 column vector for A(:), for compatibility with Matlab. | |
12840 | |
12841 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12842 | |
12843 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
12844 iopt when there are optional inputs in rwork or iwork. | |
12845 | |
3238 | 12846 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12847 | |
12848 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
12849 creating static libs. | |
12850 | |
5095 | 12851 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 12852 |
12853 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
12854 and uint32 data types. | |
12855 | |
12856 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12857 | |
12858 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
12859 for Linux. Remove old Linux-specific code. | |
12860 | |
3233 | 12861 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
12862 | |
12863 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
12864 Don't require lengths to be equal. | |
12865 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
12866 ComplexRowVector& a)): Likewise | |
12867 | |
5095 | 12868 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 12869 |
12870 * statdefs.h: Only define mode_t if not already defined. | |
12871 | |
5095 | 12872 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 12873 |
12874 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
12875 when appropriate. | |
12876 | |
12877 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12878 | |
12879 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
12880 before calling rl_initialize. | |
12881 | |
3220 | 12882 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12883 | |
12884 * lo-specfun.cc (besselh, airy, biry): New functions. | |
12885 Update Bessel function support to use library by D. E. Amos. | |
12886 | |
3219 | 12887 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12888 | |
12889 * cmd-edit.h (command_editor::readline): Add new variation that | |
12890 allows EOF information to be passed back to caller. | |
12891 | |
12892 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
12893 amount of data to read is unspecified. | |
12894 | |
3215 | 12895 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12896 | |
3219 | 12897 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
12898 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
12899 | |
9967 | 12900 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
3215 | 12901 Add volatile qualifier to void* arg. |
12902 Cast volatile void* arg to volatile char*. | |
12903 | |
12904 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12905 | |
12906 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
12907 (command_editor::do_restore_event_hook): Ditto. | |
12908 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
12909 (command_editor::restore_event_hook): Ditto. | |
12910 (gnu_readline::do_set_event_hook): Ditto. | |
12911 (gnu_readline::do_restore_event_hook): Ditto. | |
12912 (gnu_readline::previous_event_hook): New data member. | |
12913 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
12914 | |
3206 | 12915 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12916 | |
12917 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
12918 | |
12919 * Makefile.in (stmp-pic): New target. | |
12920 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
12921 (clean): Remove stmp-pic | |
12922 | |
12923 * Makefile.in: Undo previous change to avoid optmization when | |
12924 compiling lo-ieee.cc. | |
12925 | |
12926 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12927 | |
12928 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
12929 imaginary parts. | |
12930 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
12931 | |
3203 | 12932 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12933 | |
12934 * boolMatrix.cc (boolMatrix::operator !): New function. | |
12935 | |
3196 | 12936 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12937 | |
12938 * pathsearch.h (dir_path::default_path): New data member. | |
12939 * pathsearch.cc (dir_path::init): Use it. | |
12940 | |
12941 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
12942 | |
3189 | 12943 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12944 | |
12945 * chMatrix.cc (charMatrix::extract): New function. | |
12946 (charMatrix::charMatrix (char c)): New constructor. | |
12947 | |
12948 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12949 | |
12950 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
12951 * cmd-edit.cc (command_editor::read_init_file): New function. | |
12952 (gnu_readline::do_read_init_file): Likewise. | |
12953 | |
3185 | 12954 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12955 | |
9967 | 12956 * oct-env.cc (octave_env::do_get_home_directory): |
3185 | 12957 If HOME can't be found, set it to "/". |
12958 (octave_env::do_get_user_name) | |
12959 If user name can't be found, set it to "unknown". | |
12960 (octave_env::do_get_host_name) | |
12961 If host name can't be found, set it to "unknown". | |
12962 | |
12963 * pathsearch.h (dir_path::rehash): New function. | |
12964 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
12965 diretcory cache before doing initialization. | |
12966 | |
3180 | 12967 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
12968 | |
3185 | 12969 * dMatrix.cc (Qzval): Delete. |
12970 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
12971 * dMatrix.h (Qzval): Delete declaration. | |
12972 | |
12973 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
12974 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
12975 * mx-ext.h: Don't include dbleGEPBAL. | |
12976 | |
3180 | 12977 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
12978 static_cast. | |
12979 | |
12980 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12981 | |
12982 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
12983 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
12984 | |
12985 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12986 | |
12987 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
12988 HUGE_VAL and NAN. | |
12989 | |
12990 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12991 | |
12992 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
12993 Handle x(i) = scalar for do_fortran_indexing == 1. | |
12994 | |
12995 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
12996 | |
12997 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
12998 Alloctate space before attempting to use it. | |
12999 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
13000 | |
5095 | 13001 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 13002 |
13003 * EIG.cc (EIG::init): Move invariant code outside loop. | |
13004 | |
13005 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13006 | |
13007 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
13008 have the same size as the operands. | |
9967 | 13009 |
3178 | 13010 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13011 | |
13012 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
13013 call to ddassl, set integration_error to 1 before calling the | |
13014 error handler and returning. | |
13015 * LSODE.cc (LSODE::do_integrate): Likewise. | |
13016 | |
3177 | 13017 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13018 | |
13019 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
13020 do_fortran_indexing is set, A([]) = scalar. | |
13021 * Array-idx.h (assign): Allow A([]) = scalar. | |
13022 | |
3176 | 13023 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13024 | |
13025 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
13026 if dm_nc == 0. | |
13027 | |
3174 | 13028 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13029 | |
13030 * pathsearch.h (dir_path::p_orig): New field. | |
13031 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
13032 expansion on the original path here. | |
13033 (dir_path::find_all): Don't do anything if not initialized. | |
13034 | |
3164 | 13035 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13036 | |
13037 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
13038 is not set. | |
13039 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
13040 | |
13041 * lo-specfun.cc (gammainc): Use dgamit to compute | |
13042 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
13043 \int_0^x exp(-t) t^(a-1) dt. | |
13044 | |
13045 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13046 | |
13047 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
13048 Array-s.cc: Change return types of all `assign' explicit | |
13049 instantiations to be int, not void, to match the template decl in | |
13050 Array.h. | |
13051 | |
3162 | 13052 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13053 | |
13054 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
13055 | |
3156 | 13056 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13057 | |
13058 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
13059 * lo-mappers.cc: Not here. | |
13060 | |
13061 * lo-specfun.h: Declare xgamma and xlgamma here. | |
13062 * lo-mappers.h: Not here. | |
13063 | |
13064 * lo-specfun.h: Never declare gamma or lgamma. | |
13065 | |
3154 | 13066 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13067 | |
13068 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
13069 empty matrix of any dimension. | |
13070 | |
3145 | 13071 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13072 | |
3147 | 13073 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
13074 | |
3146 | 13075 * lo-specfun.cc: Don't include dbleBessel.h. |
13076 | |
13077 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
13078 | |
3145 | 13079 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
13080 * file-stat.h (file_stat::operator bool ()): Likewise. | |
13081 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
13082 * oct-group.h (octave_group::operator bool ()): Likewise. | |
13083 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
13084 | |
13085 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
13086 Don't cast arg in call to swap_8_bytes. | |
13087 (IEEE_big_double_to_IEEE_little_double): Ditto | |
13088 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
13089 swap_4_bytes. | |
13090 (IEEE_little_float_to_IEEE_big_float): Ditto | |
13091 | |
13092 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
13093 * prog-args.cc (prog_args::getopt): Likewise. | |
13094 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
13095 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
13096 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
13097 Likewise. | |
13098 | |
13099 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
13100 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
13101 | |
3141 | 13102 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13103 | |
13104 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
13105 Use $(mk-libdir-link). | |
13106 | |
13107 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
13108 not SAFE_STAT and SAFE_LSTAT. | |
13109 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
13110 * safe-xstat.hin, safe-xstat.cin: Delete. | |
13111 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
13112 safe-lstat.h, and safe-lstat.cc. | |
13113 | |
3136 | 13114 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13115 | |
13116 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
13117 | |
3130 | 13118 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
13119 | |
13120 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9967 | 13121 trace is negative. |
3130 | 13122 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
13123 the real part of the trace is negative. | |
13124 | |
13125 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13126 | |
13127 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
13128 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
13129 | |
13130 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
13131 to succeed. | |
13132 | |
3125 | 13133 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13134 | |
13135 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
13136 (make_uniq): Likewise. | |
13137 | |
13138 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13139 | |
13140 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
13141 | |
3119 | 13142 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13143 | |
3121 | 13144 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
13145 | |
13146 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 13147 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
13148 | |
3121 | 13149 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
13150 oct-math.h: Delete. | |
13151 * Makefile.in (SOURCES): Delete them from the list. | |
13152 | |
3112 | 13153 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13154 | |
13155 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
13156 | |
5095 | 13157 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 13158 |
13159 Changes to make support egcs snapshots that implement explicit | |
13160 specification of template functions according to CD2. | |
13161 | |
13162 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
13163 template function specs for template friends. | |
13164 * MArray2.h: Likewise. | |
13165 * MDiagArray2.h: Likewise. | |
13166 | |
3095 | 13167 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13168 | |
13169 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
13170 | |
3092 | 13171 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
13172 | |
9967 | 13173 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
3092 | 13174 to complex<double>(int) instead of complex<double>(double). |
13175 | |
13176 * lo-mappers.cc (atanh): Ditto. | |
13177 | |
3079 | 13178 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13179 | |
13180 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
13181 * idx-vector.h (idx_vector::sort): Ditto. | |
13182 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
13183 trying to delete elements specified by the index vectors. | |
13184 | |
3075 | 13185 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13186 | |
13187 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
13188 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
13189 | |
3074 | 13190 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13191 | |
13192 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
13193 | |
3069 | 13194 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13195 | |
13196 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
13197 Call error handler if we can't find the current directory. | |
13198 | |
3068 | 13199 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13200 | |
3069 | 13201 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
13202 (xfinite (double)): Ditto. | |
13203 | |
3068 | 13204 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
13205 * CmplxQR.cc (ComplexQR::init): Ditto. | |
13206 | |
3056 | 13207 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13208 | |
13209 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
13210 compatible with Matlab. | |
13211 | |
3050 | 13212 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13213 | |
13214 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
13215 single colon. | |
13216 | |
3040 | 13217 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13218 | |
3049 | 13219 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
13220 (xgamma): Likewise, for calling xdgamma. | |
13221 | |
3042 | 13222 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
13223 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
13224 | |
3040 | 13225 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
13226 to do better job expanding tildes. | |
13227 | |
13228 * str-vec.cc (string_vector::string_vector (const char * const *): | |
13229 Use temporary variable to compute length. | |
13230 | |
3029 | 13231 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13232 | |
3034 | 13233 * Makefile.in: Make building of static library optional. |
3036 | 13234 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 13235 |
3029 | 13236 * Makefile.in (stamp-picdir): Delete. |
13237 (pic): New target. Don't worry so much about creating pic | |
13238 directory only when it is really needed. | |
13239 (stamp-interp): Delete. | |
13240 (libraries): New target. Depend on shared library directly. | |
13241 | |
3024 | 13242 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13243 | |
13244 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
13245 New static function. | |
13246 | |
3012 | 13247 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13248 | |
13249 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
13250 | |
3004 | 13251 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13252 | |
13253 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
13254 set_basic_quote_characters, to match new version of readline. | |
13255 | |
13256 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
13257 for restoring terminal state through rl_deprep_term_function, now | |
13258 declared in readline.h | |
13259 (rl_deprep_terminal): Delete declaration. | |
13260 | |
2993 | 13261 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13262 | |
13263 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
13264 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
13265 | |
2968 | 13266 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13267 | |
13268 * cmd-edit.cc (command_editor::increment_current_command_number): | |
13269 New static function. | |
13270 | |
2964 | 13271 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13272 | |
2966 | 13273 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
13274 the vector is not sorted. | |
13275 | |
2964 | 13276 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
13277 * dMatrix.cc (Matrix::operator !): Likewise | |
13278 | |
2941 | 13279 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13280 | |
13281 * oct-syscalls.h, oct-syscalls.cc: New files. | |
13282 | |
13283 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
13284 | |
13285 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
13286 | |
2938 | 13287 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13288 | |
2941 | 13289 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
13290 (install-inc): Use it. | |
13291 | |
2938 | 13292 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
13293 Handle errors and missing functions consistently. | |
13294 | |
13295 * oct-group.h, oct-group.cc: New files. | |
13296 | |
13297 * oct-passwd.cc: Handle errors and missing functions consistently. | |
13298 | |
13299 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
13300 | |
2934 | 13301 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13302 | |
13303 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
13304 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
13305 | |
13306 * oct-passwd.h, oct-passwd.cc: New files. | |
13307 | |
2926 | 13308 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13309 | |
13310 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
13311 | |
13312 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
13313 (instance_ok ()): New function. | |
13314 | |
13315 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
13316 | |
13317 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
13318 | |
13319 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
13320 src/utils.h and src/utils.cc. | |
13321 (octave_fgets): New function, extracted from src/input.cc. | |
13322 | |
13323 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
13324 GNU readline, and allow Octave to work without GNU readline. | |
13325 | |
13326 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
13327 system-dependent functions. | |
13328 | |
13329 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
13330 | |
13331 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
13332 from file-ops.h and file-ops.cc and move here. | |
13333 | |
13334 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
13335 tilde_expand functions here from src/dirfns.cc. | |
13336 | |
13337 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13338 | |
13339 * pathlen.h: New file, from ../src. | |
13340 | |
2917 | 13341 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13342 | |
13343 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
13344 out-of-bounds indexing of the index array. | |
13345 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
13346 | |
2850 | 13347 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13348 | |
13349 * LSODE.h (x_step_limit): New field. | |
13350 (LSODE_options::init): Initialize it. | |
13351 (LSODE_options::copy): Copy it. | |
13352 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
13353 New functions. | |
13354 (LSODE::working_too_hard): Delete. | |
13355 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
13356 | |
2844 | 13357 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13358 | |
13359 * MArray-b.cc: Delete. | |
13360 * Makefile.in: Delete it from the lists. | |
13361 | |
13362 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
13363 MArray2, since most of the numeric ops don't really make sense. | |
13364 | |
2829 | 13365 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13366 | |
2832 | 13367 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
13368 | |
13369 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
13370 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
13371 | |
2830 | 13372 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
13373 idx_vector::freeze): Delete prefer_zero_one arg. | |
13374 * Array-idx.h, Array2-idx.h: Change all callers. | |
13375 | |
13376 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
13377 | |
2829 | 13378 * mx-op-defs.h: New file for operator definitions. |
13379 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
13380 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
13381 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
13382 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
13383 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
13384 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
13385 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
13386 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
13387 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
13388 mx-s-cm.cc, mx-s-dm.cc: | |
13389 New files for mixed-type operations. | |
13390 * Makefiles.in: Add them to the appropriate lists. | |
13391 | |
13392 * mx-inlines.cc: Add bool by bool EQ ops. | |
13393 | |
13394 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
13395 boolMatrix types. | |
13396 (idx_vector::maybe_convert_one_zero_to_idx, | |
13397 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
13398 Delete second arg, prefer_zero_one. Change all callers. | |
13399 | |
13400 * boolMatrix.h, boolMatrix.cc: New files. | |
13401 * mx-base.h: Include boolMatrix.h here. | |
13402 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
13403 | |
13404 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
13405 | |
13406 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
13407 operator-, operator*, product, and quotient functions. | |
13408 Add constructor for boolMatrix type. | |
13409 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
13410 product, and quotient functions. | |
13411 | |
13412 * CDiagMatrix.h: Delete friend declarations for operator+, | |
13413 operator-, and product functions. | |
13414 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
13415 | |
13416 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
13417 | |
2815 | 13418 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13419 | |
13420 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
13421 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
13422 (EIG::symmetric_init (const Matrix&)): New function. | |
13423 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
13424 | |
13425 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
13426 | |
13427 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13428 | |
13429 * Array2.cc (is_symmetric): New function. | |
13430 * Array2.h (is_square): New function. | |
13431 | |
2811 | 13432 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13433 | |
13434 * Makefile.in (install-strip): New target. | |
13435 | |
2804 | 13436 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13437 | |
13438 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
13439 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
13440 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
13441 dbleSVD.cc: Don't include mx-inlines.cc. | |
13442 | |
13443 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
13444 duplicate code. | |
13445 | |
2800 | 13446 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13447 | |
2804 | 13448 * dbleQR.h (QR): Delete extra comma at end of list. |
13449 | |
13450 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
13451 | |
13452 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
13453 | |
13454 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
13455 idx_vecotr_rep:: qualifiers. | |
13456 | |
13457 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
13458 | |
13459 * data-conv.h (save_type): Delete extra comma at end of list. | |
13460 | |
2800 | 13461 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
13462 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
13463 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
13464 old C-style `(T) val' casts. | |
13465 | |
2795 | 13466 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13467 | |
13468 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
13469 just breaking out of the innermost loop. | |
13470 * CMatrix.cc (operator >>): Likewise. | |
13471 | |
2779 | 13472 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 13473 |
13474 * Version 2.0.5 released. | |
13475 | |
2767 | 13476 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13477 | |
13478 * CmplxQR.cc (ComplexQR::init): New function. | |
13479 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
13480 * CmplxQRP.cc (ComplexQRP::init): New function. | |
13481 Get sizes right in all cases. | |
13482 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
13483 | |
13484 * dbleQR.cc (QR::init): New function. | |
13485 (QR::QR): Use it. Use initializer list too. | |
13486 * dbleQRP.cc (QRP::init): New function. | |
13487 Get sizes right in all cases. | |
13488 (QR::QRP): Use it. Use initializer list too. | |
13489 | |
2759 | 13490 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13491 | |
13492 * mach-info.cc (oct_mach_info::string_to_float_format): | |
13493 Recognize "vaxg", not "vax_g". | |
13494 | |
2713 | 13495 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13496 | |
2714 | 13497 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
13498 dimension in check for colon equivalent index. | |
13499 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
13500 index whose value is 0 is also colon eqivalent for n == 1. | |
13501 | |
2713 | 13502 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
13503 system-specific tests first. | |
13504 | |
2709 | 13505 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 13506 |
13507 * Version 2.0.4 released. | |
13508 | |
13509 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13510 | |
13511 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
13512 | |
2693 | 13513 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 13514 |
13515 * Version 2.0.3 released. | |
13516 | |
2686 | 13517 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13518 | |
13519 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
13520 | |
2673 | 13521 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13522 | |
2676 | 13523 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
13524 (all): Don't depend on stamp-prereq or stamp-picdir. | |
13525 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
13526 (stamp-picdir): Silence noise about making pic. | |
13527 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
13528 | |
2673 | 13529 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9967 | 13530 Fix typo in last change. |
2673 | 13531 |
13532 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
13533 Convert from friend (moved from dColVector.cc). | |
13534 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
13535 Likewise (moved from dMatrix.cc). | |
13536 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
13537 Likewise (moved from dRowVector.cc). | |
13538 | |
13539 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
13540 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
13541 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
13542 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
13543 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
13544 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
13545 | |
13546 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
13547 * dMatrix.cc (Matrix::apply): Likewise. | |
13548 * dRowVector.cc (RowVector::apply): Likewise. | |
13549 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
13550 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
13551 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
13552 | |
2668 | 13553 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13554 | |
13555 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
13556 | |
13557 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13558 | |
13559 * file-ops.cc (oct_unlink (const string&, string&)): | |
13560 New two-arg version. | |
13561 (oct_rmdir (const string&, string&)): New two-arg version. | |
13562 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
13563 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
13564 (oct_rename (const string&, const string&, string&)): | |
13565 New three-arg version. | |
13566 | |
2663 | 13567 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13568 | |
13569 * idx-vector.h (idx_vector::orig_empty): New function. | |
13570 | |
13571 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
13572 Don't always resize to [](0x0) if one of the indices is empty or | |
13573 zero. | |
13574 | |
2658 | 13575 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13576 | |
13577 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
13578 Set line_in_file here too. | |
13579 (command_history::read_range): New arg, must_exist. | |
13580 | |
2651 | 13581 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13582 | |
13583 * f2c-main.c: Change C++-style comments to C-style comments. | |
13584 | |
2638 | 13585 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13586 | |
13587 * Makefile.in (install-inc): Create a relative symbolic link. | |
13588 | |
2634 | 13589 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13590 | |
13591 * Version 2.0.2 released. | |
13592 | |
2624 | 13593 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13594 | |
13595 * Makefile.in (bin-dist): New target. | |
13596 | |
2621 | 13597 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13598 | |
13599 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
13600 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
13601 | |
2613 | 13602 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13603 | |
13604 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
13605 If the number of columns is zero, also set the number of rows to zero. | |
13606 (charMatrix::charMatrix (const char *)): Likewise. | |
13607 | |
2602 | 13608 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13609 | |
13610 * Version 2.0.1 released. | |
13611 | |
2601 | 13612 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
13613 | |
13614 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
13615 columns for resizing when the number of rows is specified but the | |
13616 number of columns is not. | |
13617 | |
2598 | 13618 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13619 | |
2599 | 13620 * Range.cc (operator -): New function. |
13621 | |
2598 | 13622 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
13623 | |
2589 | 13624 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13625 | |
13626 * Array2-idx.h (assign): Delay resizing left hand side until we | |
13627 know if the assignment conforms. | |
13628 | |
2583 | 13629 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13630 | |
13631 * Version 2.0 released. | |
13632 | |
2570 | 13633 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13634 | |
2575 | 13635 * Array2-idx.h (assign): If index is a colon, set number of |
13636 elements to the lhs dimension if the lhs dimension is greater than | |
13637 zero. Otherwise, set it to the rhs dimension. | |
13638 | |
13639 * Version 1.94. | |
13640 | |
2570 | 13641 * Array2-idx.h (assign): Test for rhs scalar case first. |
13642 If index is colon, set number of elements to lhs dimension, not | |
13643 rhs dimension. | |
13644 | |
2563 | 13645 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13646 | |
2566 | 13647 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
13648 * sun-utils.cc: Delete. | |
13649 * f2c-main.c: New file | |
13650 | |
13651 * Makefile.in: Fix file name lists. | |
13652 | |
2563 | 13653 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
13654 | |
2561 | 13655 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13656 | |
13657 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
13658 Create result using Complex constructor, not multiplication. | |
13659 Order elements as they are returned from Eispack. | |
13660 | |
2559 | 13661 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13662 | |
2560 | 13663 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
13664 Only include nan.h if SCO is defined. Define _IEEE before | |
13665 including it and undefine it afterward. | |
13666 [SCO] (isnan): Don't mistake Inf as NaN. | |
13667 | |
2559 | 13668 * Array-idx.h (assign): Only resize if assignment conforms. |
13669 | |
2551 | 13670 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13671 | |
13672 * Makefile.in (INCLUDES): Delete lo-error.h. | |
13673 * lo-error.h: Delete (moved to libcruft/misc). | |
13674 | |
13675 * Version 1.93. | |
13676 | |
2546 | 13677 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13678 | |
2549 | 13679 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
13680 be the same as they are in fnmatch.h. | |
13681 | |
2546 | 13682 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
13683 | |
13684 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
13685 (SOURCES): Delete f77-fcn.c. | |
13686 | |
2522 | 13687 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13688 | |
13689 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
13690 | |
2512 | 13691 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13692 | |
13693 * Version 1.92. | |
13694 | |
2508 | 13695 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13696 | |
2512 | 13697 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
13698 lines that have only carriage return or newline. | |
13699 | |
2508 | 13700 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
13701 | |
2500 | 13702 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13703 | |
13704 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
13705 (IDX_VEC_REP::idx_vector_rep): Use it. | |
13706 | |
2493 | 13707 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13708 | |
13709 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
13710 from vectors of C strings. | |
13711 | |
13712 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
13713 vector. | |
13714 (glob_match::match): Allow match string to be a string vector. | |
13715 (glob_match::glob): New function. | |
13716 | |
13717 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
13718 | |
13719 * Array-b.cc: New file. | |
13720 * Makefile.in (TI_SRC): Add it to the list. | |
13721 | |
2492 | 13722 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13723 | |
13724 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
13725 and safe-stat.h, to avoid getting them from $srcdir when we really | |
13726 want the version from the build directory. (Maybe this should be | |
13727 done for all the include files, not just those that are | |
13728 auto-generated? Hmm.) | |
13729 | |
2481 | 13730 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13731 | |
2482 | 13732 * Version 1.91. |
13733 | |
2481 | 13734 * Array3.cc (Array3<T>::resize): Make it work. |
13735 | |
13736 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13737 | |
13738 * oct-alloc.h, oct-alloc.cc: New files. | |
13739 * Makefile.in: Add them to the lists. | |
13740 | |
13741 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13742 | |
13743 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
13744 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
13745 | |
2466 | 13746 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13747 | |
13748 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
13749 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
13750 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9967 | 13751 underlying macro is not defined. |
2466 | 13752 |
13753 * oct-math.h (lgamma, gamma): Delete declarations. | |
13754 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
13755 Protect declarations with #ifdef HAVE_*. | |
13756 | |
2440 | 13757 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13758 | |
2452 | 13759 * Version 1.90. |
13760 | |
13761 * Makefile.in (DISTFILES): Add ChangeLog. | |
13762 | |
2444 | 13763 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
13764 | |
13765 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
13766 | |
2443 | 13767 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 13768 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
13769 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 13770 |
2440 | 13771 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
13772 since that is now accepatble syntax, even for built-in types. | |
13773 * Array2.h (T Array2<T>::checkelem): Likewise | |
13774 | |
2433 | 13775 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13776 | |
13777 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
13778 message and return -1. | |
13779 | |
2428 | 13780 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13781 | |
2431 | 13782 * str-vec.h (str_vec_compare): Declare args as const void *, then |
13783 cast them to const string * in the body of the function. | |
13784 | |
13785 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
13786 string from buf. | |
13787 | |
2428 | 13788 * Array3.h (Array3::checkelem): Tag bogus return value with |
13789 GCC_ATTRIBUTE_UNUSED. | |
13790 * Array2.h (Array2::checkelem): Likewise. | |
9967 | 13791 |
2424 | 13792 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13793 | |
13794 * Quad.h (Quad): Define virtual destructor. | |
13795 | |
2408 | 13796 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13797 | |
13798 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
13799 | |
2401 | 13800 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13801 | |
13802 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
13803 and MAIN__ extern "C". | |
13804 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
13805 | |
2391 | 13806 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13807 | |
13808 * MArray-misc.cc: New file. | |
13809 * Makefile.in (MATRIX_SRC): Add it to the list. | |
13810 | |
13811 * mx-inlines.cc (equal): Return bool, not int. | |
13812 | |
13813 * idx-vector.h (idx_vector (double)): New constructor. | |
13814 | |
13815 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
13816 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
13817 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
13818 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
13819 CRowVector.cc: Logical operators return bool, not int. | |
13820 | |
13821 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
13822 New function. | |
13823 | |
13824 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
13825 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
13826 Matrix::all_elements_are_inf_or_nan): New functions. | |
13827 | |
13828 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
13829 | |
13830 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
13831 for errors. Simplify macros by converting FCN to string for error | |
13832 messages. | |
13833 | |
13834 * Array-idx.h (Array<T>::index): New function. Don't call | |
13835 clear_index() here. | |
13836 (Array<T>::value): Call it, do call clear_index() here. | |
13837 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
13838 one and two arg index functions. | |
13839 | |
13840 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13841 | |
13842 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
13843 separate implementation file. | |
13844 | |
2354 | 13845 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13846 | |
2358 | 13847 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
13848 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
13849 | |
2356 | 13850 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
13851 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
13852 them uniq. | |
13853 | |
2354 | 13854 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
13855 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
13856 Rewrite. Also return index as a reference arg. | |
13857 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
13858 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
13859 Delete. | |
13860 | |
13861 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
13862 Matrix::column_max, Matrix::column_min): | |
13863 Rewrite. Also return index as a reference arg. | |
13864 (Matrix::row_max_loc, Matrix::row_min_loc, | |
13865 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
13866 | |
13867 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13868 | |
13869 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
13870 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
13871 Matrix::column_min_loc, Matrix::column_max, | |
13872 Matrix::column_max_loc): Ignore leading NaNs. | |
13873 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
13874 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
13875 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
13876 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
13877 leading NaNs. | |
13878 | |
2352 | 13879 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13880 | |
13881 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
13882 starting at n, not 0. | |
13883 | |
2349 | 13884 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13885 | |
13886 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
13887 Matrix::Matrix (const ColumnVector&)): New constructors. | |
13888 | |
13889 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
13890 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
13891 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
13892 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
13893 New constructors. | |
13894 | |
13895 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
13896 New constructor. | |
13897 | |
2343 | 13898 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13899 | |
13900 * LSODE.cc (do_integrate): Check to make sure that the state and | |
13901 derivative vectors are the same size. | |
2344 | 13902 * DASSL.cc (do_integrate): Likewise. |
2343 | 13903 |
2330 | 13904 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
13905 | |
13906 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
13907 iostreams and handler data format conversions. Delete old methods | |
13908 that used stdio. | |
13909 | |
13910 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
13911 | |
13912 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13913 | |
13914 * mach-info.h: Rename from float-fmt.h. | |
13915 * mach-info.cc: Rename from float-fmt.cc. | |
13916 Handle machine information using a singlton class. | |
13917 * Makefile.in: Update appropriate lists. | |
13918 | |
13919 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13920 | |
13921 * Array-flags.cc: Provide definitions for the flags even if | |
13922 OCTAVE_SOURCE is not defined. | |
13923 | |
13924 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
13925 operator(), not elem(). | |
13926 * Array3.h: Move indexing methods here from Array3.cc. | |
13927 | |
13928 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13929 | |
13930 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
13931 | |
13932 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
13933 INSTALL_DATA for shared libs. | |
13934 | |
13935 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13936 | |
13937 * Quad.cc: Include lo-error.h here too. | |
13938 | |
13939 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13940 | |
13941 * file-ops.h: Include sys/types.h here. | |
13942 | |
13943 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13944 | |
13945 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
13946 | |
13947 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
13948 elements in result. | |
13949 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
13950 rows and columns in result. | |
13951 | |
13952 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13953 | |
13954 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
13955 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
13956 | |
13957 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13958 | |
13959 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
13960 | |
13961 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13962 | |
13963 * Makefile.in (uninstall): Also delete shared library. | |
13964 Split install into install-libs and install-includes. | |
13965 (install-inc): If linkdir is a directory, leave it alone. | |
13966 | |
13967 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
13968 | |
13969 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13970 | |
13971 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
13972 * Array2-idx.h (assign): Likewise. | |
13973 | |
13974 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13975 | |
13976 * Array2.cc (Array2<T>::range_error): New functions. | |
13977 | |
13978 * Array.h (class Array<T>): elem() and operator() are now | |
13979 equivalent, and do bounds checking by default. | |
13980 * Array2.cc (class Array2<T>): Likewise. | |
13981 | |
13982 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13983 | |
13984 * Makefile.in (maintainer-clean, distclean): Also delete | |
13985 stamp-picdir, stamp-shared, and pic directory. | |
13986 (stamp-prereq): New target. | |
13987 | |
13988 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
13989 | |
13990 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
13991 New function. | |
13992 | |
13993 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
13994 * Array.h (Array<T>::checkelem): Use them. | |
13995 | |
13996 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
13997 elements too. | |
13998 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
13999 | |
14000 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
14001 | |
14002 * Makefile.in (distclean): Delete so_locations, which is created | |
14003 on DEC Alpha systems. | |
14004 | |
14005 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14006 | |
14007 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
14008 already defined. | |
14009 | |
14010 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14011 | |
14012 * pathsearch.cc: Include config.h. | |
14013 | |
14014 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14015 | |
14016 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
14017 allow M(I, J) = scalar if I or J is empty. | |
14018 | |
14019 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
14020 and Array3-idx.h). | |
14021 | |
14022 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14023 | |
14024 * lo-error.h: Make comments C friendly. | |
14025 | |
14026 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14027 | |
14028 * Array2.h (make_unique): Move all indexing functions here. | |
14029 * Array2.cc: From here. | |
14030 | |
14031 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
14032 whether operator() calls elem or checkelem. | |
14033 | |
14034 * Array.h (make_unique): New private function. | |
14035 Move all indexing functions here. | |
14036 * Array.cc: From here. | |
14037 | |
14038 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
14039 it too. | |
14040 | |
14041 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
14042 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
14043 MArray-C.cc: Include config.h. | |
14044 | |
14045 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
14046 Don't define HEAVYWEIGHT_INDEXING here. | |
14047 | |
14048 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14049 | |
14050 * base-lu.h, base-lu.cc: New files. | |
14051 * Makefile.in: Add them to the appropriate lists. | |
14052 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
14053 | |
14054 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14055 | |
14056 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
14057 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
14058 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
14059 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
14060 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9967 | 14061 |
2330 | 14062 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
14063 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
14064 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
14065 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
14066 Simplify using new macros. | |
14067 | |
14068 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14069 | |
14070 * Makefile.in (install): If $(includedir) ends in version string, | |
14071 make link to name that does not include version info. | |
14072 | |
14073 * lo-ieee.cc: Include <cmath> here. | |
14074 | |
14075 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14076 | |
14077 * lo-ieee.cc, lo-ieee.h: New files. | |
14078 * lo-mappers.cc, lo-mappers.h: New files. | |
14079 * lo-utils.cc, lo-utils.h: New files. | |
14080 * Makefile.in: Add them to the appropriate lists. | |
14081 | |
14082 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14083 | |
14084 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
14085 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
14086 | |
14087 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
14088 float-fmt.cc: New files. | |
14089 * Makefile.in: Include them in the appropriate lists. | |
14090 | |
14091 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14092 | |
14093 * dMatrix.cc (Qzval): New function. | |
14094 | |
14095 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14096 | |
14097 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
14098 char*. | |
14099 | |
14100 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
14101 Use F77_XFCN to call Fortran subroutine. | |
14102 * dColVector.cc, CColVector.cc: Likewise. | |
14103 * dRowVector.cc, CRowVector.cc: Likewise. | |
14104 * NPSOL.h, NPSOL.cc: Likewise. | |
14105 * CmplxCHOL.cc: Likewise. | |
14106 * dbleCHOL.cc: Likewise. | |
14107 * CMatrix.cc: Likewise. | |
14108 * dMatrix.cc: Likewise. | |
14109 * QPSOL.cc: Likewise. | |
14110 * LSODE.cc: Likewise. | |
14111 | |
14112 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14113 | |
14114 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
14115 | |
14116 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
14117 workspace. Use F77_XFCN to call Fortran subroutine. | |
14118 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
14119 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
14120 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
14121 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
14122 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
14123 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
14124 * dbleHESS.h, dbleHESS.cc: Likewise. | |
14125 * dbleSVD.h, dbleSVD.cc: Likewise. | |
14126 * EIG.h, EIG.cc; Likewise. | |
14127 * CollocWt.cc: Likewise. | |
14128 * NLEqn.cc: Likewise. | |
14129 * Quad.cc: Likewise. | |
14130 | |
14131 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14132 | |
14133 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
14134 Use F77_XFCN to call Fortran subroutine. | |
14135 * CmplxLU.h, CmplxLU.cc: Ditto. | |
14136 * dbleQR.h, dbleQR.cc: Ditto. | |
14137 * CmplxQR.h, CmplxQR.cc: Ditto. | |
14138 * dbleQRP.h, dbleQRP.cc: Ditto. | |
14139 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
14140 | |
14141 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
14142 (struct DIR): delete forward declaration. | |
14143 (dir_entry::operator = (const dir_entry$)): Protect against | |
14144 copying same object. | |
14145 * dir-ops.cc: Cast dir appropriately. | |
14146 | |
14147 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14148 | |
14149 * lo-error.cc: Moved to libcruft/misc. | |
14150 * Makefile.in: Delete it from the list. | |
14151 | |
14152 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
14153 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
14154 | |
14155 * Array-flags.h: New file. | |
14156 * Array-idx.h: Include it here. | |
14157 * Makefile.in (MATRIX_INC): Add it to the list. | |
14158 | |
14159 * Array-flags.cc: Renamed from Array-ext.cc. | |
14160 (liboctave_dfi_flag): Renamed from dfi_flag. | |
14161 (liboctave_pcv_flag): Renamed from pcv_flag. | |
14162 (liboctave_pzo_flag): Renamed from pzo_flag. | |
14163 (liboctave_rre_flag): Renamed from rre_flag. | |
14164 * Array-idx.h: Change all uses of dfi_flag, etc. | |
14165 * Makefile.in (MATRIX_SRC): Change file name here too. | |
14166 | |
14167 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
14168 (stamp-shared): Use them here. | |
14169 | |
14170 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14171 | |
14172 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
14173 argument value. | |
14174 | |
14175 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14176 | |
14177 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
14178 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
14179 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
14180 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
14181 Clean up constructors, assigment operator. | |
14182 | |
14183 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14184 | |
14185 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
14186 Check f77_exception_encountered on return. | |
14187 | |
14188 * f77-fcn.c (f77_exception_encountered): New variable. | |
14189 (F77_XFCN): Set it. | |
14190 * f77-fcn.h: Provide declaration. | |
14191 | |
14192 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
14193 | |
14194 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
14195 | |
14196 * NLEqn.h (NLEqn_options::set_options): New function. | |
14197 * Quad.h (Quad_options::set_options): Likewise. | |
14198 | |
14199 * LP.h (class LP): Add accessors for LP data. | |
14200 | |
14201 * NLEqn.h (NLEqn::n): Delete. | |
14202 | |
14203 * NLEqn.h (class NLEqn::n): Likewise. | |
14204 | |
14205 * NLP.h (class NLP): Add accessors for NLP data. | |
14206 | |
14207 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
14208 access functions here. | |
14209 * NPSOL.cc.cc: From here. | |
14210 | |
14211 * QLD.h (class QLD): Add destructor definition. | |
14212 * Objective.h (class Objective): Likewise. | |
14213 * ODEFunc.h (class ODEFunc): Likewise. | |
14214 * NLFunc.h (class NLFunc): Likewise. | |
14215 * NLEqn.h (class NLEqn): Likewise. | |
14216 * NLConst.h (class NLConst): Likewise. | |
14217 * LinConst.h (class LinConst): Likewise. | |
14218 * LSODE.h (class LSODE_options): Likewise. | |
14219 * CollocWt.h (class CollocWt): Likewise. | |
14220 * Bounds.h (class Bounds): Likewise. | |
14221 | |
14222 * QLD.cc (QLD::set_default_options): Delete. | |
14223 | |
14224 * QP.h (QP): Add accessors for QP data. | |
14225 Add copy constructor, operator =, and destructor definitions. | |
14226 | |
14227 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
14228 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
14229 DAEFunc.h, CollocWt.h, Bounds.h: | |
14230 Clean up constructors, assigment operator. | |
9967 | 14231 |
2330 | 14232 * dRowVector.cc (RowVector::transpose): Use magic of reference |
14233 counting to avoid duplicating the data immediately. | |
14234 * dColVector.cc (ColumnVector::transpose): Likewise. | |
14235 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
14236 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
14237 | |
14238 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14239 | |
14240 * prog-args.h (prog_args::option_argument): New enum. | |
14241 | |
14242 * f77-fcn.h: Rename from f77-uscore.h. | |
14243 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
14244 * f77-fcn.c: New file. | |
14245 * Makefile.in (SOURCES): Add it to the list. | |
14246 | |
14247 * ODEFunc.h: Clean up. | |
14248 | |
14249 * DASSL.cc, DASSL.h: New files. | |
14250 * Makefile.in: Add them to the appropriate lists. | |
14251 | |
14252 * LSODE.cc, LSODE.h: New files. | |
14253 * Makefile.in: Add them to the appropriate lists. | |
14254 | |
14255 * ODE.cc: Delete. | |
14256 * Makefile.in (SOURCES): Remove from list. | |
14257 | |
14258 * base-de.h, DAE.cc: New files. | |
14259 * Makefile.in: Add them to the appropriate lists. | |
14260 * ODE.h: Only define interface for ODE classes. | |
14261 * DAE.h: Only define interface for ODE classes. | |
14262 | |
14263 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
14264 (LPsolve::set_default_options)): Delete | |
14265 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
14266 destructor. | |
14267 | |
14268 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
14269 | |
14270 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
14271 (QPSOL::operator =): Call base class operator = instead of assuming | |
14272 we know what to copy. | |
14273 | |
14274 * base-min.h (size): New function. | |
14275 | |
14276 * NLP.h (NLP::size): Delete. | |
14277 (NLP::NLP (const NLP&)): New constructor. | |
14278 (NLP::operator =): Call base class operator = instead of assuming | |
14279 we know what to copy. | |
14280 | |
14281 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
14282 (class NPSOL): Add operator = and destructor. | |
14283 | |
14284 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
14285 | |
14286 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14287 | |
14288 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
14289 | |
14290 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14291 | |
14292 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
14293 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
14294 | |
14295 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14296 | |
14297 * prog-args.h, prog-args.cc: New files. | |
14298 * Makefile.in: Add them to lists. | |
14299 | |
14300 * getopt.h, getopt.c, getopt1.c: New files. | |
14301 * Makefile.in: Add them to the lists. | |
14302 | |
14303 * oct-term.h, oct-term.cc: New files. | |
14304 * Makefile.in: Add them to the lists. | |
14305 | |
14306 * str-vec.cc: New file. | |
14307 * Makefile.in (SOURCES): Add it to the list. | |
14308 | |
14309 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
14310 | |
14311 * tempname.c, tempnam.c: Move here from src directory. | |
14312 * Makefile.in: Add to lists. | |
14313 | |
14314 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14315 | |
14316 * cmd-hist.h, cmd-hist.cc: New files. | |
14317 * Makefile.in: Add them to lists. | |
14318 | |
14319 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14320 | |
14321 * oct-glob.h, oct-glob.cc: New files. | |
14322 * Makefile.in: Add them to lists. | |
14323 | |
14324 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14325 | |
14326 * pathsearch.h, pathsearch.cc: New files. | |
14327 * Makefile.in: Add them to lists. | |
14328 | |
14329 * dir-ops.h, dir-ops.cc: New files. | |
14330 * sysdir.h: Move here from src directory. | |
14331 * Makefile.in: Add them to lists. | |
14332 | |
14333 * Array.h (Array::qsort): Return *this, not void. | |
14334 * str-vec.h (string_vector::qsort): Likewise. | |
14335 | |
14336 * chMatrix.cc (row_as_string): Resize result to eliminate | |
14337 unnecessary NULs. | |
14338 | |
14339 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14340 | |
14341 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
14342 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
14343 Files moved here from src directory. | |
14344 * Makefile.in: Add them to lists. Include appropriate rules. | |
14345 | |
14346 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
14347 Use pointers, not references (this is C code!). | |
14348 | |
14349 * oct-math.h: New file. | |
14350 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
14351 Files moved here from src directory. | |
14352 * Makefile.in: Add them to lists. | |
14353 | |
14354 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14355 | |
14356 * idx-vector.cc (make_uniq): Fix major brain-o. | |
14357 | |
14358 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
14359 Convert to use string class instead of char*. | |
14360 | |
14361 * str-vec.h, Array-str.cc: New files. | |
14362 | |
14363 * Array.h (Array::qsort): New function. | |
14364 | |
14365 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14366 | |
14367 * Array.h: Nest ArrayRep class inside Array class. | |
14368 Refer to ArrayRep, not ArrayRep<T>. | |
14369 Move all ArrayRep functions inline. | |
14370 Don't declare other Array classes as friends of ArrayRep. | |
14371 * Array.cc: Delete ArrayRep functions. | |
14372 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
14373 | |
14374 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
14375 Don't instantiate ArrayRep objects. | |
14376 | |
14377 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14378 | |
14379 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
14380 New constructor. | |
14381 | |
14382 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14383 | |
14384 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
14385 for balance_job arg. | |
14386 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
14387 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
14388 | |
14389 * chMatrix.cc (row_as_string): Return string, not const char*. | |
14390 | |
14391 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14392 | |
14393 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
14394 | |
14395 * chMatrix.cc (row_as_string): Undo previous change. | |
14396 | |
14397 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14398 | |
14399 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
14400 is expected to save string if necessary. | |
14401 | |
14402 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14403 | |
14404 * Array.h (class DiagArray): Enable nested Proxy class for all | |
14405 platforms. | |
14406 | |
14407 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
14408 a.rep, don't mess with count. | |
14409 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
14410 don't do anything if reps are the same. | |
14411 (Array3<T>& operator = (const Array3<T>&) | |
14412 | |
14413 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
14414 Declare private with no definition to prevent misuse. | |
14415 | |
14416 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
14417 Get range check right. | |
14418 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
14419 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
14420 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
14421 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
14422 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
14423 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
14424 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
14425 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
14426 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
14427 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
14428 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
14429 * dColVector.cc | |
14430 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
14431 * CRowVector.cc | |
14432 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
14433 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
14434 * CColVector.cc | |
14435 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
14436 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
14437 | |
14438 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
14439 Also fill in zeros, not just the diagonal. | |
14440 | |
14441 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
14442 Use END parameter properly. | |
14443 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
14444 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
14445 | |
14446 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
14447 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
14448 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
14449 Don't copy count. Set it to 1. | |
14450 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
14451 | |
14452 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
14453 don't set rep->count to 1 here (now handled by ArrayRep | |
14454 constructors). | |
14455 (Array<T>::Array (void)): Ditto. | |
14456 (Array<T>::Array (int)): Ditto. | |
14457 (Array<T>::T& elem (int)): Ditto. | |
14458 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
14459 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
14460 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
14461 (Array<T>::resize (int)): Ditto. | |
14462 (Array<T>::resize (int, const T&)) :Ditto. | |
14463 (Array<T>::fortran_vec (void)): Ditto. | |
14464 (Array2<T>::resize (int, int)): Ditto. | |
14465 (Array2<T>::resize (int, int, const T&)): Ditto. | |
14466 (DiagArray<T>::resize (int, int)): Ditto. | |
14467 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
14468 | |
14469 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14470 | |
14471 * Array-ch.cc: Rename from Array-c.cc. | |
14472 * MArray-ch.cc: Rename from MArray-c.cc. | |
14473 * chMatrix.cc: Rename from cMatrix.cc. | |
14474 * chMatrix.h: Rename from cMatrix.h. | |
14475 * Makefile.in (TI_SRC): Use new names here. | |
14476 * mx-base.h: Likewise. | |
14477 | |
14478 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14479 | |
14480 * Makefile.in: Handle shared libraries. | |
14481 | |
14482 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14483 | |
14484 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
14485 Correctly compute length of return value. Correct rows and | |
14486 columns in zgemv call. | |
14487 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
14488 | |
14489 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14490 | |
14491 * Makefile.in (stamp-picdir): New target. | |
14492 (all): Depend on it. | |
14493 | |
14494 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14495 | |
14496 * Makefile.in (INCLUDES): Remove QLD.h. | |
14497 (SOURCES): Remove QLD.cc. | |
14498 | |
14499 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
14500 | |
14501 * dMatrix.cc (Matrix::inverse): New arg, force. | |
14502 If force is nonzero, invert even if matrix is singular. | |
14503 (ComplexMatrix::inverse): Likewise. | |
14504 | |
14505 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
14506 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
14507 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
14508 Include "oct-cmplx.h" instead of <Complex.h>. | |
14509 | |
14510 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
14511 for class Complex. | |
14512 | |
14513 * oct-cmplx.h: New file. | |
14514 * Makefile.in (INCLUDES): Add it to the list. | |
14515 | |
14516 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
14517 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
14518 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
14519 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
14520 Avoid g++ bugs. | |
14521 | |
14522 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14523 | |
14524 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
14525 | |
14526 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
14527 | |
14528 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14529 | |
14530 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
14531 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
14532 | |
14533 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14534 | |
14535 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
14536 index vector object with Array, not ArrayRep. | |
14537 | |
14538 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14539 | |
14540 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
14541 if index is a colon and resizing is maybe needed. | |
14542 | |
14543 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14544 | |
14545 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
14546 if we have a vector of 1's. | |
14547 | |
14548 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
14549 current orientation, require index and rhs to conform unless | |
14550 do_fortran_indexing flag is set. | |
14551 | |
14552 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14553 | |
14554 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
14555 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
14556 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
14557 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
14558 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
14559 Massive changes to support additional data types. Only charMatrix | |
14560 is currently used in Octave. | |
14561 | |
14562 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14563 | |
14564 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
14565 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
14566 Simply call Array2<Complex> version. | |
14567 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
14568 call Array2<double> version. | |
14569 | |
14570 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
14571 | |
14572 * Array.h, Array.cc: Massive overhaul to support new way of | |
14573 handling indexing. | |
14574 * idx-vector.h, idx-vector.cc: Likewise. | |
14575 * Array-ext.cc, Array-idx.h: New files. | |
14576 * Makefile.in: Add them to the appropriate lists. | |
14577 | |
14578 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14579 | |
14580 * Range.cc (nelem_internal): Use tfloor here, not round. | |
14581 | |
14582 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14583 | |
14584 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
14585 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
14586 | |
14587 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14588 | |
14589 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
14590 | |
14591 * Array.h: Move simple member functions here. | |
14592 * Array.cc: From here. | |
14593 | |
14594 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14595 | |
14596 * Range.cc (tfloor, tceil, round): New static functions. | |
14597 (Range::nelem_internal): Rewrite to use better method. | |
14598 | |
14599 * dbleSVD.h (SVD::type): New item, sigma_only. | |
14600 (type_computed): New var. | |
14601 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
14602 Handle possible error condition. | |
14603 (init): Allow for SVD::sigma_only, save type computed. | |
14604 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
14605 Handle possible error condition. | |
14606 (init): Allow for SVD::sigma_only, save type computed. | |
14607 | |
14608 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14609 | |
14610 * Nearly all non-matrix .h and .cc files: | |
14611 Move short function bodies into class declarations for inlining. | |
14612 Generally clean up. | |
14613 | |
14614 * base-min.h: New file. | |
14615 * LP.h (class LP): Derive from base_minimizer. | |
14616 * QLP.h (class QLP): Derive from base_minimizer. | |
14617 * NLP.h (class NLP): Derive from base_minimizer. | |
14618 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
14619 | |
14620 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
14621 NLFunc.cc, Objective.cc and QP.cc from list. | |
14622 | |
14623 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14624 | |
14625 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
14626 (SCHUR::SCHUR): Delete unused parameter ord. | |
14627 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
14628 | |
14629 * CRowVector.cc | |
14630 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
14631 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
14632 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
14633 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
14634 Actually do something. | |
9967 | 14635 |
2330 | 14636 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
14637 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
14638 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
14639 | |
14640 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
14641 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
14642 tolerances. | |
9967 | 14643 |
2330 | 14644 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
14645 * LPsolve.cc (LPsolve::minimize): Likewise. | |
14646 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
14647 * ODE.cc (lsode_f, lsode_j): Likewise. | |
14648 * QPSOL.cc (qphess): Likewise. | |
14649 | |
14650 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14651 | |
14652 * dMatrix.cc: Include <cstring>. | |
14653 | |
14654 * Array.cc: Try harder to avoid warnings from gcc in functions | |
14655 that return bogus values after calling the error handler. | |
14656 | |
14657 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14658 | |
14659 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
14660 | |
14661 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
14662 | |
14663 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14664 | |
14665 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
14666 (dassl_j): Likewise. | |
9967 | 14667 |
2330 | 14668 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
14669 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
14670 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
14671 Update for change in for loop variable scope for gcc 2.7.0. | |
14672 | |
14673 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
14674 | |
14675 * Makefile.in: Only include dependency files if $(omit_deps) is | |
14676 not set. | |
14677 | |
14678 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
14679 | |
14680 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
14681 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
14682 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
14683 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
14684 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
14685 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
14686 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
14687 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
14688 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
14689 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
14690 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
14691 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
14692 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
14693 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
14694 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
14695 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
14696 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
14697 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
14698 NLP.h: Use pragma interface/implementation. Don't surround | |
14699 contents in extern "C++". | |
14700 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
14701 | |
14702 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14703 | |
14704 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
14705 identifiers. | |
14706 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
14707 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
14708 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
14709 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
14710 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
14711 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
14712 Quad.cc: Change usage of F77_FCN to match new definition | |
14713 | |
14714 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
14715 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
14716 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
14717 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
14718 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
14719 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
14720 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
14721 args by reference instead of pointer. Change all callers. | |
14722 | |
14723 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14724 | |
14725 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
14726 functions. Make += and -= operators friend functions. | |
14727 | |
14728 * Array.h (Array2::~Array2, Array3::~Array3, | |
14729 DiagArray::~DiagArray): New functions. | |
14730 | |
14731 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14732 | |
14733 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
14734 (MATRIX_INC): Don't distribute mx-kludge.h. | |
14735 | |
14736 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
14737 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
14738 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
14739 dRowVector.h dRowVector.cc: | |
14740 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
14741 Array2, and DiagArray2. | |
14742 Don't use functions defined in mx-kludge.cc for arithmetic | |
14743 like-type operations on arrays. | |
14744 | |
14745 * MArray.cc: Use the classes defined here like-type mathematical | |
14746 operations on Array objects. Abuse CPP more. | |
14747 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
14748 (EXTRAS): Delete it from this list. | |
14749 | |
14750 * MArray-C.cc, MArray-d.cc: New files. | |
14751 * Makefile.in (TI_SRC): Add them to the list. | |
14752 | |
14753 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14754 | |
14755 * mx-kludge.cc: Abuse CPP even more. | |
14756 | |
14757 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14758 | |
14759 * Objective.h (objective_function): Add missing const. | |
14760 (gradient_function): Likewise. | |
14761 | |
14762 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
14763 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
14764 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
14765 dRowVector.h dRowVector.cc: | |
14766 Reorganize to declare and define friends where they should be, | |
14767 based on the use of private constructors. | |
14768 | |
14769 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
14770 | |
14771 * CRowVector.h (linspace): Add declaration. | |
14772 * dRowVector.h (linspace): Likewise. | |
14773 | |
14774 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
14775 Force result of rcond + 1.0 to be stored. | |
14776 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
14777 ComplexMatrix::solve): Likewise. | |
14778 | |
14779 See ChangeLog.1 in the top level directory for earlier changes. |