Mercurial > hg > octave-lojdl
annotate liboctave/ChangeLog @ 8386:a5e080076778
make balance more Matlab-compatible
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 09 Dec 2008 10:08:19 +0100 |
parents | 6e9660cd3bf2 |
children | c187f0e3a7ee |
rev | line source |
---|---|
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
2 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
3 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
4 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
5 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
6 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
7 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
8 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
9 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
10 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
11 * 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
|
12 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
13 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
14 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
15 * 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
|
16 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
17 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
18 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
|
19 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
20 * Makefile.in (INCLUDES): Add oct-locbuf.h |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
21 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
22 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
|
23 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
24 * 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
|
25 * 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
|
26 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
27 (DMM_MULTIPLY_OP): Dtto. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
28 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
29 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
30 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
31 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
32 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
33 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
34 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
35 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
36 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
37 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
38 * 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
|
39 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
40 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
41 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
42 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
|
43 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
|
44 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
|
45 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
|
46 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
47 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
|
48 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
49 * 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
|
50 (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
|
51 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
|
52 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
53 * 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
|
54 * 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
|
55 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
56 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
57 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
58 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
59 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
60 * 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
|
61 (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
|
62 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
|
63 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
64 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
65 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
66 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
67 * 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
|
68 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
69 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
70 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
71 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
72 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
73 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
74 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
75 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
76 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
77 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
78 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
79 |
8369 | 80 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
81 | |
82 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
83 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
84 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
|
85 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
86 * 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
|
87 * 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
|
88 * 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
|
89 * 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
|
90 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
91 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
92 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
93 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
94 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
95 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
96 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
97 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
98 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
99 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
100 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
101 * 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
|
102 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
103 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
104 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
105 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
106 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
107 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
108 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
109 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
110 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
111 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
112 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
113 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
114 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
115 * 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
|
116 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
117 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
118 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
119 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
120 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
121 * 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
|
122 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
123 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
124 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
125 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
126 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
127 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
128 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
129 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
130 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
131 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
132 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
133 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
134 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
135 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
136 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
137 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
138 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
139 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
140 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
141 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
142 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
143 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
144 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
145 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
146 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
147 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
148 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
149 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
150 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
151 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
152 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
153 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
154 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
155 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
156 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
157 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
158 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
159 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
160 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
161 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
162 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
163 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
164 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
165 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
166 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
167 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
168 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
169 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
170 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
171 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
172 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
173 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
174 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
175 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
176 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
177 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
178 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
179 * 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
|
180 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
181 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
182 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
183 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
184 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
185 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
186 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
187 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
188 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
189 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
190 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
191 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
192 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
193 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
194 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
195 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
196 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
197 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
198 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
199 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
200 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
201 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
202 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
203 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
204 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
205 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
206 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
207 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
208 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
209 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
210 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
211 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
212 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
213 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
214 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
215 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
216 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
217 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
218 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
219 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
220 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
221 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
222 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
223 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
224 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
225 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
|
226 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
227 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
|
228 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
229 * 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
|
230 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
231 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
232 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
233 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
234 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
235 * 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
|
236 |
8335 | 237 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
238 | |
239 * DET.h: New source. | |
240 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
241 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
242 * Makefile.in: Reflect changes. | |
243 * mx-defs.h: Remove DET decls. | |
244 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
245 dSparse.h, CSparse.h: Include only DET.h. | |
246 * dMatrix.cc (Matrix::determinant), | |
247 fMatrix.cc (FloatMatrix::determinant), | |
248 CMatrix.cc (ComplexMatrix::determinant), | |
249 fCMatrix.cc (FloatComplexMatrix::determinant), | |
250 dSparse.cc (SparseMatrix::determinant), | |
251 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
252 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
253 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
254 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
255 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
256 std::string&)): Check if the string contains a tilde and fast |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
257 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
258 |
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
|
259 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
|
260 |
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
|
261 * 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
|
262 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
|
263 |
8324 | 264 2008-11-14 David Bateman <dbateman@free.fr> |
265 | |
266 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
267 resize_fill_value. | |
268 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
269 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
270 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
271 * 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
|
272 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
273 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
274 * 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
|
275 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
|
276 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
|
277 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
278 * 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
|
279 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
|
280 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
281 * 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
|
282 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
283 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
284 * 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
|
285 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
286 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
287 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
288 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
289 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
290 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
291 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
292 |
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
|
293 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
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
|
294 |
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
|
295 * oct-norm.cc: Don't include Array.cc. |
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
|
296 (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
|
297 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
|
298 Array<T>::resize. |
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
|
299 (row_norms (const MArray2<T>&, ...)): Dtto. |
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
|
300 (column_norms (const MSparse2<T>&, ...)): Dtto. |
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
|
301 (row_norms (const MSparse2<T>&, ...)): Dtto. |
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
|
302 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
303 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
304 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
305 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
306 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
307 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
308 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
309 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
310 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
311 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
312 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
313 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
314 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
315 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
316 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
317 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
318 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
319 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
320 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
321 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
322 * 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
|
323 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
324 * 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
|
325 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
326 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
327 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
328 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
329 * 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
|
330 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
331 * 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
|
332 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
333 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
334 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
335 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
336 * 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
|
337 (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
|
338 std::abs. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
339 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Dtto. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
340 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
341 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
342 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
343 * 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
|
344 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
345 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
346 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
347 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
348 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
349 * 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
|
350 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
351 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
352 * 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
|
353 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
354 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
355 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
356 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
357 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
358 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
359 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
360 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
361 * 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
|
362 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
363 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
364 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
365 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
366 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
|
367 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
368 * 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
|
369 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
|
370 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
371 |
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
|
372 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
|
373 |
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
|
374 * 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
|
375 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
|
376 (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
|
377 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
|
378 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
379 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
|
380 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
381 * 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
|
382 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
383 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
384 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
|
385 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
386 * 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
|
387 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
|
388 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
389 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
|
390 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
391 * 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
|
392 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
393 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
394 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
395 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
396 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
397 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
398 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
399 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
400 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
401 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
402 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
403 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
404 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
405 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
406 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
407 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
408 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
409 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
410 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
411 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
|
412 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
413 (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
|
414 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
415 |
8198 | 416 2008-10-08 John W. Eaton <jwe@octave.org> |
417 | |
418 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
419 sparse arguments rather than rely on extern function. | |
420 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
421 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
|
422 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
423 * 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
|
424 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
|
425 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
426 (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
|
427 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
428 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
429 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
430 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
431 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
432 |
8187 | 433 2008-10-06 David Bateman <dbateman@free.fr> |
434 | |
435 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
436 sparse arguments rather than rely on extern function. | |
437 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
438 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
|
439 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
440 * 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
|
441 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
442 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
443 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
444 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
445 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
446 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
447 * 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
|
448 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
449 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
450 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
451 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
452 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
453 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
454 * 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
|
455 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
456 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
|
457 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
458 * 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
|
459 * 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
|
460 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
|
461 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
|
462 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
463 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
464 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
465 * 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
|
466 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
467 * 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
|
468 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
469 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
470 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
|
471 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
472 * 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
|
473 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
474 |
8182 | 475 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
476 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
477 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
478 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
479 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
480 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
|
481 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
482 * 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
|
483 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
484 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
485 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
486 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
487 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
488 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
489 (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
|
490 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
491 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
492 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
493 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
494 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
|
495 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
496 * 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
|
497 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
|
498 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
499 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
500 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
501 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
502 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
503 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
|
504 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
505 * 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
|
506 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
|
507 (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
|
508 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
509 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
510 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
511 * 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
|
512 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
513 (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
|
514 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
|
515 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
516 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
|
517 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
518 * 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
|
519 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
520 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
521 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
522 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
523 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
524 |
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
|
525 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
|
526 |
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
|
527 * 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
|
528 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
|
529 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
|
530 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
|
531 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
|
532 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
|
533 (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
|
534 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
|
535 (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
|
536 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
|
537 (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
|
538 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
|
539 (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
|
540 (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
|
541 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
|
542 (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
|
543 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
|
544 (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
|
545 (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
|
546 (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
|
547 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
|
548 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
|
549 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
|
550 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
|
551 (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
|
552 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
|
553 (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
|
554 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
|
555 octave_int<T>&, float)): New functions. |
8040 | 556 |
557 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
|
558 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
559 * 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
|
560 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
561 |
8040 | 562 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
|
563 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
564 * 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
|
565 (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
|
566 |
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
|
567 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
|
568 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
569 * 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
|
570 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
571 * 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
|
572 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
|
573 |
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
|
574 * 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
|
575 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
|
576 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
577 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
|
578 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
579 * 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
|
580 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
|
581 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
582 * 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
|
583 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
|
584 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
585 * 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
|
586 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
587 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
588 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
|
589 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
590 * 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
|
591 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
|
592 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
593 (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
|
594 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
|
595 (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
|
596 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
597 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
598 * 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
|
599 (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
|
600 * 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
|
601 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
602 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
603 (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
|
604 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
605 (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
|
606 (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
|
607 (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
|
608 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
|
609 (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
|
610 (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
|
611 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
612 * 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
|
613 |
7999 | 614 2008-07-30 John W. Eaton <jwe@octave.org> |
615 | |
616 * oct-inttypes.h: Style fixes. | |
617 | |
8040 | 618 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
619 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
620 * 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
|
621 (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
|
622 member functions. |
7999 | 623 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
624 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
625 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
626 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
627 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
628 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
|
629 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
630 * 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
|
631 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
|
632 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
633 (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
|
634 (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
|
635 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
636 (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
|
637 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
|
638 * 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
|
639 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
640 (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
|
641 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
|
642 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
643 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
|
644 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
645 |
8040 | 646 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 647 |
648 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
649 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
650 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
|
651 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
652 * 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
|
653 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
|
654 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
655 * 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
|
656 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
|
657 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
658 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
|
659 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
660 * 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
|
661 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
662 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
663 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
664 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
665 (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
|
666 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
667 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
668 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
669 (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
|
670 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
671 (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
|
672 * 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
|
673 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
674 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
675 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
676 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
677 * 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
|
678 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
679 * 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
|
680 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
681 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
682 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
683 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
684 * 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
|
685 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
686 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
687 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
|
688 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
689 * 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
|
690 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
691 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
692 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
693 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
694 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
|
695 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
696 * 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
|
697 (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
|
698 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
699 (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
|
700 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
701 |
7934 | 702 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
703 | |
704 * oct-mutex.h, oct-mutex.cc: New files. | |
705 * Makefile.in: Add them to appropriate lists. | |
706 | |
7929 | 707 2008-07-15 John W. Eaton <jwe@octave.org> |
708 | |
709 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
710 descending arg as bool&. | |
711 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
712 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
713 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
|
714 |
7924 | 715 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
716 number of rows or columns is 0. | |
717 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
718 | |
719 * Array-util.cc (is_vector): Avoid GCC warning. | |
720 * Array-f.cc (Array<float>::sort): Likewise. | |
721 * Array-d.cc (Array<double>::sort): Likewise. | |
722 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
723 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
724 ComplexMatrix&)): Likewise. | |
725 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
726 FloatMatrix&)): Likewise. | |
727 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
728 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
729 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
730 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
731 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
732 FloatIndefQuad::do_integrate): Likewise. | |
733 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
734 * 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
|
735 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
|
736 * 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
|
737 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
738 * 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
|
739 * 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
|
740 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
741 * 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
|
742 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
|
743 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
|
744 * 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
|
745 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
|
746 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
747 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
748 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
|
749 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
750 * 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
|
751 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
752 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
753 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
754 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
|
755 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
756 * 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
|
757 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
758 |
8040 | 759 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
|
760 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
761 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
762 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
763 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
|
764 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
765 * 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
|
766 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
767 |
7885 | 768 2008-06-11 John W. Eaton <jwe@octave.org> |
769 | |
770 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
771 * Makefile.in: Remove them from the lists. | |
772 | |
7872 | 773 2008-06-05 John W. Eaton <jwe@octave.org> |
774 | |
775 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
776 counter if iterator is valid. | |
777 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
778 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
|
779 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
780 * 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
|
781 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
|
782 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
|
783 * 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
|
784 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
|
785 * 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
|
786 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
|
787 (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
|
788 (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
|
789 (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
|
790 * 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
|
791 * 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
|
792 (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
|
793 (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
|
794 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
795 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
796 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
797 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
798 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
799 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
800 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
801 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
802 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
803 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
804 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
805 * 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
|
806 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
807 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
808 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
809 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
810 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
811 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
812 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
813 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
814 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
815 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
816 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
817 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
818 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
819 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
820 |
8040 | 821 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 822 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
823 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
824 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
825 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
826 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
827 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
828 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
829 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
830 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
831 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
832 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
833 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
834 |
7803 | 835 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
836 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
837 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
838 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
839 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
840 (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
|
841 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
842 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
843 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
844 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
845 * 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
|
846 * 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
|
847 |
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
|
848 * 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
|
849 * 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
|
850 (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
|
851 (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
|
852 * 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
|
853 * 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
|
854 (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
|
855 (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
|
856 |
7799 | 857 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
858 New template functions. | |
859 (MatrixType::MatrixType (const Matrix&), | |
860 MatrixType::MatrixType (const FloatMatrix&)): | |
861 just call matrix_real_probe. | |
862 (MatrixType::MatrixType (const ComplexMatrix&), | |
863 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
864 just call matrix_complex_probe. | |
865 | |
866 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
867 add missing test for Unknown. | |
868 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
869 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
|
870 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
871 * 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
|
872 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
873 (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
|
874 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
875 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
876 * 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
|
877 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
878 (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
|
879 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
880 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
881 * 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
|
882 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
883 (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
|
884 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
885 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
886 * 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
|
887 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
888 (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
|
889 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
890 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
891 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
892 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
893 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
894 * 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
|
895 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
|
896 (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
|
897 * 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
|
898 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
|
899 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
900 * 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
|
901 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
902 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
903 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
904 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
905 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
906 * 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
|
907 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
908 * 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
|
909 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
910 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
911 * 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
|
912 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
|
913 * 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
|
914 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
915 * 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
|
916 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
917 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
918 * 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
|
919 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
|
920 * 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
|
921 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
922 * 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
|
923 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
924 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
925 * 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
|
926 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
|
927 * 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
|
928 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
929 * 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
|
930 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
931 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
932 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
933 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
934 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
|
935 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
936 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
937 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
938 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
939 * 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
|
940 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
941 (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
|
942 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
943 * 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
|
944 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
945 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
946 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
947 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
948 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
949 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
950 * 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
|
951 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
952 * 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
|
953 * 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
|
954 * 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
|
955 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
956 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
957 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
958 * 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
|
959 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
960 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
961 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
962 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
963 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
964 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
965 * 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
|
966 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
967 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
968 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
969 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
970 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
971 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
972 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
973 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
974 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
975 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
976 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
977 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
978 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
979 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
980 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
981 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
982 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
983 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
984 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
985 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
986 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
987 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
988 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
989 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
990 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
991 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
992 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
993 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
994 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
995 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
996 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
997 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
998 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
999 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1000 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1001 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1002 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1003 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1004 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1005 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1006 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1007 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1008 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1009 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1010 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1011 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1012 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1013 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1014 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1015 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1016 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1017 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1018 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1019 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1020 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1021 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1022 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1023 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1024 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1025 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1026 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1027 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1028 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1029 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1030 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1031 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1032 * 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
|
1033 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1034 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1035 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1036 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1037 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1038 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1039 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
|
1040 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1041 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
|
1042 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1043 * 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
|
1044 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1045 * 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
|
1046 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
|
1047 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1048 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
|
1049 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
|
1050 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
|
1051 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
|
1052 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
|
1053 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
|
1054 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1055 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1056 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
|
1057 |
7788 | 1058 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
1059 to avoid shadowed variable warning | |
1060 (double ComplexMatrix::rcond (void) const): New method for | |
1061 reciprocal condition number calculation. | |
1062 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1063 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
1064 to avoid shadowed variable warning | |
1065 (double ComplexMatrix::rcond (void) const): New method for | |
1066 reciprocal condition number calculation. | |
1067 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1068 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
1069 to avoid shadowed variable warning | |
1070 (double Matrix::rcond (void) const): New method for | |
1071 reciprocal condition number calculation. | |
1072 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1073 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
1074 to avoid shadowed variable warning | |
1075 (double Matrix::rcond (void) const): New method for | |
1076 reciprocal condition number calculation. | |
1077 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1078 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1079 * 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
|
1080 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1081 * 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
|
1082 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1083 |
7776 | 1084 2008-05-19 David Bateman <dbateman@free.fr> |
1085 | |
1086 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
1087 incorrectly used. | |
1088 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1089 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1090 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1091 * 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
|
1092 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
|
1093 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1094 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1095 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
|
1096 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1097 * 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
|
1098 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
|
1099 * 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
|
1100 (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
|
1101 * 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
|
1102 * 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
|
1103 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1104 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
|
1105 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1106 * 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
|
1107 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1108 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
|
1109 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1110 * 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
|
1111 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
|
1112 * 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
|
1113 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1114 (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
|
1115 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1116 (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
|
1117 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
|
1118 (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
|
1119 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
|
1120 |
8040 | 1121 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 1122 |
1123 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
1124 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
1125 New functions. | |
1126 * lo-mappers.h: Provide decls. | |
1127 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1128 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1129 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1130 * 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
|
1131 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
|
1132 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1133 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
|
1134 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1135 * 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
|
1136 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1137 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
|
1138 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1139 * 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
|
1140 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1141 |
8040 | 1142 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
|
1143 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
1144 * 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
|
1145 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1146 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
|
1147 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1148 * 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
|
1149 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1150 * 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
|
1151 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1152 * 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
|
1153 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1154 * 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
|
1155 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1156 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1157 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1158 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1159 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1160 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
|
1161 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1162 * 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
|
1163 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
|
1164 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1165 |
8040 | 1166 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1167 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1168 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1169 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1170 * 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
|
1171 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1172 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1173 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1174 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1175 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
|
1176 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1177 * 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
|
1178 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1179 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1180 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1181 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1182 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1183 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1184 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1185 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1186 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1187 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
|
1188 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1189 * 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
|
1190 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1191 * 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
|
1192 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1193 * 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
|
1194 |
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
|
1195 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
|
1196 |
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
|
1197 * 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
|
1198 (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
|
1199 * 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
|
1200 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
|
1201 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
|
1202 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1203 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
|
1204 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1205 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1206 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1207 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1208 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
|
1209 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1210 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1211 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1212 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1213 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1214 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1215 |
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
|
1216 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
|
1217 |
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
|
1218 * 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
|
1219 array case, except for 64bit cases. |
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
|
1220 |
7619 | 1221 2008-03-21 David Bateman <dbateman@free.fr> |
1222 | |
1223 * oct-sparse.h: Add headers for amd.h. | |
1224 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1225 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
|
1226 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1227 * 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
|
1228 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1229 * 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
|
1230 * 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
|
1231 * 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
|
1232 * 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
|
1233 * 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
|
1234 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1235 * 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
|
1236 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1237 * 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
|
1238 * 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
|
1239 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1240 * 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
|
1241 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1242 * Range.h (Matrix 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
|
1243 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1244 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1245 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1246 * 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
|
1247 * 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
|
1248 * 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
|
1249 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1250 * 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
|
1251 * 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
|
1252 * 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
|
1253 * 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
|
1254 * 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
|
1255 * 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
|
1256 * 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
|
1257 * 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
|
1258 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1259 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1260 * 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
|
1261 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
|
1262 * 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
|
1263 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1264 * 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
|
1265 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1266 * 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
|
1267 * 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
|
1268 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
|
1269 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1270 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1271 * 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
|
1272 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
|
1273 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1274 * 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
|
1275 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
|
1276 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1277 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1278 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1279 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1280 * 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
|
1281 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1282 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1283 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1284 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1285 * 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
|
1286 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1287 * 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
|
1288 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1289 * 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
|
1290 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1291 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1292 * 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
|
1293 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1294 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1295 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1296 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
|
1297 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1298 * 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
|
1299 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1300 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1301 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
|
1302 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
1303 * 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
|
1304 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
|
1305 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1306 * 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
|
1307 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1308 * 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
|
1309 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1310 * 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
|
1311 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
|
1312 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
|
1313 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
|
1314 * 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
|
1315 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
|
1316 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1317 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1318 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1319 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1320 * 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
|
1321 * 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
|
1322 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1323 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1324 * 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
|
1325 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1326 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1327 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1328 * 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
|
1329 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
|
1330 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1331 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
|
1332 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
1333 * 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
|
1334 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1335 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1336 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
|
1337 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1338 * 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
|
1339 * 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
|
1340 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
|
1341 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1342 (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
|
1343 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
|
1344 (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
|
1345 (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
|
1346 (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
|
1347 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1348 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1349 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1350 * 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
|
1351 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1352 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
|
1353 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
|
1354 (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
|
1355 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1356 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
|
1357 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1358 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1359 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1360 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1361 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
|
1362 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1363 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1364 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1365 * 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
|
1366 * 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
|
1367 * 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
|
1368 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1369 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1370 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1371 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1372 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1373 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1374 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1375 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1376 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1377 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1378 * 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
|
1379 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1380 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1381 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1382 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1383 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1384 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1385 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1386 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1387 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1388 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1389 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
|
1390 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1391 * 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
|
1392 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1393 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1394 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
|
1395 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1396 * 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
|
1397 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
|
1398 |
7545 | 1399 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1400 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1401 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1402 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1403 calculation of nlvl. |
7545 | 1404 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1405 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1406 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
|
1407 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1408 * 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
|
1409 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1410 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
|
1411 |
7536 | 1412 * oct-rand.cc (get_dist_id): Fix typo. |
1413 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
1414 fill_rand): Improve error messages. | |
1415 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
1416 * 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
|
1417 (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
|
1418 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
|
1419 (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
|
1420 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1421 * 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
|
1422 (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
|
1423 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
|
1424 (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
|
1425 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
|
1426 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
|
1427 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
|
1428 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
|
1429 (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
|
1430 (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
|
1431 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1432 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1433 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1434 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1435 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
|
1436 (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
|
1437 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
|
1438 (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
|
1439 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1440 * 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
|
1441 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1442 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1443 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
|
1444 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1445 * 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
|
1446 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1447 (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
|
1448 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
|
1449 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1450 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1451 * 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
|
1452 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
|
1453 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1454 |
7520 | 1455 2008-02-22 John W. Eaton <jwe@octave.org> |
1456 | |
1457 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
1458 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
1459 sparse-dmsolve.cc: Use 0 instead of NULL. | |
1460 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1461 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
|
1462 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1463 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1464 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1465 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1466 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1467 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1468 * 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
|
1469 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1470 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1471 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1472 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
|
1473 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1474 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1475 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1476 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
|
1477 (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
|
1478 * 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
|
1479 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1480 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1481 * 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
|
1482 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
|
1483 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1484 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1485 * 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
|
1486 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1487 * 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
|
1488 * 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
|
1489 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1490 (ColumnVector Pc_vec (void) const): New method return column |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1491 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1492 * 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
|
1493 (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
|
1494 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1495 * oct-spparms.cc: Add sym_tol field. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1496 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1497 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
|
1498 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1499 * SparseComplexQR.cc (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1500 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1501 (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
|
1502 * SparseComplexQR.h (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1503 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1504 (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
|
1505 * 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
|
1506 * 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
|
1507 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1508 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
|
1509 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1510 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1511 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1512 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1513 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1514 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1515 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1516 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1517 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1518 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1519 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1520 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1521 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1522 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1523 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1524 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1525 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1526 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1527 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1528 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1529 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1530 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1531 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1532 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1533 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1534 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1535 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1536 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1537 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1538 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1539 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1540 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1541 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1542 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1543 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1544 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1545 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1546 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1547 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1548 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1549 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1550 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1551 (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
|
1552 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1553 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1554 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1555 (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
|
1556 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1557 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1558 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1559 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1560 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1561 * 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
|
1562 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1563 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1564 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1565 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1566 * 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
|
1567 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
|
1568 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1569 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1570 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
|
1571 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1572 * 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
|
1573 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
|
1574 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
|
1575 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
|
1576 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
|
1577 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
|
1578 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1579 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1580 |
7477 | 1581 2008-02-12 John W. Eaton <jwe@octave.org> |
1582 | |
1583 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
1584 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
1585 | |
7476 | 1586 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
1587 | |
7480 | 1588 * Array.cc (ascending_compare, descending_compare): Remove |
1589 non-standard extern in the instantiations. | |
1590 | |
1591 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
1592 | |
7476 | 1593 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
1594 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
1595 workaround for DGELSD's broken lwork query. The formula is from | |
1596 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
1597 efficient algorithm in the short-and-fat case (n > m). | |
1598 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
1599 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
1600 ugly workaround for DGELSD's broken lwork query, as with double. | |
1601 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1602 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1603 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1604 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1605 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1606 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1607 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1608 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1609 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1610 * 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
|
1611 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1612 * 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
|
1613 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1614 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
|
1615 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1616 * 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
|
1617 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1618 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1619 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1620 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1621 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1622 |
7457 | 1623 2008-02-07 John W. Eaton <jwe@octave.org> |
1624 | |
7458 | 1625 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1626 ASCENDING, with default value of true. | |
1627 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1628 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1629 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1630 const): New function. | |
1631 * Range.h: Fix/provide decls. | |
1632 | |
7457 | 1633 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1634 | |
7449 | 1635 2008-02-06 John W. Eaton <jwe@octave.org> |
1636 | |
1637 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1638 (stamp-prereq): Eliminate. | |
1639 (clean): Don't remove stamp-prereq. | |
1640 (libraries): Don't depend on stamp-prereq. | |
1641 (PREREQ): New macro. | |
1642 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1643 (distclean): Simplify with $(PREREQ). | |
1644 (OPT_BASE): New macro. | |
1645 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1646 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1647 | |
7448 | 1648 2008-02-05 John W. Eaton <jwe@octave.org> |
1649 | |
1650 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1651 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1652 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1653 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1654 |
1655 * Array.cc (ascending_compare, descending_compare, | |
1656 Array<T>::sort): Declare explicit specialization for T=double to | |
1657 avoid symbol duplication error at link time. | |
1658 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1659 define as nonmember functions, not member functions of Array<T>. | |
1660 | |
7442 | 1661 2008-02-03 John W. Eaton <jwe@octave.org> |
1662 | |
1663 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1664 | |
1665 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1666 | |
1667 * Array.cc: Don't include Range.h. | |
1668 | |
7433 | 1669 2008-01-31 David Bateman <dbateman@free.fr> |
1670 | |
1671 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1672 for 64-bit builds. | |
1673 (IFLT): Allow IFLT macro to be overridden. | |
1674 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1675 for 64-bit builds. | |
1676 (enum sortmode): Type of sort to perform. | |
1677 (vec_index): Simple class to aid in indexed sorts. | |
1678 | |
1679 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1680 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1681 sortmode) const): Array sorting methods. | |
1682 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1683 instantiate the array sorting methods. | |
1684 * Array.cc (ascending_compare, descending_compare): New template | |
1685 functions for generic sort comparison. | |
1686 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1687 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1688 sortmode) const): Array sorting functions based of octave_sort | |
1689 class. | |
1690 * Array-C.cc: Instantiate the complex array sort methods. | |
1691 (IFLT): New macro to override the one in the | |
1692 octave_sort class to avoid need for Complex < and > operators. | |
1693 (static double xabs (const Complex&)): Complex abs function | |
1694 avoiding std::abs(Inf) returning NaN with some compilers. | |
1695 (ascending_compare, descending compare): override template | |
1696 functions for complex comparison. | |
1697 * Array-d.cc: Instantiate the double array sort methods. | |
1698 (Array<double> Array<double>::sort (octave_idx_type, | |
1699 sortmode) const, Array<double> Array<double>::sort | |
1700 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1701 Array sorting functions based of octave_sort using uint64 sorting | |
1702 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1703 (ascending_compare, descending compare): override template | |
1704 functions for double and uint64 comparison. | |
1705 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1706 Instantiate the array sort methods. | |
1707 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1708 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1709 versions of the sort methods based on Array<T>::sort. | |
1710 | |
1711 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1712 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1713 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1714 sortmode) const): Sparse sorting methods. | |
1715 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1716 methods. | |
1717 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1718 of new sort method. | |
1719 (sparse_ascending_compare, sparse_descending_compare): New template | |
1720 functions for generic sort comparison. | |
1721 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1722 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1723 sortmode) const): Sparse sorting functions based of octave_sort | |
1724 class. | |
1725 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1726 (IFLT): New macro to override the one in the | |
1727 octave_sort class to avoid need for Complex < and > operators. | |
1728 (static double xabs (const Complex&)): Complex abs function | |
1729 avoiding std::abs(Inf) returning NaN with some compilers. | |
1730 (sparse_ascending_compare, sparse_descending compare): override | |
1731 template functions for complex comparison. | |
1732 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1733 (sparse_ascending_compare, sparse_descending compare): override | |
1734 template functions for double comparison. | |
1735 * Array-b.cc: Instantiate the sparse sort methods. | |
1736 | |
7422 | 1737 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1738 | |
1739 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1740 idx_vector::idx_vector_rep::range_step, | |
1741 idx_vector::idx_vector_rep::range_step): New data members. | |
1742 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1743 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1744 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1745 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1746 | |
7416 | 1747 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1748 | |
1749 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1750 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1751 | |
7408 | 1752 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1753 |
1754 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1755 this fixes the "localtime(-1)" crash under Windows. | |
1756 | |
7400 | 1757 2008-01-18 John W. Eaton <jwe@octave.org> |
1758 | |
1759 * dMatrix.cc (solve_singularity_warning): New function. | |
1760 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1761 Matrix::solve method. Exit early if Matrix::solve fails. | |
1762 Limit sqpow value to avoid overflowing scale factor. | |
1763 * CMatrix.cc (solve_singularity_warning): New function. | |
1764 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1765 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1766 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1767 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1768 |
7356 | 1769 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1770 | |
1771 * Sparse.cc: New tests for slicing of sparse matrices. | |
1772 | |
7350 | 1773 2008-01-07 David Bateman <dbateman@free.fr> |
1774 | |
1775 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1776 loop if this test succeeds. | |
1777 | |
7342 | 1778 2008-01-03 David Bateman <dbateman@free.fr> |
1779 | |
1780 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1781 need unary operator on remaining argument | |
1782 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1783 | |
7334 | 1784 2007-12-21 John W. Eaton <jwe@octave.org> |
1785 | |
1786 Version 3.0.0 released. | |
1787 | |
7322 | 1788 2007-12-18 David Bateman <dbateman@free.fr> |
1789 | |
1790 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1791 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1792 stored as a sparse matrix. | |
1793 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1794 idx_vector&, int) const): For the non permutated indexing case, | |
1795 fix link list calculation and use. | |
1796 | |
7321 | 1797 2007-12-17 John W. Eaton <jwe@octave.org> |
1798 | |
1799 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1800 N-d array. | |
1801 | |
7318 | 1802 2007-12-17 David Bateman <dbateman@free.fr> |
1803 | |
1804 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1805 index. | |
1806 | |
7299 | 1807 2007-12-11 John W. Eaton <jwe@octave.org> |
1808 | |
1809 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1810 If indexing scalar with empty matrix, return empty array with same | |
1811 size as index. | |
1812 | |
7272 | 1813 2007-12-10 John W. Eaton <jwe@octave.org> |
1814 | |
7279 | 1815 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1816 and assignment operator. | |
1817 (NLEqn::function_value): New function. | |
1818 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1819 function value. | |
1820 | |
7272 | 1821 * file-ops.cc (file_ops::concat): New function. |
1822 * file-ops.h: Provide decl. | |
1823 | |
7270 | 1824 2007-12-07 John W. Eaton <jwe@octave.org> |
1825 | |
1826 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1827 is not 0. | |
1828 | |
7269 | 1829 2007-12-07 David Bateman <dbateman@free.fr> |
1830 | |
1831 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1832 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1833 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1834 indexing where possible rather than the elem method. | |
1835 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1836 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1837 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1838 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1839 = 0 directly. | |
1840 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1841 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1842 SPARSE_BASE_REDUCTION_OP. | |
1843 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1844 Specialize the initial value, and only treat dim = 0 directly. | |
1845 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1846 ditto. | |
1847 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1848 | |
7265 | 1849 2007-12-06 John W. Eaton <jwe@octave.org> |
1850 | |
1851 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1852 data for npp and dpp after assignments. | |
1853 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1854 | |
7253 | 1855 2007-12-04 John W. Eaton <jwe@octave.org> |
1856 | |
1857 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1858 Do nothing if one index is empty. | |
1859 | |
7246 | 1860 2007-12-04 David Bateman <dbateman@free.fr> |
1861 | |
1862 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1863 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1864 index exceeds the lhs index. | |
1865 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1866 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1867 index smaller than the non zero lhs index. | |
1868 | |
1869 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1870 | |
1871 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1872 | |
7241 | 1873 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1874 | |
1875 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1876 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1877 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1878 | |
7238 | 1879 2007-12-03 David Bateman <dbateman@free.fr> |
1880 | |
1881 * Sparse.cc (template <class LT, class RT> int assign | |
1882 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1883 rhs values if both no. rows and columns are zero. | |
1884 | |
7231 | 1885 2007-11-30 John W. Eaton <jwe@octave.org> |
1886 | |
7234 | 1887 * oct-sort.cc, oct-sort.h: Style fixes. |
1888 | |
7231 | 1889 * lo-math.h: New file. |
1890 * Makefile.in (INCLUDES): Add it to the list. | |
1891 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1892 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1893 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1894 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1895 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1896 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1897 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1898 liboctave/oct-time.h, liboctave/randgamma.c, | |
1899 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1900 instead of cmath or math.h. | |
1901 * lo-mappers.h: Don't include sunmath.h here. | |
1902 | |
7198 | 1903 2007-11-26 John W. Eaton <jwe@octave.org> |
1904 | |
1905 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1906 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1907 | |
1908 * oct-inttypes.h (operator bool, operator char): Delete. | |
1909 (bool_value, char_value, double_value, float_value): New functions. | |
1910 | |
7189 | 1911 2007-11-26 David Bateman <dbateman@free.fr> |
1912 | |
1913 * intNDArray.cc (template <class T> intNDArray<T> | |
1914 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1915 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1916 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1917 template <class T> intNDArray<T> intNDArray<T>::min | |
1918 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1919 classes. | |
1920 * intNDArray.h (class intNDArray): Add min/max methods | |
1921 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1922 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1923 min/max functions. | |
1924 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1925 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1926 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1927 types. | |
1928 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1929 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1930 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1931 types. | |
1932 | |
1933 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1934 const T& rfv) const): If ndims != 2 call ND version of index. | |
1935 | |
7176 | 1936 2007-11-14 John W. Eaton <jwe@octave.org> |
1937 | |
7178 | 1938 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1939 | |
7176 | 1940 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1941 correction to half-integer values. From Eric Chassande-Mottin | |
1942 <echassandemottin@gmail.com>. | |
1943 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1944 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1945 |
1946 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1947 ambiguities related to math functions (in C++ mode). | |
1948 | |
7102 | 1949 2007-11-06 David Bateman <dbateman@free.fr> |
1950 | |
7113 | 1951 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1952 New method. | |
1953 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1954 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1955 New method. | |
1956 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1957 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1958 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1959 <Rolf.Fabian@gmx.de>. | |
1960 | |
7081 | 1961 2007-10-30 David Bateman <dbateman@free.fr> |
1962 | |
1963 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1964 | |
7079 | 1965 2007-10-30 John W. Eaton <jwe@octave.org> |
1966 | |
1967 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1968 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1969 | |
7076 | 1970 2007-10-29 David Bateman <dbateman@free.fr> |
1971 | |
1972 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1973 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1974 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1975 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1976 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1977 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1978 declarations. | |
1979 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1980 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1981 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1982 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1983 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1984 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1985 methods. | |
1986 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1987 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1988 octave_idx_type&, double&) const): Also return rcond from the | |
1989 singular values returned by XGELSD. | |
1990 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1991 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1992 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1993 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1994 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1995 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1996 declarations. | |
1997 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1998 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1999 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2000 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2001 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2002 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2003 methods. | |
2004 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2005 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2006 octave_idx_type&, double&) const): Also return rcond from the | |
2007 singular values returned by XGELSD. | |
2008 | |
7072 | 2009 2007-10-26 David Bateman <dbateman@free.fr> |
2010 | |
2011 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
2012 matrices to avoid reliability issues with xGELSY. | |
2013 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 2014 |
7065 | 2015 2007-10-25 John W. Eaton <jwe@octave.org> |
2016 | |
2017 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
2018 Call unix_time on arg instead of relying on conversion operator. | |
2019 | |
2020 * oct-time.h (octave_time::double_value): New function. | |
2021 (octave_time::operator double () const): Delete. | |
2022 (octave_time::operator time_t () const): Delete. | |
2023 | |
7058 | 2024 2007-10-24 John W. Eaton <jwe@octave.org> |
2025 | |
2026 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
2027 | |
7052 | 2028 2007-10-23 John W. Eaton <jwe@octave.org> |
2029 | |
2030 * CRowVector.cc (operator * const ComplexRowVector&, const | |
2031 ComplexColumnVector&)): Delete spurious code left from patch. | |
2032 | |
7048 | 2033 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
2034 | |
2035 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
2036 sparse-sort.cc: Include <cstring>. | |
2037 | |
7036 | 2038 2007-10-17 John W. Eaton <jwe@octave.org> |
2039 | |
2040 * oct-sparse.h: Don't include metis.h. | |
2041 | |
2042 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
2043 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2044 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
2045 p_type>::sparse_base_chol_rep::init): Likewise. | |
2046 | |
7033 | 2047 2007-10-16 John W. Eaton <jwe@octave.org> |
2048 | |
2049 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
2050 matrix is hermitian or calc_cond is true. | |
2051 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2052 | |
7016 | 2053 2007-10-12 John W. Eaton <jwe@octave.org> |
2054 | |
2055 * Change copyright notices in all files that are part of Octave to | |
2056 GPLv3 or any later version. | |
2057 | |
7007 | 2058 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
2059 | |
2060 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
2061 | |
7001 | 2062 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
2063 | |
2064 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
2065 | |
7000 | 2066 2007-10-10 John W. Eaton <jwe@octave.org> |
2067 | |
2068 * LPsolve.h, LPsolve.cc: Delete. | |
2069 * Makefile.in: Remove them from the INCLUDES and | |
2070 LIBOCTAVE_CXX_SOURCES lists. | |
2071 | |
6989 | 2072 2007-10-09 John W. Eaton <jwe@octave.org> |
2073 | |
6996 | 2074 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
2075 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
2076 values to zero after call if they remain unchanged. | |
2077 | |
6989 | 2078 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
2079 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
2080 | |
6988 | 2081 2007-10-09 David Bateman <dbateman@free.fr> |
2082 | |
6995 | 2083 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
2084 valud and mon and year are also filled in. | |
2085 | |
6990 | 2086 * Array2.h (Array2<T>::Array2(const dim_vector&), |
2087 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
2088 dim_vector is 2 dimensional. | |
2089 | |
6988 | 2090 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
2091 int)): Remove a for loop in the random indexing case at the | |
2092 expense of maintaining a set of linked lists of indices that point | |
2093 to the same column in the original matrix. | |
2094 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
2095 and use it on the RHS of expressions to avoid unnecessary calls to | |
2096 make_unique. | |
2097 | |
6979 | 2098 2007-10-08 David Bateman <dbateman@free.fr> |
2099 | |
2100 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
2101 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
2102 for readline compatible functions. | |
2103 (octave_rl_redisplay): Redisplay the current line of text. | |
2104 (octave_rl_newline): Change interface to the same | |
2105 as used by the equivalent readline function itself. | |
2106 (octave_rl_filename_quoting_desired, | |
2107 octave_rl_set_filename_quote_characters, | |
2108 octave_rl_set_completer_quote_characters, | |
2109 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2110 octave_rl_set_char_is_quoted_function): New functions to control | |
2111 readline filename quoting and line acceptace. | |
2112 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
2113 as used by the equivalent readline function itself. | |
2114 (octave_rl_redisplay): Redisplay the current line of text. | |
2115 (octave_rl_filename_quoting_desired, | |
2116 octave_rl_set_filename_quote_characters, | |
2117 octave_rl_set_completer_quote_characters, | |
2118 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2119 octave_rl_set_char_is_quoted_function): New functions to control | |
2120 readline filename quoting and line acceptace. | |
2121 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
2122 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
2123 to map C++ function to readline compatible functions. | |
2124 (set_filename_quote_characters): New function to set the | |
2125 characters to if they appear in a filename that force the filename | |
2126 to be quoted. | |
2127 (set_completer_quote_characters): The characters that the readline | |
2128 completion function considers as quotation characters. | |
2129 (set_quoting_function, set_dequoting_function, | |
2130 set_char_is_quoted_function, set_user_accept_line_function): | |
2131 Functions to set the Octave functions to perform quoting and the | |
2132 acceptance of a line of text by readline. | |
2133 (get_quoting_function, get_dequoting_function, | |
2134 get_char_is_quoted_function, get_user_accept_line_function): | |
2135 Functions to get the above functions. | |
2136 (accept_line): New method for the command_editor to accept a line | |
2137 of text. | |
2138 (file_quoting_desired): Function to set whether readline should | |
2139 attempt to quote filenames. | |
2140 (do_set_filename_quoting_characters, | |
2141 do_set_completer_quote_characters, do_set_quoting_function, | |
2142 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2143 do_set_user_accept_line_function, do_get_quoting_function, | |
2144 do_get_dequoting_function, do_get_char_is_quoted_function, | |
2145 do_get_user_accept_line_function, do_filename_quoting_desired): | |
2146 Virtual functions to control the behavior of readline quoting and | |
2147 acceptance of lines. | |
2148 (do_accept_line): Virtual function for the accept line function. | |
2149 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
2150 do_completer_quote_characters, do_set_quoting_function, | |
2151 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2152 do_set_user_accept_line_function, do_get_quoting_function, | |
2153 do_get_dequoting_function, do_get_user_accept_line_function, | |
2154 do_accept_line, do_filename_quoting_desired, command_quoter, | |
2155 command_dequoter, command_char_is_quoted, command_accept_line): | |
2156 New functions in gnu_readline class to control filename quoting | |
2157 and line acceptance. | |
2158 (quoting_function, dequoting_function, char_is_quoted_function, | |
2159 user_accept_line_function): private variable to store functions | |
2160 supplied for readline quoting and line acceptance. | |
2161 (gnu_readline::gnu_readline): Also set the new function pointers | |
2162 to zero. | |
2163 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
2164 interface. | |
2165 (gnu_readeline::operate_and_get_next): Use new accept_line | |
2166 function rather than newline. | |
2167 (default_ommand_editor::do_accept_line): New method. | |
2168 (class command_editor set_filename_quote_characters, | |
2169 set_completer_quote_characters, set_quoting_function, | |
2170 set_dequoting_function, set_char_is_quoted_function, | |
2171 set_user_accept_line_function, get_quoting_function, | |
2172 get_dequoting_function, get_user_accept_line_function, | |
2173 accept_line, filename_quoting_desired): New functions checking | |
2174 instance before calling virtual function. | |
2175 | |
2176 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
2177 Array2.h: Add dim_vector constructors. | |
2178 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
2179 const to dim_vector constructors. | |
2180 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
2181 (octave_idx_type)): New methods to constructor diagonal matrices. | |
2182 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
2183 (octave_idx_type)): Declare them. | |
2184 | |
2185 | |
6969 | 2186 2007-10-06 John W. Eaton <jwe@octave.org> |
2187 | |
2188 * lo-specfun.cc: (zlgamma): Delete. | |
2189 (xgamma): Use C library gamma function if available. | |
2190 (xlgamma): Use C library lgamma function if available. | |
2191 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
2192 other than NaN or Inf. | |
2193 | |
6961 | 2194 2007-10-05 John W. Eaton <jwe@octave.org> |
2195 | |
2196 * lo-specfun.cc (zlgamma): New function. | |
2197 | |
6959 | 2198 2007-10-04 John W. Eaton <jwe@octave.org> |
2199 | |
2200 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
2201 qualifiers on local variables. | |
2202 | |
6958 | 2203 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
2204 | |
2205 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
2206 than log(realmax) to avoid issues with NaN. | |
2207 | |
6940 | 2208 2007-10-01 John W. Eaton <jwe@octave.org> |
2209 | |
6941 | 2210 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
2211 initialize wday and yday. | |
2212 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
2213 | |
6940 | 2214 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
2215 insert extra '\001' when decoding \[ and \]. | |
2216 | |
6926 | 2217 2007-09-26 David Bateman <dbateman@free.fr> |
2218 | |
2219 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
2220 is much faster and no less accurate. | |
2221 * CMatrix.cc (lssolve): ditto. | |
2222 | |
6924 | 2223 2007-09-25 David Bateman <dbateman@free.fr> |
2224 | |
2225 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
2226 zero dimensioned matrices. | |
2227 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
2228 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2229 ditto. | |
2230 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2231 ditto. | |
2232 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
2233 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
2234 qrsolve): ditto. | |
2235 * sparse-dmsolve.cc (dmsolve): ditto. | |
2236 | |
6922 | 2237 2007-09-21 John W. Eaton <jwe@octave.org> |
2238 | |
2239 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
2240 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
2241 | |
6916 | 2242 2007-09-19 John W. Eaton <jwe@octave.org> |
2243 | |
2244 * cmd-edit.cc (command_editor::remove_startup_hook): | |
2245 Fix cut-and-paste error. | |
6917 | 2246 (gnu_readline::set_startup_hook): Only set hook function if new |
2247 function is different from the current one. | |
6916 | 2248 |
6913 | 2249 2007-09-18 John W. Eaton <jwe@octave.org> |
2250 | |
2251 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
2252 command_editor::event_hook_set): New static data. | |
2253 (default_command_editor::set_startup_hook, | |
2254 gnu_readline::set_startup_hook, | |
2255 default_command_editor::restore_startup_hook, | |
2256 gnu_readline_restore_event_hook): | |
2257 Rename from do_set_startup_hook and do_set_event_hook. | |
2258 (gnu_readline::operate_and_get_next): Call | |
2259 command_editor::add_startup_hook, not | |
2260 command_editor::set_startup_hook. | |
2261 (command_editor::startup_handler, command_editor::event_handler): | |
2262 New functions. | |
2263 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
2264 command_editor::remove_startup_hook, | |
2265 command_editor::remove_event_hook): Rename from set_startup_hook | |
2266 and restore_startup_hook. Handle hook sets here. | |
2267 * cmd-edit.cc (gnu_history::do_goto_mark): | |
2268 Call remove_startup_hook instead of restore_startup_hook. | |
2269 | |
6907 | 2270 2007-09-17 John W. Eaton <jwe@octave.org> |
2271 | |
2272 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
2273 leading whitespace. | |
2274 | |
6897 | 2275 2007-09-13 John W. Eaton <jwe@octave.org> |
2276 | |
2277 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
2278 octave_read_complex): Use istream::get instead of >> to read | |
2279 individual characters. | |
2280 | |
6884 | 2281 2007-09-10 John W. Eaton <jwe@octave.org> |
2282 | |
2283 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
2284 | |
2285 2007-09-10 David Bateman <dbateman@free.fr> | |
2286 | |
2287 * Array.h (Array<T>::make_unique): Make public so that the | |
2288 ::assign functions can access it directly. | |
2289 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
2290 Array<T>::maybe_delete_elements_1(idx_vector&), | |
2291 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
2292 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
2293 Use xelem for non const RHS to avoid call to make_unique. | |
2294 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
2295 xelem for LHS and call lhs.make_unique() only once. Special case | |
2296 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
2297 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
2298 bring the additional multiplication out of the inner loop. | |
2299 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2300 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2301 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
2302 (const Range& r)): Don't use init_state() method but special case | |
2303 as with a Range can avoid exhaustive search. | |
2304 | |
6881 | 2305 2007-09-07 John W. Eaton <jwe@octave.org> |
2306 | |
2307 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
2308 manipulating rep directly. | |
2309 | |
2310 * Array.h (idx, idx_count): Declare mutable. | |
2311 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
2312 Now const. | |
2313 | |
6867 | 2314 2007-09-06 David Bateman <dbateman@free.fr> |
2315 | |
6868 | 2316 * Array-util.cc (increment_index): dimensions can have singleton |
2317 trailing dimensions. | |
6867 | 2318 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
2319 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
2320 where necessary. | |
2321 * Array.cc (range_error): ditto. | |
2322 * MArrayN.h (permute, ipermute): ditto. | |
2323 * ArrayN.h (permute, ipermute): ditto. | |
2324 * so-array.cc (streamoff_array::compute_index): ditto. | |
2325 * so-array.h (compute_index): ditto. | |
2326 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
2327 | |
6840 | 2328 2007-08-29 David Bateman <dbateman@free.fr> |
2329 | |
2330 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
2331 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
2332 matrices marked as singular. | |
2333 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
2334 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
2335 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
2336 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
2337 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
2338 octave_idx_type&, double&, int, int)): ditto. | |
2339 | |
6838 | 2340 2007-08-27 John W. Eaton <jwe@octave.org> |
2341 | |
2342 * oct-env.cc (octave_env::rooted_relative_pathname, | |
2343 octave_env::do_rooted_relative_pathname): New functions. | |
2344 * oct-env.h: Provide decls. | |
2345 | |
6823 | 2346 2007-08-24 David Bateman <dbateman@free.fr> |
2347 | |
2348 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
2349 const Array<octave_idx_type>&)): New method. | |
2350 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
2351 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
2352 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2353 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2354 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
2355 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2356 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2357 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2358 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2359 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2360 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2361 SparseMatrix&, const Array<octave_idx_type>&), | |
2362 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2363 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2364 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2365 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2366 SparseMatrix&, const Array<octave_idx_type>&), | |
2367 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2368 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2369 | |
6817 | 2370 2007-08-19 David Bateman <dbateman@free.fr> |
2371 | |
2372 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
2373 | |
6813 | 2374 2007-08-14 John W. Eaton <jwe@octave.org> |
2375 | |
2376 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
2377 Simplify. | |
6814 | 2378 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 2379 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2380 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 2381 |
2382 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
2383 Remove trailing dir separator when stat'ing directory except for | |
2384 root directory. | |
2385 | |
6796 | 2386 2007-07-25 David Bateman <dbateman@free.fr> |
2387 | |
2388 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
2389 to work. | |
2390 | |
6764 | 2391 2007-06-04 David Bateman <dbateman@free.fr> |
2392 | |
2393 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
2394 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
2395 perform a twos complement arithmetic shift for both signed and | |
2396 unsigned integers regardless of compiler implementations. | |
2397 | |
6708 | 2398 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
2399 | |
6719 | 2400 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
2401 use cs_complex_t(0,0) for the complex zero. | |
2402 | |
6708 | 2403 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
2404 Sprinkle class instantiations with OCTAVE_API as needed. | |
2405 | |
2406 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
2407 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
2408 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
2409 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
2410 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
2411 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
2412 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
2413 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
2414 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
2415 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
2416 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
2417 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
2418 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
2419 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
2420 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
2421 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
2422 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
2423 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
2424 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
2425 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
2426 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
2427 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
2428 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
2429 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
2430 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
2431 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
2432 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
2433 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2434 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2435 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
2436 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
2437 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
2438 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
2439 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
2440 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
2441 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
2442 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
2443 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
2444 SPARSE_SMM_OP_DECLS): Ditto. | |
2445 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
2446 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
2447 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
2448 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
2449 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
2450 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
2451 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
2452 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
2453 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
2454 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
2455 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
2456 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
2457 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
2458 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
2459 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
2460 | |
6699 | 2461 2007-06-12 John W. Eaton <jwe@octave.org> |
2462 | |
2463 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
2464 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 2465 |
6693 | 2466 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
2467 | |
6709 | 2468 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
2469 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
2470 with file_ops::dir_sep_char. | |
6694 | 2471 |
6693 | 2472 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
2473 | |
6689 | 2474 2007-06-04 David Bateman <dbateman@free.fr> |
2475 | |
6699 | 2476 * file-ops.cc: Typo. |
2477 | |
6689 | 2478 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
2479 dimensions is greater than 2, collapse to 2-D. | |
2480 | |
6685 | 2481 2007-06-02 David Bateman <dbateman@free.fr> |
2482 | |
2483 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
2484 | |
6680 | 2485 2007-05-31 John W. Eaton <jwe@octave.org> |
2486 | |
2487 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
2488 the computed size is too large for the size of Octave's index type. | |
2489 | |
6662 | 2490 2007-05-23 John W. Eaton <jwe@octave.org> |
2491 | |
2492 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
2493 | |
6629 | 2494 2007-05-16 David Bateman <dbateman@free.fr> |
2495 | |
2496 * dRowVector.cc (linspace): Return second argument if fewer than | |
2497 two values are requested. | |
2498 * CRowVector.cc (linspace): Likewise. | |
2499 | |
6596 | 2500 2007-04-27 John W. Eaton <jwe@octave.org> |
2501 | |
2502 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
2503 | |
6583 | 2504 2007-04-25 John W. Eaton <jwe@octave.org> |
2505 | |
2506 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
2507 | |
6553 | 2508 2007-04-20 John W. Eaton <jwe@octave.org> |
2509 | |
2510 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
2511 not rhs_len == 1. | |
2512 | |
6536 | 2513 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
2514 | |
2515 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
2516 | |
6525 | 2517 2007-04-13 John W. Eaton <jwe@octave.org> |
2518 | |
2519 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
2520 for empty matrix. Only check for colon index equivalence if not empty. | |
2521 | |
6513 | 2522 2007-04-10 John W. Eaton <jwe@octave.org> |
2523 | |
2524 * SparseCmplxQR.cc | |
2525 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
2526 Move GCC_ATTR_UNUSED before the parameter decl. | |
2527 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
2528 | |
6508 | 2529 2007-04-06 John W. Eaton <jwe@octave.org> |
2530 | |
2531 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
2532 * MArray.h (MArray<T>::norm): New function. | |
2533 * MArray.cc: Provide decl. | |
2534 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
2535 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
2536 | |
6490 | 2537 2007-04-04 John W. Eaton <jwe@octave.org> |
2538 | |
2539 * Range.cc (Range::nelem_internal): Likewise. | |
2540 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
2541 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
2542 From Scott Pakin <pakin@lanl.gov>. | |
2543 | |
6486 | 2544 2007-04-04 David Bateman <dbateman@free.fr> |
2545 | |
2546 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
2547 the condition number for positive definite matrices. | |
2548 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
2549 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
2550 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
2551 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
2552 (CHOL(const CHOL&)): Copy xrcond. | |
2553 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
2554 (xrcond): New private data member. | |
2555 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
2556 calc_cond. | |
2557 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
2558 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
2559 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
2560 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
2561 (xrcond): New private data member. | |
2562 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
2563 true, calculate the condition number with dpocon. | |
2564 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
2565 calc_cond is true, calculate the condition number with zpocon. | |
2566 | |
6481 | 2567 2007-04-03 John W. Eaton <jwe@octave.org> |
2568 | |
6482 | 2569 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
2570 | |
2571 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
2572 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
2573 "maybe clobbered by vfork" warning. | |
2574 | |
6483 | 2575 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 2576 if/else. |
2577 | |
2578 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
2579 and destructor. | |
2580 | |
6481 | 2581 * Array.cc (assignN): Don't resize dimension if corresponding |
2582 index is empty. | |
2583 | |
6479 | 2584 2007-04-02 John W. Eaton <jwe@octave.org> |
2585 | |
2586 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
2587 MatrixType argument. | |
2588 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
2589 | |
6467 | 2590 2007-03-27 John W. Eaton <jwe@octave.org> |
2591 | |
2592 * Makefile.in (DISTDIRS): Delete variable. | |
2593 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
2594 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2595 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 2596 |
2597 * MatrixType.cc: Replace all uses of the method | |
2598 octave_sparse_params::get_key ("bandden") with | |
2599 octave_sparse_params::get_bandden (void). | |
2600 (MatrixType::MatrixType (void)): Undo previous change but use | |
2601 octave_sparse_params::get_bandden (void). | |
2602 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
2603 methods. | |
2604 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
2605 Declare them. | |
2606 | |
6458 | 2607 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
2608 David Bateman <dbateman@free.fr> | |
2609 | |
2610 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
2611 Check that all elements are ints before doing anything. Simplify | |
2612 calculation of index values. | |
2613 | |
6457 | 2614 2007-03-26 David Bateman <dbateman@free.fr> |
2615 | |
2616 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2617 | |
6456 | 2618 2007-03-26 John W. Eaton <jwe@octave.org> |
2619 | |
2620 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2621 * chNDArray.h, chMatrix.h: Provide decls. | |
2622 | |
2623 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2624 | |
2625 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2626 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2627 |
6435 | 2628 2007-03-23 David Bateman <dbateman@free.fr> |
2629 | |
2630 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2631 little endian. | |
2632 | |
6414 | 2633 2007-03-15 John W. Eaton <jwe@octave.org> |
2634 | |
2635 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2636 From Alexander Barth <abarth@marine.usf.edu>. | |
2637 | |
6402 | 2638 2007-03-12 John W. Eaton <jwe@octave.org> |
2639 | |
2640 * oct-inttypes.h (octave_int::octave_int (double)): | |
2641 New Specialization. Round arg. | |
2642 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2643 Round result before converting type. | |
2644 | |
6388 | 2645 2007-03-07 John W. Eaton <jwe@octave.org> |
2646 | |
6392 | 2647 * Array.cc (assign1): Avoid resizing if there is an error. |
2648 | |
6390 | 2649 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2650 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2651 | |
6389 | 2652 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2653 Only allow resizing empty LHS if it is 0x0. | |
2654 | |
6388 | 2655 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2656 const T&)): Handle case of more indices than dimensions. | |
2657 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2658 cases to be handled by assignN. | |
2659 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2660 Special cases for 2-d array assignments for speed. | |
2661 Improve handling of scalar RHS and empty indices. | |
6384 | 2662 |
6383 | 2663 2007-03-05 David Bateman <dbateman@free.fr> |
2664 | |
2665 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2666 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2667 | |
6379 | 2668 2007-03-02 John W. Eaton <jwe@octave.org> |
2669 | |
2670 * str-vec.h (string_vector::empty): Return bool, not int. | |
2671 | |
6375 | 2672 2007-03-01 David Bateman <dbateman@free.fr> |
2673 | |
2674 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2675 an independent implementation of RFC1321. | |
2676 * oct-md5.h, oct-md5: New files for treating std::string class | |
2677 with MD5. | |
2678 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2679 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2680 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2681 | |
6366 | 2682 2007-02-27 John W. Eaton <jwe@octave.org> |
2683 | |
2684 * Makefile.in (uninstall): Delete files listed in | |
2685 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2686 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2687 | |
6536 | 2688 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2689 |
2690 * file-ops.cc (file_ops::recursive_rmdir): | |
2691 Close dir_entry object before calling rmdir. | |
2692 | |
6536 | 2693 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2694 |
2695 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2696 | |
6359 | 2697 * sparse-util.h (SparseCholPrint, SparseCholError): |
2698 Tag with OCTAVE_API. | |
2699 | |
6326 | 2700 2007-02-18 David Bateman <dbateman@free.fr> |
2701 | |
2702 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2703 calling setall and reset to the current generator after. | |
2704 | |
6323 | 2705 2007-02-16 John W. Eaton <jwe@octave.org> |
2706 | |
2707 * oct-shlib.h (octave_shlib::relative): New data member. | |
2708 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2709 New functions. | |
2710 | |
6321 | 2711 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2712 | |
2713 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2714 windows platform. | |
2715 * lo-sysdep.h (octave_popen2): Declare it. | |
2716 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2717 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2718 | |
6306 | 2719 2007-02-14 John W. Eaton <jwe@octave.org> |
2720 | |
2721 * kpse.cc (expand_elt): Omit special treatment for //. | |
2722 | |
6273 | 2723 2007-02-06 John W. Eaton <jwe@octave.org> |
2724 | |
2725 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2726 Don't delete value returned from realpath. | |
2727 | |
6271 | 2728 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2729 | |
2730 * file-ops.cc (file_ops::canonicalize_file_name): | |
2731 Provide implementation if realpath function is available. | |
2732 | |
6256 | 2733 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2734 | |
2735 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2736 | |
6244 | 2737 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2738 | |
2739 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2740 Windows systems. | |
2741 | |
6242 | 2742 2007-01-16 John W. Eaton <jwe@octave.org> |
2743 | |
2744 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2745 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2746 | |
2747 * oct-fftw.h (fftw_planner): Provide decl. | |
2748 | |
6241 | 2749 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2750 | |
2751 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2752 | |
6236 | 2753 2007-01-10 John W. Eaton <jwe@octave.org> |
2754 | |
2755 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2756 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2757 | |
6231 | 2758 2007-01-08 David Bateman <dbateman@free.fr> |
2759 | |
2760 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2761 SPARSESUITE with SUITESPARSE to match upstream name. | |
2762 | |
6228 | 2763 2007-01-05 David Bateman <dbateman@free.fr> |
2764 | |
2765 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2766 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2767 set the FFTW wisdom method used. | |
2768 (octave_fftw_planner::create_plan) Modify to allow different | |
2769 methods to be used. | |
2770 (octave_fftw_planner): Move class definition from here. | |
2771 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2772 and FftwMethod enum. | |
2773 | |
6221 | 2774 2007-01-03 David Bateman <dbateman@free.fr> |
2775 | |
2776 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2777 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2778 sparse matrices are special cased. | |
2779 | |
2780 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2781 matrix, sparse matrix operations. | |
2782 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2783 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2784 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2785 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2786 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2787 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2788 sparse matrices are special cased. | |
2789 | |
6217 | 2790 2006-12-22 David Bateman <dbateman@free.fr> |
2791 | |
2792 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2793 | |
6216 | 2794 2006-12-22 John W. Eaton <jwe@octave.org> |
2795 | |
2796 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2797 least 2 dimensions. | |
2798 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2799 | |
6208 | 2800 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2801 | |
2802 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2803 | |
2804 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2805 implementation for Windows. |
6208 | 2806 |
6207 | 2807 2006-12-06 David Bateman <dbateman@free.fr> |
2808 | |
6208 | 2809 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2810 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2811 |
2812 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2813 (tinverse): New method for triangular matrices. | |
2814 (inverse): New function with matrix type probing. | |
2815 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2816 declarations. | |
6208 | 2817 * CMatrix.cc: Ditto. |
2818 * CMatrix.h: Ditto. | |
6207 | 2819 |
6205 | 2820 2006-12-06 John W. Eaton <jwe@octave.org> |
2821 | |
2822 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2823 | |
6202 | 2824 2006-12-05 John W. Eaton <jwe@octave.org> |
2825 | |
2826 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2827 followed by 'I' or 'i', try reading number after putting | |
2828 characters back on input stream. | |
2829 | |
6198 | 2830 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2831 | |
2832 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2833 loop is n, not L. | |
2834 | |
6194 | 2835 2006-11-30 John W. Eaton <jwe@octave.org> |
2836 | |
2837 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2838 Also recognize [+-][Ii]nf. | |
2839 | |
6187 | 2840 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2841 |
2842 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2843 sub-directory. | |
2844 | |
6204 | 2845 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2846 well when calling tinverse for lower triangular matrices. | |
2847 * CSparse.cc (SparseComplexMatrix::inverse): | |
2848 Ditto. | |
6185 | 2849 |
6183 | 2850 2006-11-21 John W. Eaton <jwe@octave.org> |
2851 | |
2852 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2853 | |
6182 | 2854 2006-11-20 John W. Eaton <jwe@octave.org> |
2855 | |
2856 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2857 for ".", and names beginning with "./" or "../". | |
2858 | |
6162 | 2859 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2860 | |
2861 * CMatrix.cc, dMatrix.cc: New tests. | |
2862 | |
6153 | 2863 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2864 | |
2865 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2866 | |
6152 | 2867 2006-11-11 John W. Eaton <jwe@octave.org> |
2868 | |
2869 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2870 Use $(simple-move-if-change-rule) here. | |
2871 | |
6148 | 2872 2006-11-09 David Bateman <dbateman@free.fr> |
2873 | |
2874 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2875 octave_idx_type, not int. | |
2876 | |
6145 | 2877 2006-11-08 John W. Eaton <jwe@octave.org> |
2878 | |
2879 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2880 | |
6141 | 2881 2006-11-06 John W. Eaton <jwe@octave.org> |
2882 | |
2883 * Array.cc (assignN): Exit early if invalid indices are found. | |
2884 | |
6140 | 2885 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2886 | |
2887 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2888 | |
6137 | 2889 2006-11-03 John W. Eaton <jwe@octave.org> |
2890 | |
2891 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2892 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2893 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2894 | |
6123 | 2895 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2896 | |
2897 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2898 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2899 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2900 lo-sysdep.cc. | |
2901 | |
6113 | 2902 2006-10-27 John W. Eaton <jwe@octave.org> |
2903 | |
6119 | 2904 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2905 | |
2906 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2907 | |
2908 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2909 NDS_CMP_OPS2): New macros. | |
6113 | 2910 |
6111 | 2911 2006-10-26 John W. Eaton <jwe@octave.org> |
2912 | |
6119 | 2913 * mx-ops (core-type): New field for integer types. |
2914 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2915 | |
6111 | 2916 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2917 Move here from src/cutils.c. | |
2918 * lo-utils.h: Provide decls. | |
2919 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2920 * strncase.c: Move here from src/strncase.c. | |
2921 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2922 | |
6106 | 2923 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2924 | |
2925 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2926 | |
6708 | 2927 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2928 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2929 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2930 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2931 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2932 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2933 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2934 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2935 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2936 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2937 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2938 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2939 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2940 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2941 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2942 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2943 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2944 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2945 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2946 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2947 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2948 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2949 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2950 |
6105 | 2951 2006-10-26 John W. Eaton <jwe@octave.org> |
2952 | |
2953 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2954 type qualification for OP. | |
2955 | |
6101 | 2956 2006-10-26 David Bateman <dbateman@free.fr> |
2957 | |
2958 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2959 octave_idx_type)): Be more careful with the size of the input | |
2960 matrix, and therefore don't create or read non existent data. | |
2961 | |
6092 | 2962 2006-10-25 John W. Eaton <jwe@octave.org> |
2963 | |
2964 * Sparse.cc (assign): Clear lhs index after error. | |
2965 | |
6093 | 2966 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2967 |
2968 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2969 Fix previous patch so it works. | |
2970 | |
6087 | 2971 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2972 | |
6095 | 2973 * glob-match.h (glob_match::glob_match (const std::string&, |
2974 unsigned int)): Delete initializer for first arg. | |
2975 | |
6093 | 2976 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2977 New functions. | |
2978 | |
6087 | 2979 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2980 | |
6096 | 2981 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2982 same code as __MINGW32__. | |
2983 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2984 the same as for __MINGW32__. | |
2985 | |
2986 * randpoisson.c: Undefine INFINITE before redefining. | |
2987 | |
6079 | 2988 2006-10-24 David Bateman <dbateman@free.fr> |
2989 | |
2990 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2991 lhs at the point we know the assignment can succeed if the lhs is | |
2992 empty. | |
2993 | |
6072 | 2994 2006-10-23 John W. Eaton <jwe@octave.org> |
2995 | |
2996 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2997 | |
6061 | 2998 2006-10-17 John W. Eaton <jwe@octave.org> |
2999 | |
3000 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
3001 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
3002 and _copysign. | |
3003 | |
6059 | 3004 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 3005 |
6061 | 3006 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
3007 | |
6708 | 3008 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
3009 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 3010 |
6058 | 3011 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
3012 | |
6059 | 3013 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
3014 | |
6051 | 3015 * Makefile.in: Adapt rules to use $(LIBPRE). |
3016 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3017 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 3018 |
3019 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
3020 or p == 0. | |
3021 | |
6018 | 3022 2006-10-02 John W. Eaton <jwe@octave.org> |
3023 | |
3024 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
3025 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
3026 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3027 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 3028 |
3029 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 3030 Remove spurious warning. |
5996 | 3031 |
5992 | 3032 2006-09-15 John W. Eaton <jwe@octave.org> |
3033 | |
3034 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
3035 Handle resizing. | |
3036 | |
3037 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
3038 | |
5983 | 3039 2006-09-11 John W. Eaton <jwe@octave.org> |
3040 | |
3041 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
3042 Handle M*v and rv*cv special cases. | |
3043 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
3044 ComplexMatrix&))): Likewise. | |
3045 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
3046 | |
3047 * dRowVector.cc (operator * (const RowVector&, const | |
3048 ColumnVector&)): Call xddot here instead of using a Fortran | |
3049 function directly. | |
3050 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
3051 ComplexColumnVector&)): Call xzdotu here. | |
3052 | |
3053 2006-09-05 John W. Eaton <jwe@octave.org> | |
3054 | |
3055 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
3056 elements to '\0', not ' '. | |
3057 | |
5972 | 3058 2006-08-25 John W. Eaton <jwe@octave.org> |
3059 | |
3060 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
3061 | |
5958 | 3062 2006-08-23 John W. Eaton <jwe@octave.org> |
3063 | |
3064 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
3065 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
3066 | |
5955 | 3067 2006-08-22 John W. Eaton <jwe@octave.org> |
3068 | |
5956 | 3069 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
3070 * dMatrix.cc (Matrix::save_ascii): New function. | |
3071 | |
5955 | 3072 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
3073 If array is empty, return value is same size as array. | |
3074 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
3075 If array is empty, produce correctly sized return value. | |
3076 | |
5940 | 3077 2006-08-18 John W. Eaton <jwe@octave.org> |
3078 | |
5943 | 3079 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
3080 * dMatrix.h: Provide decl. | |
3081 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
3082 * dNDArray.h: Provide decl. | |
3083 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
3084 New function. | |
3085 * intNDArray.h: Provide decl. | |
3086 | |
5940 | 3087 * Array.cc (Array<T>::permute): Only rearrange values if array is |
3088 not empty. | |
3089 | |
5904 | 3090 2006-07-26 John W. Eaton <jwe@octave.org> |
3091 | |
3092 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
3093 DET::value_will_overflow): Use xlog2 instead of log2. | |
3094 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
3095 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
3096 * CmplxDET.cc (ComplexDET::initialize10, | |
3097 ComplexDET::value_will_underflow, | |
3098 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
3099 (ComplexDET::initialize2, ComplexDET::initialize10): | |
3100 Use xround instead of round. | |
3101 (ComplexDET::initialize2, ComplexDET::value): | |
3102 Use xexp2 instead of exp2. | |
3103 | |
3104 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
3105 (xlog2, xexp2): New functions. | |
3106 * lo-mappers.h: Provide decls. | |
3107 | |
5900 | 3108 2006-07-22 John W. Eaton <jwe@octave.org> |
3109 | |
3110 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
3111 Sparse<T>::mex_get_jc): New functions. | |
3112 | |
3113 2006-07-21 John W. Eaton <jwe@octave.org> | |
3114 | |
3115 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
3116 * Array.h (Array<T>::mex_get_data): New function. | |
3117 | |
5898 | 3118 2006-07-19 John W. Eaton <jwe@octave.org> |
3119 | |
3120 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
3121 | |
5893 | 3122 2006-07-16 John W. Eaton <jwe@octave.org> |
3123 | |
3124 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
3125 Rename from SparseParams. Use same implementation method as other | |
3126 singleton classes in Octave. Change all uses of | |
3127 Voctave_sparse_controls to use static functions from | |
3128 octave_sparse_params class instead. | |
3129 | |
3130 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
3131 SparseParams::get_key): Pass std::string arg by const reference, | |
3132 not const value. | |
3133 | |
5892 | 3134 2006-07-15 John W. Eaton <jwe@octave.org> |
3135 | |
3136 * data-conv.cc: Instantiante swap_bytes templates here. | |
3137 | |
3138 * MatrixType.cc (MatrixType::MatrixType): | |
3139 Use complete initializer lists in constructors. | |
3140 | |
5880 | 3141 2006-07-06 John W. Eaton <jwe@octave.org> |
3142 | |
3143 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
3144 New constructor. | |
3145 * str-vec.h: Provide decl. | |
3146 | |
5876 | 3147 2006-07-01 David Bateman <dbateman@free.fr> |
3148 | |
3149 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
3150 elements on the diagonal. Allow both Upper and Lower triangular | |
3151 matrices to be treated. | |
3152 * CSparse.cc (tinverse): ditto. | |
3153 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
3154 constant assignment. | |
3155 | |
5870 | 3156 2006-06-30 John W. Eaton <jwe@octave.org> |
3157 | |
5872 | 3158 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
3159 * cmd-edit.cc (editor::read_init_file): Ditto. | |
3160 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 3161 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 3162 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 3163 |
5870 | 3164 * data-conv.cc (data_conv::string_to_data_type): |
3165 Correctly handle leading "*". | |
3166 | |
5869 | 3167 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
3168 | |
3169 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
3170 array access. | |
3171 | |
5866 | 3172 2006-06-27 John W. Eaton <jwe@octave.org> |
3173 | |
3174 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
3175 | |
5864 | 3176 2006-06-21 John W. Eaton <jwe@octave.org> |
3177 | |
3178 * oct-shlib.cc (octave_dlopen_shlib::close, | |
3179 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
3180 Skip do_close_hook if cl_hook is 0. | |
3181 | |
5863 | 3182 2006-06-16 John W. Eaton <jwe@octave.org> |
3183 | |
3184 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
3185 * randmtzig.h: Don't inlcude config.h. | |
3186 | |
5837 | 3187 2006-05-31 David Bateman <dbateman@free.fr> |
3188 | |
3189 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
3190 | |
5828 | 3191 2006-05-23 John W. Eaton <jwe@octave.org> |
3192 | |
3193 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
3194 typedefs, or define them if those files are not available. | |
3195 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
3196 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
3197 octave_uint64_t): Delete typedefs. Replace all uses of these | |
3198 types with int8_t, int16_t, etc. | |
3199 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
3200 Delete definitions. Replace all uses of these macros with int8_t, | |
3201 int16_t, etc. | |
3202 * randmtzig.h: Delete integer typedefs. | |
3203 | |
5822 | 3204 2006-05-18 John W. Eaton <jwe@octave.org> |
3205 | |
3206 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
3207 From Keith Goodman <kwgoodman@gmail.com>. | |
3208 | |
5813 | 3209 2006-05-08 David Bateman <dbateman@free.fr> |
3210 | |
3211 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
3212 modification. | |
3213 | |
5797 | 3214 2006-05-09 David Bateman <dbateman@free.fr> |
3215 | |
3216 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
3217 ov-cx-sparse. and error_state. | |
3218 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
3219 | |
5795 | 3220 2006-05-08 David Bateman <dbateman@free.fr> |
3221 | |
3222 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
3223 first pass and use to determine which algorithm to use on a | |
3224 column-by-column basis. | |
3225 | |
5792 | 3226 2006-05-04 David Bateman <dbateman@free.fr> |
3227 | |
3228 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
3229 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
3230 CXSparse or later | |
3231 | |
5785 | 3232 2006-05-03 David Bateman <dbateman@free.fr> |
3233 | |
3234 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
3235 External declaration of lapack triangular and Cholesky codes. | |
3236 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
3237 ComplexMatrix::fsolve): New private solver codes for | |
3238 upper, lower and LU/Cholesky solvers. | |
3239 (ComplexMatrix::solve): New versions for cached matrix | |
3240 type. Adapt old versions to call new versions | |
3241 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3242 new solvers. | |
3243 (solve): New versions for cached matrix type. | |
3244 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
3245 External declaration of lapack triangular and Cholesky codes. | |
3246 (Matrix::utsolve, Matrix::ltsolve, | |
3247 Matrix::fsolve): New private solver codes for | |
3248 upper, lower and LU/Cholesky solvers. | |
3249 (Matrix::solve): New versions for cached matrix | |
3250 type. Adapt old versions to call new versions | |
3251 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3252 new solvers. | |
3253 (solve): New versions for cached matrix type. | |
3254 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
3255 * CSparse.h: ditto. | |
3256 * dSparse.cc: ditto. | |
3257 * dSparse.h: ditto. | |
3258 * SparseCmplxCHOL.cc: ditto. | |
3259 * SparsedbleCHOL.cc: ditto. | |
3260 * sparse-dmsolve.cc: ditto. | |
3261 * SparseType.cc, SparseType.h: delete. | |
3262 * MatrixType.cc: New file for class to cache matrix type, based on | |
3263 old SparseType class but caching matrix and sparse types. | |
3264 * MatrixType.h: ditto. | |
3265 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
3266 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
3267 respectively. | |
3268 * mx-base.h: Include MatrixTye.h as header file. | |
3269 | |
5781 | 3270 2006-05-01 John W. Eaton <jwe@octave.org> |
3271 | |
3272 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
3273 Delete WARN_FUTURE arg. Change all uses. | |
3274 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
3275 Change all uses. Use current_liboctave_warning_with_id_handler. | |
3276 (octave_base_shlib::open): Delete arg. Change all derived classes | |
3277 and uses. | |
3278 | |
3279 2006-04-29 John W. Eaton <jwe@octave.org> | |
3280 | |
3281 * Array-flags.cc, Array-flags.h: Delete. | |
3282 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
3283 (MATRIX_INC): Remove Array-flags.h from the list. | |
3284 | |
3285 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
3286 Use current_liboctave_warning_with_id_handler | |
3287 with warning ID Octave:resize-on-range-error. | |
3288 * idx-vector.h: Fix decl. | |
3289 * Array.cc, Sparse.cc: Change all callers. | |
3290 | |
3291 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
3292 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
3293 with warning ID Octave:fortran-indexing instead of | |
3294 liboctave_wfi_flag. | |
3295 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
3296 | |
5777 | 3297 2006-04-26 John W. Eaton <jwe@octave.org> |
3298 | |
3299 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
3300 New static data. | |
3301 * pathsearch.h: Provide decls. | |
3302 (dir_path::is_path_sep): New function. | |
3303 | |
5766 | 3304 2006-04-18 John W. Eaton <jwe@octave.org> |
3305 | |
3306 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
3307 Omit inline from decl. | |
3308 | |
3309 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
3310 local array with variable dimension. | |
3311 | |
5764 | 3312 2006-04-16 John W. Eaton <jwe@octave.org> |
3313 | |
5765 | 3314 * lo-sstream.h: Delete. |
3315 * Makefile.in (INCLUDES): Remove it from the list. | |
3316 | |
3317 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
3318 * Sparse.cc (Sparse::range_error): Likewise. | |
3319 * DASSL.cc (DASSL::error_message): Likewise. | |
3320 * LSODE.cc (LSODE::error_message): Likewise. | |
3321 * DASRT.cc (DASRT::error_message): Likewise. | |
3322 * DASPK.cc (DASPK::error_message): Likewise. | |
3323 * Array.cc (Array::range_error): Likewise. | |
3324 | |
5764 | 3325 * kpse.cc (kpse_hash): Rename from hash. |
3326 (hash_lookup): Call kpse_hash instead of hash. | |
3327 | |
3328 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
3329 to avoid local array with variable dimension. | |
3330 | |
5760 | 3331 2006-04-13 David Bateman <dbateman@free.fr> |
3332 | |
3333 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3334 Optimize assignment. | |
3335 | |
3336 2006-04-13 John W. Eaton <jwe@octave.org> | |
3337 | |
3338 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3339 Eliminate unnecessary casts. | |
3340 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
3341 | |
3342 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
3343 (log_search, dir_links): Use static_cast instead of C-style cast. | |
3344 | |
3345 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
3346 * oct-alloc.cc (allocator::grow): Likewise. | |
3347 * CSparse.cc (SparseComplexMatrix::determinant, | |
3348 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
3349 Likewise. | |
3350 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
3351 | |
3352 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
3353 Use static_cast instead of C-style cast. | |
3354 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3355 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
3356 | |
3357 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
3358 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
3359 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
3360 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
3361 Use reinterpret_cast instead of X_CAST. | |
3362 | |
3363 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
3364 return value here. | |
3365 | |
5752 | 3366 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
3367 | |
3368 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
3369 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
3370 | |
5730 | 3371 2006-04-03 David Bateman <dbateman@free.fr> |
3372 | |
5731 | 3373 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
3374 to avoid copy of original matrix. | |
3375 | |
5730 | 3376 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
3377 randmtzig.h to the list. | |
3378 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
3379 randmtzig.c to the list. | |
3380 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
3381 (use_old_generators): New variable. | |
3382 (old_initialized): Rename from initialized. | |
3383 (new_initialized): New variable. | |
3384 (oct_init_by_entropy): New function. | |
3385 (maybe_initialize): Initialize new or old generator depending on | |
3386 value of use_old_generators. | |
3387 (octave_rand::state): New functions. | |
3388 (octave_rand::distribution): Add gamma, exponential and poisson | |
3389 distributions. | |
3390 (octave_rand::exponential_distribution, | |
3391 octave_rand::poisson_distribution, | |
3392 octave_rand::gamma_distribution): New methods to select | |
3393 exponential, poisson or gamma distribution. | |
3394 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3395 octave_rand::vector): Add new distributions. | |
3396 * oct-rand.h: Provide decls for new functions. | |
3397 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
3398 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3399 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
3400 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
3401 randmtzig.h: New files. | |
3402 | |
5717 | 3403 2006-03-24 John W. Eaton <jwe@octave.org> |
3404 | |
3405 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
3406 Array<octave_idx_type>, so fortran_vec returns pointer to | |
3407 octave_idx_type, not pointer to int. | |
3408 | |
3409 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
3410 ComplexMatrix::column (char*)): Delete. | |
3411 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
3412 Matrix::column (char*)): Delete. | |
3413 | |
5713 | 3414 2006-03-21 David Bateman <dbateman@free.fr> |
3415 | |
3416 * SparseQR.h: Publish externally used friends. | |
3417 * SparseCmplxQR.h: ditto. | |
3418 | |
5700 | 3419 2006-03-21 John W. Eaton <jwe@octave.org> |
3420 | |
3421 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
3422 call to xdbetai. | |
3423 | |
5697 | 3424 2006-03-21 David Bateman <dbateman@free.fr> |
3425 | |
5701 | 3426 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
3427 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 3428 |
3429 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
3430 fallback to QR solvers to be optional. | |
3431 * CSparse.cc (solve): Ditto. | |
3432 * dSparse.h (solve): update declaration for new argument. | |
3433 * CSparse.h (solve): Ditto. | |
3434 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
3435 to bypass QR solvers when solving the well determined part of | |
3436 the problem. | |
5697 | 3437 |
5690 | 3438 2006-03-17 John W. Eaton <jwe@octave.org> |
3439 | |
3440 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
3441 | |
5681 | 3442 2006-03-16 David Bateman <dbateman@free.fr> |
3443 | |
3444 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
3445 reduction of matrix size, except for a couple of cases where nzmax | |
3446 is needed. | |
3447 (zpbcon): Correct declaration of lapack zpbcon function. | |
3448 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
3449 an argument to allow the calculation of condition number to be | |
3450 optional. | |
3451 (bsolve): Add code for the calculation of the condition number | |
3452 using zpbcon and zgbcon. | |
3453 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
3454 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
3455 singular if singularity is detected. | |
3456 (solve): Use optional argument to disable calculation of | |
3457 condition number for all but fsolve, for speed. Add code to | |
3458 allow rectnagular matrices or matrices identified as singular | |
3459 to be treated. | |
3460 (lssolve): delete. | |
3461 (operator *): Don't recast real matrices as complex, but | |
3462 rather use the macro directly on the real data. | |
3463 * dSparse.cc: ditto. | |
3464 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
3465 fsolve, factorize): Update declaration for new argument to | |
3466 calculate the condition number. | |
3467 (lssolve): delete. | |
3468 * dSparse.h: ditto. | |
3469 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
3470 reduction of matrix size, except for a couple of cases where | |
3471 nzmax is needed. | |
3472 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
3473 reduction of matrix size, except for a couple of cases where | |
3474 nzmax is needed. | |
3475 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
3476 Special case strict permutations for speed. | |
3477 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
3478 reduction of matrix size, except for a couple of cases where | |
3479 nzmax is needed. | |
3480 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
3481 macros to allow mixed complex/real arguments. | |
3482 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
3483 value. | |
3484 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
3485 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
3486 of permutated triangular matrices to avoid seg-faults. Disable | |
3487 detection of underdetermined lower and over-determined upper | |
3488 matrix due to problems with non minimum norm solutions. | |
3489 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
3490 * Makefile.in: add sparse-dmsolve.cc to targets. | |
3491 | |
5675 | 3492 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
3493 | |
3494 * oct-time.cc (octave_strptime::init): Return useful character count. | |
3495 | |
5648 | 3496 2006-03-08 David Bateman <dbateman@free.fr> |
3497 | |
3498 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
3499 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
3500 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
3501 * SparseQR.cc: ditto. | |
3502 * SparseQR.h: ditto. | |
3503 * oct-sparse.h: ditto. | |
3504 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
3505 Declare info variable as volatile. | |
3506 | |
3507 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
3508 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
3509 | |
5634 | 3510 2006-03-01 John W. Eaton <jwe@octave.org> |
3511 | |
3512 * CMatrix.cc (ComplexMatrix::determinant): | |
3513 Scale result by factors of 2, not 10. | |
3514 * dMatrix.cc (Matrix::determinant): Likewise. | |
3515 | |
3516 * dbleDET.h (DET::DET): Use initializer list. | |
3517 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
3518 DET::exponent10): New functions. | |
3519 (DET::det): Delete. | |
3520 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
3521 Store value internally with double and int instead of 2-element | |
3522 double vector. | |
3523 (DET::initialize2, DET::initialize10): Provide decls. | |
3524 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
3525 Return bool value, not int. | |
3526 (DET::initialize2, DET::initialize10): New functions. | |
3527 | |
3528 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
3529 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
3530 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
3531 (ComplexDET::det): Delete. | |
3532 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
3533 ComplexDET::base2): New data members. | |
3534 Store value internally with Complex and int instead of 2-element | |
3535 Complex vector. | |
3536 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
3537 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
3538 ComplexDET::value_will_underflow): Return bool value, not int. | |
3539 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
3540 | |
5632 | 3541 2006-02-24 John W. Eaton <jwe@octave.org> |
3542 | |
3543 * Array.cc (assignN): Clear index before reshaping. | |
3544 | |
3545 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
3546 | |
5630 | 3547 2006-02-20 David Bateman <dbateman@free.fr> |
3548 | |
3549 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
3550 matrix must be square in diagonal, permuted diagonal, triangular | |
3551 and permuted triangular back/forward substitution code. Change | |
3552 ambiguous use of no. rows and columns. | |
3553 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
3554 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
3555 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
3556 rectangular diagonal, permuted diagonal, triangular and permuted | |
3557 triangular matrices. | |
3558 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
3559 Treat case where third argument is zero. | |
3560 | |
5621 | 3561 2006-02-15 John W. Eaton <jwe@octave.org> |
3562 | |
5622 | 3563 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
3564 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
3565 | |
5621 | 3566 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
3567 | |
5619 | 3568 2006-02-13 David Bateman <dbateman@free.fr> |
3569 | |
3570 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
3571 ccolamd and cxsparse | |
3572 | |
5617 | 3573 2006-02-13 John W. Eaton <jwe@octave.org> |
3574 | |
5618 | 3575 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
3576 while loop condition. | |
3577 (kpse_path_iterator::operator =): Declare as private function but | |
3578 don't define to prevent attempts to use assignment operator. | |
3579 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 3580 |
5615 | 3581 2006-02-10 John W. Eaton <jwe@octave.org> |
3582 | |
3583 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
3584 product of all dimensions in CP_SZ. | |
3585 | |
5611 | 3586 2006-02-09 John W. Eaton <jwe@octave.org> |
3587 | |
3588 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 3589 product of all dimensions in CP_SZ. |
5611 | 3590 |
5610 | 3591 2006-02-09 David Bateman <dbateman@free.fr> |
3592 | |
3593 * SparseQR.cc: new file for real sparse QR class. | |
3594 * SparseQR.h: declaration. | |
3595 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
3596 * SparseCmplxQR.h: declaration. | |
3597 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3598 (factorize, fsolve): Enable code code lssolve. | |
3599 (lssolve): disable unused args, write based in above sparse QR class. | |
3600 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3601 (factorize, fsolve): Enable code code lssolve. | |
3602 (lssolve): disable unused args, write based in above sparse QR class. | |
3603 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
3604 Include CXSparse headers. | |
3605 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
3606 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
3607 | |
5607 | 3608 2006-02-08 John W. Eaton <jwe@octave.org> |
3609 | |
3610 * Array-util.h (calc_permutated_idx): Delete. | |
3611 * Array.cc (permute_vector): New data structure. | |
3612 (permute_vector_compare): New function. | |
3613 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3614 improved performance. | |
3615 | |
5606 | 3616 2006-02-04 David Bateman <dbateman@free.fr> |
3617 | |
3618 * COLAMD: Remove all files, as now unused. | |
3619 | |
5604 | 3620 2006-01-31 John W. Eaton <jwe@octave.org> |
3621 | |
3622 * Sparse.h (Sparse<T>::nzmax): New function. | |
3623 (Sparse<T>::nnz): Rename from nonzero. | |
3624 Change all uses of old nnz function to be nzmax. Change all uses | |
3625 of nonzero to be nnz. | |
3626 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3627 | |
5603 | 3628 2006-01-21 David Bateman <dbateman@free.fr> |
3629 | |
3630 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3631 (bool octave_idx_vector_comp): New function. | |
3632 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3633 indexed idx_vector sorting function. | |
3634 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3635 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3636 sorting. | |
3637 (bool octave_idx_vector_comp): Declaration. | |
3638 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3639 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3640 class. | |
3641 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3642 | |
5602 | 3643 2006-01-30 John W. Eaton <jwe@octave.org> |
3644 | |
3645 * so-array.h (streamoff_array::nnz): New funtion. | |
3646 * boolNDArray.h (boolNDArray::nnz): New function. | |
3647 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3648 * MArray.h (MArray<T>::nnz): New function. | |
3649 | |
5587 | 3650 2006-01-04 David Bateman <dbateman@free.fr> |
3651 | |
3652 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3653 elements not being sorted in return matrix. Sort them, and make | |
3654 solver select between two algorithms to further improve the | |
3655 performance. | |
3656 * dSparse.cc: include oct-sort.h. | |
3657 * CSparse.cc: ditto. | |
3658 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3659 | |
5586 | 3660 2005-12-28 David Bateman <dbateman@free.fr> |
3661 | |
5587 | 3662 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3663 faster in all cases, and significantly so for low density or small | |
3664 order problems. | |
5586 | 3665 |
5552 | 3666 2005-11-30 John W. Eaton <jwe@octave.org> |
3667 | |
3668 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3669 before setting any values in either array. | |
3670 | |
5547 | 3671 2005-11-29 John W. Eaton <jwe@octave.org> |
3672 | |
3673 * oct-uname.h, oct-uname.cc: New files. | |
3674 * Makefile.in: Add them to the appropriate lists. | |
3675 | |
5535 | 3676 2005-11-11 John W. Eaton <jwe@octave.org> |
3677 | |
3678 * Array.cc (Array<T>::indexN): Simplify. | |
3679 | |
5533 | 3680 2005-11-09 John W. Eaton <jwe@octave.org> |
3681 | |
3682 * oct-inttypes.h (octave_int::operator char (void) const): | |
3683 New conversion op. | |
3684 | |
5527 | 3685 2005-11-01 John W. Eaton <jwe@octave.org> |
3686 | |
3687 * Makefile.in (distclean): Also remove oct-types.h. | |
3688 From Quentin Spencer <qspencer@ieee.org>. | |
3689 | |
5526 | 3690 2005-10-31 David Bateman <dbateman@free.fr> |
3691 | |
3692 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3693 preprocessor defined TRUE/FALSE. | |
3694 | |
5523 | 3695 2005-10-30 John W. Eaton <jwe@octave.org> |
3696 | |
3697 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3698 (MX_ND_CUMULATIVE_OP): Likewise. | |
3699 | |
5519 | 3700 2005-10-29 John W. Eaton <jwe@octave.org> |
3701 | |
5520 | 3702 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3703 things up. Simplify. | |
3704 | |
5519 | 3705 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3706 case for "vector_equivalent". | |
3707 | |
3708 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3709 | |
5518 | 3710 2005-10-28 John W. Eaton <jwe@octave.org> |
3711 | |
3712 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3713 From Quentin Spencer <qspencer@ieee.org>. | |
3714 | |
3715 * sparse-base-chol.cc: Use C++ true/false instead of | |
3716 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3717 | |
5516 | 3718 2005-10-27 John W. Eaton <jwe@octave.org> |
3719 | |
3720 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3721 | |
5512 | 3722 2005-10-26 John W. Eaton <jwe@octave.org> |
3723 | |
3724 * oct-sparse.h: New file. | |
3725 * oct-sparse.h.in: Delete. | |
3726 | |
5511 | 3727 2005-10-26 David Bateman <dbateman@free.fr> |
3728 | |
3729 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3730 * sparse-base-chol.cc: ditto. | |
3731 | |
5508 | 3732 2005-10-26 John W. Eaton <jwe@octave.org> |
3733 | |
3734 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3735 <arno@heho.snv.jussieu.fr>: | |
3736 | |
5509 | 3737 * dSparse.h (real (const SparseComplexMatrix&)): |
3738 Publish externally used friend function. | |
3739 (imag (const SparseComplexMatrix&)): Likewise. | |
3740 | |
5508 | 3741 * dColVector.h (real (const ComplexColumnVector&)): |
3742 Publish externally used friend function. | |
3743 (imag (const ComplexColumnVector&)): Likewise. | |
3744 | |
3745 * dNDArray.h (real (const ComplexNDArray&)): | |
3746 Publish externally used friend function. | |
3747 (imag (const ComplexNDArray&)): Likewise. | |
3748 | |
3749 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3750 Move decl outside class. No need to be friend. | |
3751 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3752 (imag (const ComplexMatrix&)): Likewise. | |
3753 | |
3754 * CMatrix.h: (operator * (const ColumnVector&, const | |
3755 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3756 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3757 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3758 Likewise. | |
3759 | |
5506 | 3760 2005-10-23 David Bateman <dbateman@free.fr> |
3761 | |
3762 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3763 elements need to be removed. | |
3764 | |
3765 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3766 versions of cholmod. | |
3767 | |
3768 * CSparse.cc (tinverse): New private function for the inversion of | |
3769 an upper triangular matrix. | |
3770 (dinverse): ditto for diagonal matrices. | |
3771 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3772 using tinverse and dinverse. | |
3773 (fsolve): Use cholmod to implement Cholesky solver. | |
3774 * CSparse.h (tinverse, dinverse): Declarations | |
3775 (inverse): Alter declaration to include SparseType. | |
3776 | |
3777 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3778 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3779 | |
3780 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3781 | |
3782 * sparse-util.cc: New file for sparse utility functions. | |
3783 * sparse-util.h: New file with declarations of sparse utility | |
3784 functions. | |
3785 | |
3786 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3787 on cholmod. | |
3788 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3789 class based on cholmod. | |
3790 | |
3791 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3792 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3793 | |
3794 * SparsedbleCHOL.cc: ditto. | |
3795 * SparsedbleCHOL.h: ditto. | |
3796 | |
3797 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3798 (INCLUDES): Include sparse-util.h | |
3799 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3800 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3801 | |
5489 | 3802 2005-10-12 John W. Eaton <jwe@octave.org> |
3803 | |
3804 * oct-env.cc (octave_env::have_x11_display): New function. | |
3805 * oct-env.h: Provide decl. | |
3806 | |
5476 | 3807 2005-09-29 John W. Eaton <jwe@octave.org> |
3808 | |
3809 * file-stat.h (file_stat::mode): New function. | |
3810 | |
3811 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3812 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3813 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3814 * file-stat.h: Provide decls. | |
3815 | |
3816 2005-09-28 John W. Eaton <jwe@octave.org> | |
3817 | |
3818 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3819 * file-ops.h: Provide decl. | |
3820 | |
5454 | 3821 2005-09-19 David Bateman <dbateman@free.fr> |
3822 | |
3823 * oct-env.cc (octave_env::do_get_home_directory): | |
3824 Also check HOMEDRIVE under mingw. | |
3825 | |
5455 | 3826 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3827 | |
5453 | 3828 2005-09-16 John W. Eaton <jwe@octave.org> |
3829 | |
3830 * oct-syscalls.cc: Include lo-utils.h here. | |
3831 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3832 | |
3833 * lo-cutils.c (octave_waitpid): New function. | |
3834 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3835 oct-syscalls.cc | |
3836 | |
3837 | |
3838 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3839 waitpid in src/sysdep.h. Make this header C-compatible. | |
3840 | |
3841 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3842 Change all uses. | |
3843 | |
5451 | 3844 2005-09-15 John W. Eaton <jwe@octave.org> |
3845 | |
3846 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3847 | |
3848 * oct-sparse.h.in: New file. | |
3849 * Makefile.in (DISTFILES): Include it in the list. | |
3850 (INCLUDES): Add oct-sparse.h to the list. | |
3851 | |
3852 2005-09-15 David Bateman <dbateman@free.fr> | |
3853 | |
3854 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3855 headers. Remove include of umfpack.h. | |
3856 * CSparse.cc : ditto. | |
3857 * SparsedbleLU.cc : ditto. | |
3858 * SparseCmplxLU.cc : ditto. | |
3859 | |
3860 * COLAMD : Remove colamd files from octave. | |
3861 * COLAMD.files : delete. | |
3862 * COLAMD.README : delete. | |
3863 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3864 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3865 under mingw. | |
3866 | |
3867 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3868 in definition. | |
3869 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3870 change of cast not allowed under g++ 3.x. | |
3871 * lo-utils.h (octave_w32_library_search): Declaration. | |
3872 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3873 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3874 | |
5442 | 3875 2005-09-07 John W. Eaton <jwe@octave.org> |
3876 | |
3877 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3878 based on current code in Bash. Handle a few more escape | |
3879 sequences. Do a better job of decoding \W. | |
3880 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3881 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3882 |
3883 * COLAMD: Update version of colamd to v2.4. | |
3884 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3885 colamd.c for long version. | |
3886 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3887 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3888 |
3889 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3890 mixed sparse/full multiply. | |
3891 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3892 mixed sparse/full multiply. | |
3893 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3894 mixed sparse/full multiply operators. | |
3895 | |
5420 | 3896 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3897 | |
3898 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3899 avoid warnings for unsigned types. | |
3900 | |
5404 | 3901 2005-07-07 John W. Eaton <jwe@octave.org> |
3902 | |
3903 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3904 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3905 | |
5392 | 3906 2005-06-15 John W. Eaton <jwe@octave.org> |
3907 | |
5394 | 3908 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3909 Flush stdout here. | |
3910 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3911 | |
5392 | 3912 * Array.h (Array::resize): Change int args to octave_idx_type. |
3913 | |
5386 | 3914 2005-06-14 John W. Eaton <jwe@octave.org> |
3915 | |
5389 | 3916 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3917 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3918 octave_is_NaN_or_NA to xisnan. | |
3919 | |
3920 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3921 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3922 | |
3923 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3924 lo_ieee_isnan. | |
3925 | |
5387 | 3926 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3927 value is greater than FLT_MAX. | |
3928 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3929 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3930 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3931 | |
3932 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3933 values too. | |
3934 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3935 | |
3936 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3937 NA, Inf values. | |
3938 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3939 |
5385 | 3940 2005-06-14 David Bateman <dbateman@free.fr> |
3941 | |
5387 | 3942 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3943 NA values. | |
3944 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3945 |
5379 | 3946 2005-06-02 John W. Eaton <jwe@octave.org> |
3947 | |
3948 * Array.cc (assignN): Try harder to correctly resize previously | |
3949 empty LHS. | |
3950 | |
5351 | 3951 2005-05-16 David Bateman <dbateman@free.fr> |
3952 | |
3953 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3954 * CSparse.h: ditto. | |
3955 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3956 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3957 |
3958 * dSparse.cc (determinant): Free numeric factorization after | |
3959 sucessful calculation. | |
3960 * CSparse.cc (determinant): ditto. | |
3961 | |
5340 | 3962 2005-05-06 John W. Eaton <jwe@octave.org> |
3963 | |
3964 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3965 chol_mat. | |
3966 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3967 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3968 Provide decls. | |
3969 | |
3970 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3971 indexing chol_mat. | |
3972 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3973 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3974 Provide decls. | |
3975 | |
5338 | 3976 2005-05-05 John W. Eaton <jwe@octave.org> |
3977 | |
3978 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3979 retval before return. | |
3980 | |
5336 | 3981 2005-05-04 John W. Eaton <jwe@octave.org> |
3982 | |
3983 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3984 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3985 | |
5330 | 3986 2005-05-02 John W. Eaton <jwe@octave.org> |
3987 | |
3988 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3989 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3990 | |
5322 | 3991 2005-04-29 David Bateman <dbateman@free.fr> |
3992 | |
5330 | 3993 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3994 double. Correct indexing for upper diagonal elements for sparse | |
3995 tridiagonal. | |
5322 | 3996 * CSparse.cc (trisolve): ditto. |
3997 | |
5330 | 3998 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3999 UMFPACK for 64-bit. | |
5322 | 4000 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
4001 UMFPACK_ZNAME(*). | |
4002 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
4003 | |
5330 | 4004 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
4005 UMFPACK for 64-bit. | |
5322 | 4006 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
4007 UMFPACK_DNAME(*). | |
4008 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
4009 | |
5330 | 4010 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
4011 triangular back/forward substitution code. | |
5322 | 4012 * CSparse.cc (ltsolve, utsolve): ditto. |
4013 | |
5330 | 4014 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
4015 from spparms("spumoni",1). | |
5322 | 4016 * CSparse.cc (solve): ditto |
4017 | |
5330 | 4018 * SparseType.cc (SparseType(void)): Print info for |
4019 spparms("spumoni",1). | |
5322 | 4020 (SparseType(const matrix_type), SparseType(const matrix_type, const |
4021 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
4022 const octave_idx_type, const octave_idx_type)): New constructors. | |
4023 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 4024 Detect row permuted lower triangular and column permuted upper |
4025 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 4026 |
4027 * SparseType.h: Simplify the permutation code. | |
4028 (SparseType(const matrix_type), SparseType | |
4029 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
4030 SparseType(const matrix_type, const octave_idx_type, | |
4031 const octave_idx_type)): Declarations. | |
4032 | |
5304 | 4033 2005-04-25 John W. Eaton <jwe@octave.org> |
4034 | |
4035 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
4036 array and its contents. | |
4037 | |
5303 | 4038 2005-04-22 John W. Eaton <jwe@octave.org> |
4039 | |
4040 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
4041 const here now that rl_terminal_name is declared const char*. | |
4042 | |
5294 | 4043 2005-04-21 John W. Eaton <jwe@octave.org> |
4044 | |
4045 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
4046 | |
5285 | 4047 2005-04-19 John W. Eaton <jwe@octave.org> |
4048 | |
4049 * Array.cc (assignN): Don't crash if the index list is empty. | |
4050 | |
5282 | 4051 2005-04-14 David Bateman <dbateman@free.fr> |
4052 | |
4053 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
4054 * SparsedbleLU.cc: Ditto. | |
4055 * SparseCmplxLU.h: Definition. | |
4056 * SparsedbleLU.h: ditto. | |
4057 | |
4058 * SparseType.cc (transpose): New function. | |
4059 * SparseType.h (transpose): Definition. | |
4060 | |
5278 | 4061 2005-04-11 John W. Eaton <jwe@octave.org> |
4062 | |
4063 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
4064 fortran code that could end up calling XSTOPX. | |
4065 | |
5277 | 4066 2005-04-10 David Bateman <dbateman@free.fr> |
4067 | |
4068 * Makefile.in: include oct-types in INCLUDES so that it is | |
4069 installed | |
4070 | |
5275 | 4071 2005-04-08 John W. Eaton <jwe@octave.org> |
4072 | |
5276 | 4073 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
4074 | |
5275 | 4075 * Initial merge of 64-bit changes from Clinton Chee: |
4076 | |
4077 2005-04-07 John W. Eaton <jwe@octave.org> | |
4078 | |
4079 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
4080 | |
4081 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
4082 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
4083 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
4084 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
4085 Use octave_idx_type instead of int where needed. | |
4086 | |
4087 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4088 | |
4089 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
4090 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
4091 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
4092 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
4093 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
4094 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4095 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
4096 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
4097 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
4098 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
4099 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
4100 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
4101 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
4102 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
4103 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
4104 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
4105 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
4106 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
4107 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
4108 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
4109 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
4110 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
4111 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
4112 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
4113 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
4114 str-vec.cc, str-vec.h: | |
4115 Use octave_idx_type instead of int where needed. | |
4116 | |
4117 2005-04-01 John W. Eaton <jwe@octave.org> | |
4118 | |
4119 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
4120 | |
4121 * oct-types.h.in: New file. | |
4122 | |
4123 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4124 | |
4125 * lo-utils.cc (NINTbig): New function. | |
4126 * lo-utils.h: Provide decl. | |
4127 | |
5269 | 4128 2005-04-06 David Bateman <dbateman@free.fr> |
4129 | |
4130 * Makefile.in: Link to UMFPACK_LIBS. | |
4131 | |
5265 | 4132 2005-04-05 John W. Eaton <jwe@octave.org> |
4133 | |
4134 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
4135 | |
5264 | 4136 2005-04-01 John W. Eaton <jwe@octave.org> |
4137 | |
4138 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
4139 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
4140 when resizing A. When performing the assignment, just check that | |
4141 the number of elements in RHS matches the number of elements | |
4142 indexed by IDX-LIST. | |
4143 | |
5260 | 4144 2005-03-30 John W. Eaton <jwe@octave.org> |
4145 | |
5261 | 4146 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
4147 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
4148 | |
4149 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
4150 dSparse.cc: Use std:: for Complex functions instead of relying on | |
4151 wrappers from oct-cmplx.h. | |
5260 | 4152 |
4153 * oct-cmplx.h: Provide typedef only. | |
4154 | |
4155 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
4156 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
4157 Likewise. | |
4158 | |
5247 | 4159 2005-03-26 John W. Eaton <jwe@octave.org> |
4160 | |
4161 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
4162 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
4163 | |
5209 | 4164 2005-03-15 John W. Eaton <jwe@octave.org> |
4165 | |
4166 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
4167 | |
5203 | 4168 2005-03-14 John W. Eaton <jwe@octave.org> |
4169 | |
4170 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
4171 (DISTDIRS): Don't include UMFPACK. | |
4172 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
4173 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
4174 flags for these files. | |
4175 Don't include include $(srcdir)/UMFPACK.files. | |
4176 Don't include include $(srcdir)/UMFPACK.rules. | |
4177 | |
4178 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
4179 Delete files. | |
4180 * UMFPACK: Delete directory tree. | |
4181 | |
4182 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
4183 * CSparse.cc: Likewise. | |
4184 * SparsedbleLU.cc: Likewise. | |
4185 * SparseCmplxLU.cc: Likewise. | |
4186 | |
4187 2005-03-14 David Bateman <dbateman@free.org> | |
4188 | |
4189 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
4190 Allow compilation to succeed if UMFPACK is not available. | |
4191 | |
5196 | 4192 2005-03-09 John W. Eaton <jwe@octave.org> |
4193 | |
4194 * Makefile.in (bin-dist): Delete target. | |
4195 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
4196 | |
5173 | 4197 2005-03-01 John W. Eaton <jwe@octave.org> |
4198 | |
4199 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
4200 * Makefile.in: Remove them from the lists. | |
4201 | |
5169 | 4202 2005-02-28 John W. Eaton <jwe@octave.org> |
4203 | |
4204 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
4205 | |
5167 | 4206 2005-02-27 David Bateman <dbateman@free.org> |
4207 | |
5169 | 4208 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
4209 in the sparse matrix. | |
5167 | 4210 |
5164 | 4211 2005-02-25 John W. Eaton <jwe@octave.org> |
4212 | |
4213 Sparse merge. | |
4214 | |
4215 2005-02-13 David Bateman <dbateman@free.fr> | |
4216 | |
4217 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
4218 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
4219 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
4220 solver into separate functions for the diagonal, upper, lower | |
4221 triangular, tridiagonal, banded and full cases. | |
4222 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
4223 version that probes the matrix type and another that assumes the type | |
4224 is passed. | |
4225 | |
4226 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
4227 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
4228 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
4229 (SparseMatrix::solve): Likewise | |
4230 | |
4231 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4232 Declaration of new functions | |
4233 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4234 Likewise | |
4235 | |
4236 * CSparse.cc (operator !): Reverse the sense of the test. | |
4237 * dSpase.cc (operator !): Likewise | |
4238 | |
4239 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4240 triangular_col_perm, sparse_info): Remove matrix type code | |
4241 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4242 triangular_col_perm, sparse_info): Likewise | |
4243 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4244 triangular_col_perm, sparse_info): Likewise | |
4245 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4246 triangular_col_perm, sparse_info): Likewise | |
4247 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
4248 triangular_col_perm, sparse_info, matrix_type): Likewise | |
4249 | |
4250 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
4251 | |
4252 * SparseType.h: New class for the matrix type used in solvers | |
4253 * SparseType.cc: methods of sparse matrix type class | |
4254 | |
4255 * Makefile.in: Add SparseType.cc | |
4256 | |
4257 2005-02-01 David Bateman <dbateman@free.fr> | |
4258 | |
4259 * UMFPACK: Update to version 4.4 | |
4260 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
4261 keep octave specific test files | |
4262 | |
4263 2005-01-23 David Bateman <dbateman@free.fr> | |
4264 | |
4265 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
4266 tridiagonal and banded cholesky solvers. Remove calculation of | |
4267 condition number for banded solvers. | |
4268 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
4269 | |
4270 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
4271 new functions. | |
4272 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4273 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4274 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4275 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
4276 ditto | |
4277 | |
4278 * Sparse.cc (int Sparse<T>::type (int) const, | |
4279 bool Sparse<T>::is_dense (void) const): New functions definition | |
4280 | |
4281 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
4282 so it actually is cached, but disable | |
4283 | |
4284 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
4285 for compatiability | |
4286 | |
4287 2005-01-18 David Bateman <dbateman@free.fr> | |
4288 | |
4289 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4290 Modify calculation of number elements to skip between copied blocks. | |
4291 | |
4292 2005-01-07 David Bateman <dbateman@free.fr> | |
4293 | |
4294 * Sparse.h : Reverse definitions of numel and nelem. | |
4295 * Sparse.cc (assign1): Use numel and not nelem | |
4296 * Sparse-op-def.h: Replace all uses of nelem with numel | |
4297 | |
4298 2005-01-07 David Bateman <dbateman@free.fr> | |
4299 | |
4300 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
4301 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
4302 ComplexDET | |
4303 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
4304 by DET | |
4305 * dSparse.h (determinant): ditto | |
4306 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
4307 SparseComplexDET by ComplexDET | |
4308 * CSparse.h (determinant): ditto | |
4309 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
4310 SparseCmplxDET.cc: delete files | |
4311 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
4312 SparseCmplxDET.h andSparseCmplxDET.cc. | |
4313 | |
4314 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
4315 local variable to avoid variable shadowing. | |
4316 * dSparse.cc (SparseMatrix::solve): ditto. | |
4317 | |
4318 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
4319 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
4320 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
4321 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
4322 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
4323 sparse-sort.h: Remove additional licensing clause with authors | |
4324 permission. | |
4325 | |
4326 2004-12-30 John W. Eaton <jwe@octave.org> | |
4327 | |
4328 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
4329 Loop counter is int, not size_t. | |
4330 | |
4331 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
4332 | |
4333 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
4334 | |
4335 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
4336 Delete unused variables. | |
4337 (SparseMatrix::solve): Avoid warnings about uninitialized | |
4338 variables and variables that might be clobbered by longjmp. | |
4339 | |
4340 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
4341 min, max): Delete unused variables. | |
4342 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
4343 variables and variables that might be clobbered by longjmp. | |
4344 | |
4345 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
4346 | |
4347 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
4348 Loop counter is int, not size_t. | |
4349 | |
4350 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
4351 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
4352 | |
4353 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
4354 lists consistently. | |
4355 | |
4356 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
4357 | |
4358 2004-12-29 John W. Eaton <jwe@octave.org> | |
4359 | |
4360 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
4361 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
4362 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
4363 $(UMFPACK_EXTRAS) to the list. | |
4364 (DISTDIRS): New variable. | |
4365 (dist): Handle $(DISTDIRS). | |
4366 | |
4367 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
4368 Andy Adler <adler@site.uottawa.ca>. | |
4369 | |
4370 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
4371 | |
4372 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
4373 without directory prefix. | |
4374 | |
4375 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
4376 $(UMFPACK_OBJ) to the list. | |
4377 | |
4378 * COLAMD: New directory. | |
4379 * COLAMD.files: New file. | |
4380 * Makefile.in: Include COLAMD.files. | |
4381 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
4382 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
4383 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
4384 | |
4385 * UMFPACK: New directory. | |
4386 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
4387 New files. | |
4388 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
4389 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
4390 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
4391 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
4392 | |
4393 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
4394 (INCLUDES): Add it to the list. | |
4395 (SPARSE_MX_OP_SRC): New variable. | |
4396 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
4397 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4398 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4399 | |
4400 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
4401 * Makefile.in (DISTFILES): Add them to the lists. | |
4402 | |
4403 * oct-spparms.h, sparse-sort.h: New files. | |
4404 * Makefile.in (INCLUDES): Add them to the list. | |
4405 | |
4406 * oct-spparms.cc, sparse-sort.cc: New files. | |
4407 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
4408 | |
4409 * sparse-base-lu.cc: New file. | |
4410 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
4411 | |
4412 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
4413 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
4414 SparsedbleLU.cc: New files. | |
4415 * Makefile.in (MATRIX_SRC): Add them to the list. | |
4416 | |
4417 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
4418 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
4419 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
4420 Sparse-op-defs.h: New files. | |
4421 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
4422 | |
4423 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
4424 Sparse-C.cc: New files. | |
4425 * Makefile.in (TI_SRC): Add them to the list. | |
4426 | |
5149 | 4427 2005-02-18 John W. Eaton <jwe@octave.org> |
4428 | |
4429 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
4430 Pass current directory to octave_env::make_absolute. | |
4431 Save value returned from octave_env::make_absolute in local var. | |
4432 Pass const char*, not std::string as first arg of resolvepath. | |
4433 Provide decl for resolved_len. | |
4434 | |
5148 | 4435 2005-02-18 John W. Eaton <jwe@octave.org> |
4436 | |
4437 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
4438 than number of dimenensions of permuted matrix. | |
4439 | |
4440 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
4441 * Array-util.cc (calc_permutated_idx): Likewise. | |
4442 | |
5139 | 4443 2005-02-10 David Bateman <dbateman@free.fr> |
4444 | |
4445 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
4446 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
4447 | |
5137 | 4448 2005-02-09 John W. Eaton <jwe@octave.org> |
4449 | |
5138 | 4450 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
4451 * file-ops.h: Provide decls. | |
4452 | |
5137 | 4453 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
4454 | |
5136 | 4455 2005-02-08 John W. Eaton <jwe@octave.org> |
4456 | |
4457 * Array-util.cc (freeze): Improve error message. | |
4458 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4459 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 4460 |
5121 | 4461 * Array.cc (Array<T>::insert): Handle generic case, not just |
4462 special case for fast concatenation. | |
5120 | 4463 |
5110 | 4464 2005-01-18 John W. Eaton <jwe@octave.org> |
4465 | |
4466 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
4467 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
4468 | |
4469 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
4470 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
4471 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4472 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 4473 |
4474 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4475 Modify calculation of number elements to skip between copied blocks. | |
4476 | |
4477 2005-01-18 John W. Eaton <jwe@octave.org> | |
4478 | |
4479 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
4480 error handler, to warn about resizing. | |
4481 | |
5105 | 4482 2004-12-27 Martin Dalecki <martin@dalecki.de> |
4483 | |
4484 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
4485 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
4486 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
4487 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4488 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
4489 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
4490 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
4491 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
4492 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
4493 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
4494 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
4495 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
4496 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
4497 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
4498 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
4499 Delete #pragma implementation. | |
4500 | |
4501 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
4502 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
4503 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
4504 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
4505 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
4506 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
4507 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
4508 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
4509 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
4510 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4511 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
4512 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
4513 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
4514 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
4515 Delete #pragma interface. | |
4516 | |
5098 | 4517 2004-12-17 John W. Eaton <jwe@octave.org> |
4518 | |
4519 * lo-cieee.c (lo_ieee_signbit): New function. | |
4520 * lo-ieee.h: Provide decl. | |
4521 Don't define lo_ieee_signbit as a macro here. | |
4522 From Orion Poplawski <orion@cora.nwra.com>. | |
4523 | |
5085 | 4524 2004-11-18 John W. Eaton <jwe@octave.org> |
4525 | |
4526 * int32NDArray.cc (pow): Delete instantiation. | |
4527 * int16NDArray.cc (pow): Likewise. | |
4528 * int8NDArray.cc (pow): Likewise. | |
4529 * uint32NDArray.cc (pow): Likewise. | |
4530 * uint16NDArray.cc (pow): Likewise. | |
4531 * uint8NDArray.cc (pow): Likewise. | |
4532 | |
5081 | 4533 2004-11-17 John W. Eaton <jwe@octave.org> |
4534 | |
5085 | 4535 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
4536 Now static. | |
4537 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
4538 DEFAULT_TEXMFDBS): Delete unused macros. | |
4539 | |
5081 | 4540 * Array.cc (Array<T>::index): Call generic N-d indexing function |
4541 if idx_arg is N-d. | |
4542 | |
5073 | 4543 2004-11-09 David Bateman <dbateman@free.fr> |
4544 | |
4545 * dNDArray.cc (concat): Delete. | |
4546 (NDArray::concat): New methods. | |
4547 * dNDArray.h: Provide decls. | |
4548 | |
4549 * CNDArray.cc (concat): Delete. | |
4550 (ComplexNDArray::concat): New methods. | |
4551 * CNDArray.h: Provide decls. | |
4552 | |
4553 * boolNDArray.cc (concat): Delete. | |
4554 (boolNDArray::concat): New methods. | |
4555 * boolNDArray.h: Provide decls. | |
4556 | |
4557 * chNDArray.cc (concat): Delete. | |
4558 (charNDArray::concat): New methods. | |
4559 * chNDArray.h: Provide decls. | |
4560 | |
4561 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
4562 Delete macros. | |
4563 | |
4564 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4565 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4566 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
4567 | |
4568 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
4569 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4570 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
4571 | |
4572 * intNDArray.cc (intNDArray<T>::concat): New method. | |
4573 * intNDArray.h: Provide decl. | |
4574 | |
5072 | 4575 2004-11-08 John W. Eaton <jwe@octave.org> |
4576 | |
4577 * oct-inttypes.cc: New file. | |
4578 * Makefile.in (TI_SRC): Add it to the list. | |
4579 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
4580 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
4581 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
4582 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
4583 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
4584 New macros for comparison operations. Avoid potential | |
4585 problems with default conversions when comparing signed and | |
4586 unsigned values. | |
4587 | |
5061 | 4588 2004-11-03 John W. Eaton <jwe@octave.org> |
4589 | |
4590 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
4591 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4592 | |
5052 | 4593 2004-10-19 John W. Eaton <jwe@octave.org> |
4594 | |
4595 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
4596 | |
5047 | 4597 2004-10-18 John W. Eaton <jwe@octave.org> |
4598 | |
4599 * Array.cc (assign2): Save result of squeeze operation. | |
4600 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
4601 | |
5095 | 4602 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 4603 |
4604 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
4605 flag whether transform in- or out-of-place. | |
4606 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
4607 (octave_fftw_planner::create_plan): Use it. | |
4608 | |
5039 | 4609 2004-09-24 John W. Eaton <jwe@octave.org> |
4610 | |
4611 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
4612 any empty matrix, not just []. | |
4613 | |
5030 | 4614 2004-09-23 John W. Eaton <jwe@octave.org> |
4615 | |
4616 * mx-ops: Include scalar zero value in type definitions. | |
4617 Delete zero information from ops section. | |
4618 * mk-ops.awk: Use type-specific zero info. | |
4619 | |
4620 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4621 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4622 LHS and RHS. | |
4623 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4624 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4625 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4626 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4627 | |
4628 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4629 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4630 tree_to_mat_idx. | |
4631 | |
4632 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4633 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4634 Likewise for the "if (b_val & one)" test. | |
4635 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4636 | |
5029 | 4637 2004-09-23 David Bateman <dbateman@free.fr> |
4638 | |
4639 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4640 New macros. Use them to define mixed intX-double and double-intX ops. | |
4641 | |
5021 | 4642 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4643 | |
4644 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4645 Fix doc string layout to avoid overfull hbox in printed output. | |
4646 | |
5015 | 4647 2004-09-21 John W. Eaton <jwe@octave.org> |
4648 | |
4649 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4650 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4651 For "native", set actual native format. | |
4652 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4653 | |
5008 | 4654 2004-09-17 David Bateman <dbateman@free.fr> |
4655 | |
4656 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4657 calculation of the unitary matrix optional. | |
4658 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4659 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4660 | |
4998 | 4661 2004-09-15 David Bateman <dbateman@free.fr> |
4662 | |
4663 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4664 New function to set the comparison function for the sort. | |
4665 | |
4985 | 4666 2004-09-10 John W. Eaton <jwe@octave.org> |
4667 | |
4668 * lo-mappers.cc (xround): Fix typo. | |
4669 | |
4979 | 4670 2004-09-08 John W. Eaton <jwe@octave.org> |
4671 | |
4672 * Array.h (Array::~Array): Declare virtual. | |
4673 | |
4674 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4675 initializaion list. Don't set rep->count since the rep | |
4676 constructor does that. | |
4677 | |
4968 | 4678 2004-09-07 John W. Eaton <jwe@octave.org> |
4679 | |
4970 | 4680 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4681 (oct_data_conv::data_type_as_string): Likewise. | |
4682 | |
4683 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4684 | |
4968 | 4685 * Range.cc (round): Delete unused function. |
4686 | |
4687 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4688 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4689 | |
4690 * oct-inttypes.h: Include <cmath> here. | |
4691 | |
4964 | 4692 2004-09-03 David Bateman <dbateman@free.fr> |
4693 | |
4694 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4695 New functions for boolean matrix concatenation. | |
4696 * boolNDArray.h: Provide decls. | |
4697 | |
4963 | 4698 2004-09-03 John W. Eaton <jwe@octave.org> |
4699 | |
4964 | 4700 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4701 to avoid signed/unsigned int comparison problems. | |
4702 | |
4703 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4704 for mixed integer and double types. | |
4705 | |
4706 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4707 separately, and only if needed. | |
4708 | |
4963 | 4709 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4710 static_cast for type conversion. | |
4711 | |
4953 | 4712 2004-09-01 John W. Eaton <jwe@octave.org> |
4713 | |
4714 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4715 operator /): Handle mixed integer/double ops. If op generates a | |
4716 NaN, set result to 0. | |
4717 (octave_int::operator - (void)): Convert to double, then negate, | |
4718 then fit to range. | |
4719 | |
4720 * mx-ops: Define integer types. Include declarations for mixed | |
4721 integer/double ops. | |
4722 | |
4952 | 4723 2004-08-31 John W. Eaton <jwe@octave.org> |
4724 | |
4725 * oct-inttypes.h (pow): Args now const reference. | |
4726 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4727 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4728 New member functions. | |
4729 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4730 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4731 Define in terms of >>=. | |
4732 (operator << (const octave_int<T1>& x, const T2& y)): | |
4733 Define in terms of <<=. | |
4734 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4735 we get proper saturation properties. | |
4736 | |
4737 2004-08-31 David Bateman <dbateman@free.fr> | |
4738 | |
4739 * oct-inttypes.h (pow (constT, T)): New template. | |
4740 | |
4741 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4742 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4743 | |
4949 | 4744 2004-08-31 John W. Eaton <jwe@octave.org> |
4745 | |
4746 * oct-inttypes.h (octave_int::byte_size): New function. | |
4747 | |
4944 | 4748 2004-08-31 John W. Eaton <jwe@octave.org> |
4749 | |
4946 | 4750 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4751 | |
4944 | 4752 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4753 Explicitly number enum elements. | |
4754 | |
4755 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4756 std::string&, int&, oct_data_conv::data_type&, | |
4757 oct_data_conv::data_type&)): New function. | |
4758 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4759 oct_data_conv::data_type&)): New function. | |
4760 (oct_data_conv::data_type_as_string): New function. | |
4761 | |
4762 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4763 (write_int, do_write, Matrix::write): Delete. | |
4764 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4765 | |
4766 * byte-swap.h: Use template functions and specialization. | |
4767 Change all uses. | |
4768 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4769 | |
4943 | 4770 2004-08-30 John W. Eaton <jwe@octave.org> |
4771 | |
4772 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4773 specializations to avoid warnings about signed/unsigned comparisons. | |
4774 | |
4775 2004-08-28 John W. Eaton <jwe@octave.org> | |
4776 | |
4777 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4778 size_t, int, oct_mach_info::float_format)): New function. | |
4779 (GET_SIZED_INT_TYPE): New macro. | |
4780 (string_to_data_type): Use it to return sized types corresponding | |
4781 to Octave array data types. | |
4782 (strip_spaces): New function. | |
4783 (do_double_format_conversion, do_float_format_conversion): Pass | |
4784 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4785 float format. | |
4786 (do_double_format_conversion, | |
4787 IEEE_big_double_to_IEEE_little_double, | |
4788 VAX_D_double_to_IEEE_little_double, | |
4789 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4790 IEEE_little_double_to_IEEE_big_double, | |
4791 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4792 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4793 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4794 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4795 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4796 Cray_to_VAX_G_double): | |
4797 Pass data as void*, not double*. | |
4798 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4799 VAX_D_float_to_IEEE_little_float, | |
4800 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4801 IEEE_little_float_to_IEEE_big_float, | |
4802 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4803 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4804 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4805 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4806 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4807 Cray_to_VAX_G_float): | |
4808 Pass data as void*, not float*. | |
4809 | |
4810 2004-08-27 John W. Eaton <jwe@octave.org> | |
4811 | |
4812 * byte-swap.h (swap_bytes): New template versions, with | |
4813 specializations. | |
4814 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4815 Change all uses. | |
4816 | |
4940 | 4817 2004-08-24 David Bateman <dbateman@free.fr> |
4818 | |
4819 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4820 empty instead of checking final matrix. | |
4821 * dNDArray.cc (concat): Likewise. | |
4822 * CNDArray.cc (concat): Likewise. | |
4823 | |
4824 2004-08-23 David Bateman <dbateman@free.fr> | |
4825 | |
4826 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4827 non-existent dimensions. | |
4828 | |
4938 | 4829 2004-08-09 John W. Eaton <jwe@octave.org> |
4830 | |
4831 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4832 (const octave_int<U>&)): New member function. | |
4833 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4834 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4835 Now member functions instead of static in idx-vector.cc. | |
4836 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4837 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4838 New template constructors. | |
4839 | |
4932 | 4840 2004-08-05 John W. Eaton <jwe@octave.org> |
4841 | |
4933 | 4842 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4843 | |
4932 | 4844 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4845 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4846 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4847 | |
4929 | 4848 2004-08-03 John W. Eaton <jwe@octave.org> |
4849 | |
4850 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4851 arrays with more than two dimensions and only one non-singleton | |
4852 dimension, return a column vector. | |
4853 | |
4921 | 4854 2004-07-28 John W. Eaton <jwe@octave.org> |
4855 | |
4856 * oct-cmplx.h (pow (const Complex&, const double&): | |
4857 Convert second arg to complex to avoid libstdc++ bug. | |
4858 | |
4920 | 4859 2004-07-27 John W. Eaton <jwe@octave.org> |
4860 | |
4861 * oct-inttypes.h (bitshift): New arg, MASK. | |
4862 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4863 | |
4916 | 4864 2004-07-23 John W. Eaton <jwe@octave.org> |
4865 | |
4866 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4867 | |
4915 | 4868 2004-07-23 David Bateman <dbateman@free.fr> |
4869 | |
4870 * Array.cc, Array.h (cat_ra): Delete. | |
4871 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4872 (INSTANTIATE_ARRAY_CAT): Delete. | |
4873 | |
4874 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4875 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4876 | |
4877 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4878 | |
4879 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4880 chNDArray.h (concat): New function used for concatenation that does | |
4881 an indexed copy of one array into another. | |
4882 | |
4883 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4884 | |
4885 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4886 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4887 insertion of one NDArray into another. | |
4888 | |
4889 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4890 macros to define the int/uint concatenation functions. | |
4891 | |
4892 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4893 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4894 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4895 | |
4896 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4897 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4898 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4899 functions. | |
4900 | |
4911 | 4901 2004-07-22 David Bateman <dbateman@free.fr> |
4902 | |
4903 * oct-sort.h: Don't include oct-obj.h. | |
4904 | |
4905 * lo-specfun.cc (is_integer_value): New function. | |
4906 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4907 integer orders that cause overflow for small arguments. | |
4908 | |
4909 | 4909 2004-07-12 John W. Eaton <jwe@octave.org> |
4910 | |
4911 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4912 (bitshift (const octave_int<T>&, int)): New function. | |
4913 | |
4902 | 4914 2004-06-14 John W. Eaton <jwe@octave.org> |
4915 | |
4916 * mx-base.h: Include headers for new int types. | |
4917 | |
4918 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4919 NDArray::NDArray (const charNDArray&)): Delete. | |
4920 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4921 constructor. | |
4922 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4923 | |
4924 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4925 return type conversion. | |
4926 | |
4927 * ComplexNDArray.h, ComplexNDArray.cc | |
4928 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4929 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4930 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4931 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4932 | |
4933 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4934 | |
4935 * MArrayN.h: | |
4936 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4937 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4938 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4939 New constructors. | |
4940 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4941 ArrayN<T>::squeeze): | |
4942 New forwarding functions for return type conversion. | |
4943 | |
4944 * ArrayN.h: | |
4945 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4946 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4947 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4948 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4949 const dim_vector&)): New constructors. | |
4950 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4951 ArrayN<T>::transpose): | |
4952 New forwarding functions for return type conversion. | |
4953 | |
4954 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4955 New constructor. | |
4956 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4957 | |
4958 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4959 | |
4960 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4961 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4962 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4963 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4964 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4965 * Makefile.in: Add them to the appropriate lists. | |
4966 | |
4899 | 4967 2004-06-04 John W. Eaton <jwe@octave.org> |
4968 | |
4969 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4970 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4971 resize op. Change all uses. | |
4972 | |
4898 | 4973 2004-06-03 David Bateman <dbateman@free.fr> |
4974 | |
4975 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4976 greater than the existing number of dimensions in lvalue. | |
4977 | |
4887 | 4978 2004-04-30 David Bateman <dbateman@free.fr> |
4979 | |
4980 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4981 New arg, fill_value. | |
4982 (dim_vector::resize): Allow optional fill_value argument. | |
4983 | |
4984 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4985 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4986 more than one element in idx_vector. Resize the return value to | |
4987 the size of Array<idx_vector>. | |
4988 | |
4989 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4990 idx_vector that is shorter than a dim_vector. | |
4991 | |
4882 | 4992 2004-04-23 John W. Eaton <jwe@octave.org> |
4993 | |
4994 * oct-sort.cc: Don't include oct-obj.h. | |
4995 | |
4876 | 4996 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4997 | |
4998 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4999 Don't set invalid dimensions on return value. | |
5000 | |
4871 | 5001 2004-04-21 John W. Eaton <jwe@octave.org> |
5002 | |
5003 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
5004 | |
4850 | 5005 2004-04-06 David Bateman <dbateman@free.fr> |
5006 | |
4870 | 5007 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
5008 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
5009 Make their behavior equivalent except for filling vs. not filling. | |
5010 | |
4850 | 5011 * oct-sort.cc: New template class for arbitrary sorting. |
5012 * oct-sort.h: Declaration of sort class. | |
5013 * Makefile: Add them to the appropriate lists. | |
5014 | |
4845 | 5015 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5016 | |
5017 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
5018 | |
4844 | 5019 2004-04-02 David Bateman <dbateman@free.fr> |
5020 | |
5021 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
5022 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 5023 New N-d array versions. |
4844 | 5024 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
5025 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
5026 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
5027 | |
5028 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
5029 New functions. | |
5030 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
5031 | |
5032 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5033 New functions. | |
5034 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5035 Provide decls. | |
5036 | |
4842 | 5037 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
5038 | |
5039 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
5040 work vector, not just when using a numerical Jacobian. | |
5041 | |
4834 | 5042 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5043 | |
4835 | 5044 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
5045 Omit empty result args. | |
5046 | |
4834 | 5047 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
5048 Move here from Array.h, check that size of array arg is not | |
5049 smaller than the size defined by the new dimensions. | |
5050 | |
4832 | 5051 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5052 | |
5053 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
5054 a scalar or vector with an N-d array. | |
5055 | |
4826 | 5056 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5057 | |
4828 | 5058 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
5059 matrix, return object that is the same size as the index. | |
5060 | |
4826 | 5061 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
5062 Eliminate MT_RESULT args. Return value is always size of args. | |
5063 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
5064 Eliminate EMPTY_RESULT arg. | |
5065 Return value is always size of matrix or N-d array arg. | |
5066 (TBM, FBM, NBM): Delete unused macros. | |
5067 | |
4821 | 5068 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5069 | |
5070 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
5071 if all LHS dimensions are zero. For one index case, freeze and | |
5072 sort idx_vec before checking length, and do nothing if | |
5073 num_to_delete is zero. | |
4822 | 5074 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 5075 |
4816 | 5076 2004-03-04 David Bateman <dbateman@free.fr> |
5077 | |
5078 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
5079 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
5080 | |
4811 | 5081 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
5082 | |
5083 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
5084 element. | |
5085 | |
5086 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5087 | |
5088 * Range.h (Range::Range): Add cache to member initialization list. | |
5089 (Range::clear_cache): New private function. | |
5090 | |
5091 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
5092 Use clear cache. Don't do anything if range does not change. | |
5093 * Range.cc (Range::sort): Likewise. | |
5094 | |
4810 | 5095 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
5096 | |
5097 * Range.cc (Range::matrix_value): Cache result. | |
5098 (Range::sort): Clear cache. | |
5099 * Range.h (Range::cache): New data member. | |
5100 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
5101 (Range::print_range): Delete. | |
4808 | 5102 |
5103 2004-03-02 David Bateman <dbateman@free.fr> | |
5104 | |
5105 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
5106 changes between them. Faster for small fft's. | |
5107 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
5108 New member variables. | |
5109 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
5110 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
5111 Change all uses. | |
5112 (CHECK_SIMD_ALIGNMENT): New macro. | |
5113 (octave_fftw_planner::create_plan): Use it. | |
5114 | |
4806 | 5115 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
5116 | |
5117 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
5118 | |
5119 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
5120 | |
5121 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
5122 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
5123 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
5124 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
5125 | |
5126 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
5127 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
5128 | |
4800 | 5129 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5130 | |
4802 | 5131 * oct-rl-edit.c (octave_rl_set_startup_hook, |
5132 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
5133 octave_rl_get_event_hook): Omit casts. | |
5134 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
5135 Return value for function pointer typedef is now int. | |
5136 * cmd-edit.h (command_editor::startup_hook_fcn, | |
5137 command_editor::event_hook_fcn): Likewise. | |
5138 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
5139 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
5140 Return type is now int. Return 0. | |
5141 | |
4800 | 5142 * EIG.cc (EIG::init, EIG::symmetric_init): |
5143 Query Lapack for workspace size. | |
5144 | |
4796 | 5145 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5146 | |
5147 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
5148 Fix thinko in extending dimensions. | |
5149 | |
4791 | 5150 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5151 | |
5152 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
5153 Don't compute values beyond the limits of the range. | |
5154 (operator << (std::ostream&, const Range&)): Likewise. | |
5155 | |
4786 | 5156 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5157 | |
4788 | 5158 * oct-fftw.cc (octave_fftw_planner::create_plan): |
5159 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
5160 From Paul Kienzle <pkienzle@users.sf.net>. | |
5161 | |
4786 | 5162 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
5163 Rename from Array<T>::insert. | |
5164 (Array<T>::insert2 (const Array<T>&, int, int)): | |
5165 Reinstate old Array<T>::insert function under this name. | |
5166 (Array<T>::insert (const Array<T>&, int, int)): | |
5167 New function. Dispatch to insert2 or insertN as appropriate. | |
5168 | |
4785 | 5169 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5170 | |
5171 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5172 Sprinkle with OCTAVE_QUIT. | |
5173 | |
5095 | 5174 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 5175 |
5176 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
5177 Add support for FFTW 3.x. Include the ability to | |
5178 use the real to complex transform for fft's of real matrices | |
5179 (octave_fftw_planner::create_plan2d): Delete. | |
5180 (octave_fftw::fft2d): Delete. | |
5181 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5182 New static functions. | |
5183 * oct-fftw.h: Update decls. | |
5184 | |
5185 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5186 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
5187 transforms. 1D FFT of a matrix done as single call rather than | |
5188 loop. Update for FFTW 3.x | |
5189 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
5190 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
5191 matrix done as single call rather than loop. Update for FFTW 3.x. | |
5192 | |
5193 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
5194 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
5195 functions for Nd arrays. | |
5196 * dNArray.h Provide decls. | |
5197 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
5198 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
5199 fourier transform functions for complex Nd arrays. | |
5200 * CNArray.h: Provide decls. | |
5201 | |
4765 | 5202 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
5203 | |
5204 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
5205 Make it work for N-d arrays. | |
5206 | |
5207 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
5208 New function. | |
5209 | |
5210 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
5211 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
5212 New functions. | |
5213 * CNDArray.h: Provide decls. | |
5214 | |
4759 | 5215 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5216 | |
4760 | 5217 * Makefile.in (LINK_DEPS): Always define. |
5218 | |
4759 | 5219 * Array.cc (Array<T>::squeeze): Always return an array with at |
5220 least two dimensions. | |
5221 | |
4758 | 5222 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5223 | |
5224 * mx-inlines.cc (MX_ND_CAT): New macro. | |
5225 * dNDArray.cc (NDArray::cat): New function. | |
5226 * dNDArray.h: Provide decls. | |
5227 * CNDArray.cc (complexNDArray::cat): New function. | |
5228 * CNDArray.h: Provide decls. | |
5229 * chNDArray.cc (charNDArray::cat): New function. | |
5230 * chNDArray.h: Provide decls. | |
5231 | |
4756 | 5232 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5233 | |
5234 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
5235 (Array<T>assign2): Also call maybe_delete_elements for single | |
5236 index when rows and columns or LHS are both greater than 1. | |
5237 | |
4755 | 5238 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5239 | |
5240 * Array.cc (Array<T>::maybe_delete_elements): | |
5241 Check for index out of bounds. Handle one index. | |
5242 | |
5243 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
5244 dim_vector (0) to create empty return vector. | |
5245 | |
4749 | 5246 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5247 | |
5248 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
5249 non-empty LHS when the number of lhs dimensions is less than the | |
5250 number of indices. Detect error if attempting to resize non-empty | |
5251 LHS with colon indices. | |
5252 | |
4745 | 5253 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5254 | |
4747 | 5255 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
5256 values unless the length of the new array is greater than 0. | |
5257 (Array<T>::resize_no_fill): Likewise. | |
5258 | |
5259 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
5260 is equal to dimensions(i). | |
5261 | |
5262 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
5263 get_zero_len_size, number_of_elements): | |
5264 Delete unused functions. | |
5265 | |
5266 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
5267 number_of_elements function. | |
5268 * Array.cc (Array<T>::indexN): Likewise. | |
5269 | |
5270 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
5271 of equal_arrays function. | |
5272 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
5273 dim_vector::any_zero instead of any_zero_len function. | |
5274 | |
5275 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
5276 Don't skip reshaping and resizing if RHS is empty. | |
5277 | |
4746 | 5278 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
5279 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 5280 Delete unused variables is_colon and is_colon_equiv. |
4746 | 5281 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
5282 LHS is not yet defined. | |
4745 | 5283 Error for resizing if number of indices is less than number of LHS |
5284 dimensions. | |
5285 | |
4746 | 5286 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
5287 Fortran-style indexing. | |
5288 | |
4743 | 5289 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5290 | |
5291 * Array.cc (Array<T>::assignN): Simplify. | |
5292 Allow assignments to succeed if number if indices is less than the | |
5293 number of RHS dimensions. | |
5294 | |
4738 | 5295 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5296 | |
4741 | 5297 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
5298 when number of indices is less than number of dimensions. | |
5299 | |
5300 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
5301 Remove unsued variable lhs_inc. | |
5302 | |
4740 | 5303 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
5304 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
5305 | |
5306 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
5307 | |
4738 | 5308 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
5309 == n_dims before checking to see if all indices are colon_equiv. | |
5310 | |
4736 | 5311 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5312 | |
5313 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
5314 deleting elements. | |
4737 | 5315 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
5316 at least ndims elements. | |
4736 | 5317 |
4735 | 5318 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5319 | |
5320 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
5321 oriented differently from the index. | |
5322 | |
5323 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
5324 least two dimensions. | |
5325 | |
4733 | 5326 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5327 | |
4735 | 5328 * dim-vector.h (dim_vector::squeeze): New function. |
5329 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
5330 deciding whether the assignment conforms. | |
5331 | |
4733 | 5332 * Array.cc (Array<T>::assignN): Simplify dimension check by |
5333 comparing rhs_dims and frozen_len sans trailing singletons. | |
5334 | |
4732 | 5335 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5336 | |
5337 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
5338 Call error handler and return conversion_error == true if arg is | |
5339 not integer. | |
5340 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
5341 | |
4730 | 5342 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5343 | |
5344 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
5345 reference arg const. | |
5346 | |
5347 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5348 | |
5349 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
5350 | |
4729 | 5351 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
5352 | |
5353 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
5354 Now bool, to match definition in Array-flags.cc. | |
5355 | |
4725 | 5356 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5357 | |
4726 | 5358 * file-ops.cc: Include <vector> instead of <memory> for new |
5359 definition of OCTAVE_LOCAL_BUFFER. | |
5360 | |
4725 | 5361 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
5362 New arg, calc_eigenvectors. | |
5363 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
5364 Based on patch from David Bateman <dbateman@free.fr>. | |
5365 | |
4716 | 5366 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5367 | |
5368 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
5369 For X(I) = RHS, don't restrict I to fewer elements than X. | |
5370 | |
5371 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
5372 | |
4711 | 5373 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5374 | |
4714 | 5375 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
5376 Simplify calculation of number of elements in retval. | |
5377 | |
4711 | 5378 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
5379 filling when RHS is scalar and dimension lengths agree. | |
5380 | |
4710 | 5381 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5382 | |
4713 | 5383 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
5384 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 5385 |
4707 | 5386 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5387 | |
4709 | 5388 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
5389 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 5390 |
4702 | 5391 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
5392 | |
4703 | 5393 * Array.h (Array<T>::chop_trailing_singletons): New function. |
5394 * Array.cc (Array<T>::assignN): Use it on LHS. | |
5395 | |
5396 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 5397 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 5398 Check for singleton dimensions where RHS is matrix or higher dimension. |
5399 Make sure index is in bounds. | |
4702 | 5400 |
4698 | 5401 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5402 | |
5403 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
5404 octave_NaN, and octav_NA values are always initialized. Check | |
5405 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
5406 to decide whether to do IEEE initialization. | |
5407 | |
4687 | 5408 2004-01-06 David Bateman <dbateman@free.fr> |
5409 | |
5410 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
5411 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
5412 ComplexNDArray::too_large_for_float): New functions | |
5413 | |
5414 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
5415 * CNDArray.h: Provide decls. | |
5416 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
5417 * dNDArray.h: Provide decls. | |
5418 | |
4673 | 5419 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5420 | |
4674 | 5421 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
5422 they are already defined in boolNDArray.cc. | |
5423 | |
4673 | 5424 * Array-util.cc (get_zero_len_size): Delete. |
5425 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5426 Handle zero-length result dimensions the same as empty original | |
5427 indices. | |
5428 | |
5429 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5430 | |
5431 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
5432 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
5433 New functions. | |
5434 * Array.cc (ArrayN<T>::indexN): Use it. | |
5435 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
5436 | |
4669 | 5437 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5438 | |
5439 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
5440 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
5441 | |
5442 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5443 | |
5444 * mk-ops.awk: Also emit #include "Array-util.h". | |
5445 | |
5446 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
5447 Add bnda x bnda, b x bnda, and bnda x b ops. | |
5448 | |
5449 * MArray-misc.cc: Delete. | |
5450 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
5451 | |
5452 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
5453 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
5454 | |
4655 | 5455 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5456 | |
4663 | 5457 * dbleQR.cc (QR::init): Use separate pwork pointers. |
5458 * CmplxQR.cc (ComplexQR::init): Likewise. | |
5459 | |
5460 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
5461 two-arg getgrnam version. | |
5462 | |
4657 | 5463 * Array.cc (assignN): Allow single indexing to work. |
4661 | 5464 (Array<T>::range_error (const char*, const Array<int>&)): |
5465 Report index values. | |
5466 | |
5467 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 5468 * ODESSA.cc (odessa_j): Likewise. |
5469 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
5470 * DASPK.cc (ddaspk_psol): Likewise. | |
5471 * lo-mappers.cc (imag): Likewise. | |
4663 | 5472 * Array-util.cc (get_zero_len_size): Likewise. |
5473 * kpse.cc (path_search, path_find_first_of): Likewise. | |
5474 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 5475 |
4655 | 5476 * dim-vector.h (dim_vector::all_ones): New function. |
5477 | |
4646 | 5478 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5479 | |
4653 | 5480 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
5481 zeros, not orig_rows or orig_columns. | |
5482 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
5483 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
5484 | |
5485 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
5486 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
5487 | |
5488 * idx-vector.cc (idx_vector::idx_vector_rep): | |
5489 Use initialization lists for constructors. | |
5490 | |
4651 | 5491 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
5492 Omit special case for ra_idx.capacity () == 1. | |
5493 Always allow single index for matrix args with optional warning. | |
5494 | |
4650 | 5495 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
5496 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
5497 | |
4648 | 5498 * Array-so.cc: New file. Move instantiations here from so-array.h. |
5499 * Makefile.in (TI_SRC): Add it to the list. | |
5500 | |
4646 | 5501 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
5502 type and the names of the left and right operands. Change all uses. | |
5503 | |
5504 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
5505 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
5506 | |
4645 | 5507 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
5509 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
5510 just length. | |
5511 | |
5512 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
5513 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
5514 non-dependent member functions and data as needed. | |
5515 | |
5516 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
5517 | |
5518 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
5519 * Array3.h (Array3<T>::operator =): Likewise. | |
5520 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
5521 Include Array.h, not Array2.h. | |
5522 | |
4634 | 5523 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5524 | |
4636 | 5525 * str-vec.cc (list_in_columns): Fix previous change. |
5526 | |
4635 | 5527 * dim-vector.h (dim_vector::num_ones): New function. |
5528 * Array.cc (maybe_delete_elements): Use it instead of | |
5529 num_ones (const Array<int>&). | |
5530 | |
5531 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
5532 | |
4634 | 5533 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
5534 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
5535 New functions. | |
5536 * dNDArray.h: Provide decls. | |
5537 | |
5538 * dMatrix.h (Matrix::any_element_is_negative, | |
5539 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
5540 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
5541 Simplify. | |
5542 | |
5543 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
5544 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
5545 | |
5546 * dNDArray.cc (real, imag): New functions. | |
5547 * dNDArray.h: Provide decls. | |
5548 | |
4630 | 5549 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5550 | |
5551 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
5552 | |
4625 | 5553 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5554 | |
5555 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
5556 * MArray.h (resize): Delete. | |
5557 * MArray2.h (resize): Delete. | |
5558 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
5559 * ODESSA (ODESSA::integrate): Likewise. | |
5560 | |
4616 | 5561 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5562 | |
5563 * Makefile.in (dist): Depend on stamp-prereq. | |
5564 | |
4605 | 5565 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
5566 | |
5567 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
5568 Kluge to make it work. | |
4604 | 5569 |
5570 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
5571 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
5572 | |
5573 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
5574 default_command_editor::do_generate_filename_completions, | |
5575 command_editor::generate_filename_completions): New functions. | |
5576 * cmd-edit.h: Provide decls. | |
5577 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
5578 function. | |
5579 * oct-rl-edit.h: Provide decl. | |
5580 | |
4593 | 5581 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5582 | |
4594 | 5583 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
5584 INSTANTIATE_ARRAY): New macros. | |
5585 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5586 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
5587 | |
4593 | 5588 * Array.h (Array<T>::ipermute): New function. |
5589 | |
5590 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
5591 | |
5592 * Array.cc (Array<T>::permute): New function. | |
5593 * Array.h: Provide decl. | |
5594 | |
5595 * Array-util.cc (calc_permutated_idx): New function. | |
5596 * Array-util.h: Provide decl. | |
5597 | |
4587 | 5598 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5599 | |
4592 | 5600 * Array.cc (Array<T>::index2): Return value has orientation of |
5601 indexed value if indexing a vector with a bool matrix. | |
5602 | |
4589 | 5603 * ArrayN.h (ArrayN<T>::get_size): Delete. |
5604 | |
4588 | 5605 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
5606 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
5607 | |
5608 * ArrayN-inline.h: Delete. | |
5609 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
5610 * Makefile.in: Fix the appropriate lists. | |
5611 | |
4587 | 5612 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5613 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5614 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5615 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5616 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5617 Avoid -Wshadow warnings. | |
5618 | |
5619 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5620 |
5621 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5622 | |
5623 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5624 | |
5625 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5626 | |
5627 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5628 | |
4584 | 5629 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5630 | |
5631 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5632 | |
5633 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5634 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5635 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5636 Return NDArray. Handle N-d arrays. | |
5637 | |
4575 | 5638 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5639 | |
4583 | 5640 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5641 that upcase Fortran names by calling dlsode instead of lsode. | |
5642 | |
5643 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5644 that upcase Fortran names by calling dodessa instead of odessa. | |
5645 | |
4577 | 5646 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5647 non-const args for symlink system call. | |
5648 (file_ops::readlink): Likewise, for readlink. | |
5649 | |
4575 | 5650 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5651 | |
4574 | 5652 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5653 | |
5654 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5655 Change all uses. | |
5656 | |
4569 | 5657 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5658 | |
5659 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5660 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5661 * dNDArray.h: Provide decls. | |
5662 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5663 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5664 ComplexNDArray::abs): New functions. | |
5665 * CNDArray.h: Provide decls. | |
5666 | |
5667 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5668 Generalize to handle other reduction operations. | |
5669 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5670 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5671 | |
4565 | 5672 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5673 | |
4567 | 5674 * Array.cc (Array<T>::reshape): New function. |
5675 * Array.h: Provide decl. | |
5676 | |
5677 * dim-vector.h (dim_vector::numel): New function. | |
5678 | |
4565 | 5679 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5680 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5681 | |
4559 | 5682 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5683 | |
5684 * dim-vector.h (dim_vector::any_zero): New function. | |
5685 (dim_vector::str): New default arg, sep. | |
5686 | |
5687 * Array.h (Array<T>::numel): New function. | |
5688 | |
4556 | 5689 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5690 | |
5691 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5692 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5693 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5694 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5695 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5696 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5697 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5698 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5699 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5700 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5701 | |
4552 | 5702 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5703 | |
4553 | 5704 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5705 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5706 | |
4552 | 5707 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5708 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5709 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5710 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5711 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5712 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5713 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5714 Use new F77 arg macros in declarations of external Fortran | |
5715 subroutines and for calling them. | |
5716 | |
4548 | 5717 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5720 Allow number of dimensions to change. | |
5721 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5722 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5723 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5724 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5725 (Array<T>::transpose): Require ndims to be 2. | |
5726 (Array<T>::index2): Likewise. | |
5727 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5728 (Array<T>::maybe_delete_elements_2): Likewise. | |
5729 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5730 (Array<T>::index1): Use resize_and_fill. | |
5731 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5732 | |
5733 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5734 | |
5735 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5736 (MArray2<T>::resize (int, int, const T&)): New function. | |
5737 | |
5738 * MArray.h (MArray<T>::resize (int)): New function. | |
5739 (MArray<T>::resize (int, const T&)): New function. | |
5740 | |
5741 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5742 | |
5743 * DASPK-opts.in: Use single-arg resize for initial condition | |
5744 heuristics. | |
5745 | |
5746 * dim-vector.h (class dim_vector): Now reference counted. | |
5747 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5748 | |
4544 | 5749 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5750 | |
4545 | 5751 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5752 | |
4544 | 5753 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5754 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5755 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5756 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5757 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5758 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5759 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5760 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5761 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5762 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5763 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5764 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5765 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5766 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5767 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5768 files are now automatically generated. | |
5769 | |
5770 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5771 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5772 Add rules to generate these files and mx-ops.h. | |
5773 (stamp-prereq): Depend on these files. | |
5774 | |
5775 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5776 * Makefile.in (DISTFILES): Add them to the list. | |
5777 | |
4543 | 5778 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5779 | |
5780 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5781 NDArray::NDArray (const charNDArray)): New constructors. | |
5782 (NDArray::operator !): New function. | |
5783 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5784 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5785 | |
5786 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5787 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5788 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5789 New constructors. | |
5790 (ComplexNDArray::operator !): New function. | |
5791 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5792 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5793 | |
5794 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5795 | |
5796 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5797 Provide NDND_CMP_OPS. | |
5798 | |
5799 * MArrayN.cc (operator +=, operator -=): New functions. | |
5800 Provide product and quotient functions. | |
5801 | |
5802 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5803 dim_vector&)): New function. | |
5804 | |
5805 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5806 operator ==, operator !=): New functions. | |
5807 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5808 | |
5809 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5810 No need to save old dimensions. | |
5811 | |
5812 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5813 (octave_rand::nd_array): New function. | |
5814 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5815 | |
5816 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5817 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5818 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5819 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5820 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5821 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5822 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5823 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5824 NDND_OP_DECLS): New macros. | |
5825 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5826 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5827 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5828 | |
5829 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5830 boolNDArray, class charNDArray): New forward decls. | |
5831 | |
4534 | 5832 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5833 | |
5834 * Array.cc (assign2): No error (but don't do anything either) for | |
5835 expressions like x([],j) = scalar. | |
5836 | |
4532 | 5837 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5838 | |
4533 | 5839 * Array.cc (assignN): Allow lhs(:) = scalar. |
5840 | |
4532 | 5841 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5842 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5843 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5844 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5845 | |
5846 * dim-vector.h (rows, cols): Delete unused data members. | |
5847 | |
5848 * Array.cc (Array<T>::get_size): Fix thinko. | |
5849 | |
5850 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5851 | |
5852 * Array.cc (Array<T>::squeeze): New function. | |
5853 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5854 * dNDArray.h (NDArray::squeeze): Likewise. | |
5855 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5856 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5857 | |
4530 | 5858 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5859 | |
5860 * Array.cc (ArrayN<T>::indexN): New definition. | |
5861 * Array.h (Array<T>::indexN): Provide decl. | |
5862 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5863 Call indexN if more than 2 indices. | |
5864 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5865 Make it (mostly) work. | |
5866 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5867 New functions. | |
5868 | |
4527 | 5869 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5870 | |
5871 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5872 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5873 versions with eof arg. | |
5874 | |
4518 | 5875 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5876 | |
5877 * Array.h (dimensions): Now public. | |
5878 template <class LT, class RT> | |
5879 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5880 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5881 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5882 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5883 resize_no_fill (int), | |
5884 resize_no_fill (int, int), | |
5885 resize_no_fill (int, int, int), | |
5886 resize_no_fill (const dim_vector&), | |
5887 resize_and_fill (int, const T&), | |
5888 resize_and_fill (int, int, const T&), | |
5889 resize_and_fill (int, int, int, const T&), | |
5890 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5891 | |
5892 * Array.cc: Include <climits>. | |
5893 | |
4513 | 5894 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
4517 | 5896 * Array.cc: Merge Array-idx.h. |
5897 * Array-idx.h: Delete. | |
5898 | |
4514 | 5899 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5900 | |
4513 | 5901 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5902 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5903 just special cases of the general purpose N-d Array object). | |
5904 | |
5905 * dim-vector.h: New file. Use dim_vector objects instead of | |
5906 ints or Array<int> objects to represent the size of Array | |
5907 objects. | |
5908 | |
5909 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5910 | |
5911 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5912 | |
5913 * mx-base.h: Include NDArray header files. | |
5914 | |
5915 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5916 | |
5917 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5918 Array-s.cc: Also instantiate ArrayN objects. | |
5919 Don't instantiate assign funcitons for Array2 objects. | |
5920 | |
5921 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5922 liboctave_error_handler, not cerr. | |
5923 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5924 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5925 * dMatrix.cc (Matrix::diag): Likewise. | |
5926 | |
5927 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5928 Omit checks for HEAVYWEIGHT_INDEXING. | |
5929 | |
5930 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5931 | |
5932 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5933 | |
5934 * CNDARray.h, CNDArray.cc: New files. | |
5935 * Makefile.in: Add them to the appropriate lists. | |
5936 | |
5937 * dNDArray.h: Rename from NDArray.h. | |
5938 * dNDArray.cc: Rename from NDArray.cc. | |
5939 * Makefile.in: Rename them here too. | |
5940 | |
4507 | 5941 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5942 | |
5943 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5944 | |
5945 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5946 * Makefile.in: Add them to the appropriate lists. | |
5947 | |
5095 | 5948 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5949 |
5950 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5951 biry): Always request scaled results from AMOS functions and | |
5952 perform reverse scaling on results if scaled result not requested | |
5953 by user. | |
5954 | |
5955 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5956 | |
5957 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5958 | |
4505 | 5959 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5960 | |
5961 * Array-d.cc: Instantiate assign functions. | |
5962 | |
4504 | 5963 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5964 | |
5965 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5966 (get_elt_idx): Index ra_idx correctly. | |
5967 | |
5968 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5969 bounds if it is exactly on the bound. | |
5970 | |
5971 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5972 * ArrayN.h: Provide decl. | |
5973 | |
5974 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5975 | |
5976 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5977 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5978 (idx_vector::orig_dimensions): New function. | |
5979 | |
4497 | 5980 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5981 | |
5982 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5983 | |
4496 | 5984 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5985 | |
5986 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5987 (is_in, how_many_lgt, all_ones): New functions. | |
5988 | |
4493 | 5989 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5990 | |
5991 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5992 | |
5993 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5994 | |
5995 * ArrayN-inline.h: New file. | |
5996 (index_in_bounds, increment_index): Move here. | |
5997 * ArrayN.cc: From here. | |
5998 | |
5999 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
6000 * ArrayN-idx.h (assign): New function. | |
6001 | |
4490 | 6002 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6003 | |
6004 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
6005 Also zero imaginary part of result if real part of input value is | |
6006 zero. | |
6007 | |
4478 | 6008 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6009 | |
6010 * mx-base.h: Include ArrayN.h. | |
6011 | |
4476 | 6012 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6013 | |
6014 * ArrayN.cc (operator <<): Corrected output. | |
6015 | |
4474 | 6016 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6017 | |
6018 * ArrayN.cc (increment_index): New arg, start_dimension. | |
6019 | |
5095 | 6020 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 6021 |
6022 * ArrayN.cc (operator <<): Improve output readability. | |
6023 | |
4493 | 6024 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 6025 |
6026 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
6027 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
6028 Initialize old_len before changing size. | |
6029 | |
4472 | 6030 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6031 | |
6032 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 6033 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 6034 |
4469 | 6035 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6036 | |
6037 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
6038 way. Handle NA in an R-compatible way. | |
6039 | |
6040 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
6041 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
6042 | |
6043 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
6044 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
6045 | |
6046 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
6047 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
6048 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
6049 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
6050 | |
4461 | 6051 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6052 | |
6053 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6054 Pass true for resize_ok arg to freeze. | |
6055 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6056 Likewise. | |
6057 | |
6058 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
6059 resize_ok arg is now bool. | |
6060 * idx-vector.h (idx_vector::freeze): Likewise. | |
6061 | |
6062 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
6063 Rename from liboctave_rre_flag. Now bool. | |
6064 (liboctave_wfi_flag): Now bool. | |
6065 | |
6066 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
6067 | |
5095 | 6068 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 6069 |
6070 * Array.h (resize_fill_value): Now a top-level template function. | |
6071 Accept object as argument. Change all uses. | |
6072 | |
4455 | 6073 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6074 | |
6075 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
6076 | |
6077 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
6078 liboctave_dfi_flag. | |
6079 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
6080 X undefined or empty, always create a row vector. | |
6081 | |
6082 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
6083 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
6084 | |
4437 | 6085 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6086 | |
6087 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6088 Magic colon indexing always produces an object with one column. | |
6089 | |
5095 | 6090 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 6091 |
6092 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
6093 | |
6094 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
6095 | |
4431 | 6096 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6097 | |
6098 * dMatrix.cc (any_element_is_negative): If new optional arg | |
6099 neg_zero is true, also return true for negative zero. | |
6100 | |
4429 | 6101 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6102 | |
6103 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
6104 Handle step limit. | |
6105 * DASSL-opts.in: New option for step limit. | |
6106 | |
5095 | 6107 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 6108 |
6109 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
6110 | |
4428 | 6111 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6112 | |
6113 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
6114 Store step limit in iwork(20), not iwork(18). | |
6115 | |
5095 | 6116 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 6117 |
6118 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
6119 | |
4412 | 6120 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6121 | |
4413 | 6122 * Makefile.in: Handle DESTDIR. |
6123 | |
4412 | 6124 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
6125 (kpse_path_iterator::set_end): Don't miss last element when not | |
6126 followed by a colon. | |
6127 | |
4409 | 6128 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6129 | |
6130 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
6131 | |
6132 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6133 | |
6134 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
6135 (find_first_of): Also do an absolute search on each | |
6136 name before looking in the path. | |
6137 | |
4407 | 6138 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6139 | |
6140 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
6141 directory separator. | |
6142 | |
4399 | 6143 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6144 | |
6145 * pathsearch.cc: Include kpse.cc here. | |
6146 | |
6147 * kpse.cc: All functions are now static. Massive surgery to | |
6148 condense kpathsearch library to a single file of just the | |
6149 essentials for Octave and convert to using C++ strings (no more | |
6150 calls to malloc, very few calls to new, so there should be much | |
6151 less potential for introducing memory leaks now). | |
6152 | |
6153 * Makefile.in (EXTRAS): Move kpse.cc here from | |
6154 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
6155 | |
6156 * kpse.h, kpse-config.h: Delete. | |
6157 * Makefile.in (INCLUDES): Delete them from the list. | |
6158 | |
4392 | 6159 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6160 | |
6161 * str-vec.cc (string_vector::append (const std::string&), | |
6162 string_vector::append (const string_vector&)): New methods. | |
6163 | |
4386 | 6164 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6165 | |
4389 | 6166 * kpse.cc, kpse.h: Replace fn_type with std::string. |
6167 | |
4387 | 6168 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
6169 | |
4386 | 6170 * kpse.cc (xclosedir): Don't define or declare for Windows. |
6171 (READABLE): Now a static function to avoid warnings from MinGW | |
6172 compiler. | |
6173 | |
4384 | 6174 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6175 | |
4385 | 6176 * kpse.cc: Move most functions from kpse-xfns.c here and make |
6177 static. Include most of kpse-xfns.h directly, removing | |
6178 unnecessary bits. | |
6179 | |
4384 | 6180 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
6181 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6182 | |
4378 | 6183 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6184 | |
6185 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
6186 * Makefile.in: Add them to the appropriates lists. | |
6187 | |
6188 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
6189 | |
6190 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
6191 for new locations of kpathsea objects. | |
6192 Delete kpathsea targets. | |
6193 | |
6194 * pathsearch.cc (dir_path::set_program_name): Delete. | |
6195 | |
6196 * kpse.cc: New file. | |
6197 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
6198 | |
6199 * kpse.c: New file. | |
6200 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
6201 | |
6202 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
6203 * Makefile.in (INCLUDES): Add them to the list. | |
6204 | |
6205 * oct-kpse.h: Delete. | |
6206 * Makefile.in (INCLUDES): Delete it from the list. | |
6207 | |
4374 | 6208 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6209 | |
6210 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
6211 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
6212 Likewise. | |
6213 From Quentin H. Spencer <qspencer@ieee.org>. | |
6214 | |
4365 | 6215 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6216 | |
6217 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
6218 | |
4349 | 6219 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6220 | |
4352 | 6221 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
6222 without placement delete. | |
6223 | |
4349 | 6224 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
6225 imaginary parts. | |
6226 | |
6227 * lo-ieee.h (lo_ieee_signbit): New macro. | |
6228 | |
5095 | 6229 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 6230 |
6231 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
6232 Use Lapack instead of Linpack. | |
5315 | 6233 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 6234 ComplexMatrix::solve): Likewise. |
6235 | |
6236 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
6237 calc_cond. If 0, skip condition number calculation. | |
6238 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
6239 Likewise. | |
6240 | |
6241 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
6242 * dbleLU.cc (LU::LU): Likewise. | |
6243 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
6244 | |
6245 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6246 | |
6247 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
6248 | |
4323 | 6249 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6250 | |
6251 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
6252 Additional compatibility fix. | |
6253 | |
6254 2003-02-13 Arno Klaassen <arno@scito.com> | |
6255 | |
6256 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6257 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
6258 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
6259 | |
4322 | 6260 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6261 | |
6262 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6263 Compatibility fix. | |
6264 | |
4316 | 6265 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6266 | |
6267 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
6268 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
6269 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
6270 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
6271 * dRowVector.cc (RowVector::extract_n): Likewise. | |
6272 * dMatrix.cc (Matrix::extract_n): Likewise. | |
6273 | |
6274 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
6275 with make_unique and xelem. | |
6276 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
6277 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
6278 ComplexMatrix::extract, ComplexMatrix::row, | |
6279 ComplexMatrix::column): Likewise. | |
6280 * dColVector.cc (ColumnVector::insert): Likewise. | |
6281 * dRowVector.cc (RowVector::insert): Likewise. | |
6282 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
6283 Matrix::row, Matrix::column): Likewise. | |
6284 | |
4313 | 6285 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6286 | |
6287 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
6288 | |
4309 | 6289 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6290 | |
6291 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
6292 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
6293 * CMatrix.h, dMatrix.h: Provide decls. | |
6294 | |
4307 | 6295 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6296 | |
6297 * oct-rand.h, oct-rand.cc: New files. | |
6298 * Makefile.in: Add them to the appropriate lists. | |
6299 | |
4306 | 6300 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6301 | |
6302 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
6303 | |
4299 | 6304 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
6305 | |
6306 * oct-syscalls.cc: Include signal.h. | |
6307 | |
4294 | 6308 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6309 | |
6310 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
6311 * oct-syscalls.h: Provide decl. | |
6312 | |
6313 | |
4293 | 6314 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6315 | |
6316 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
6317 there is nothing to read. | |
6318 | |
4290 | 6319 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6320 | |
6321 * lo-cutils.c: Define _XOPEN_SOURCE. | |
6322 | |
4286 | 6323 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6324 | |
4288 | 6325 * getopt.h: Update to version from kpathsearch, so we will install |
6326 the version that we are using. | |
6327 | |
6328 * getopt.c, getopt1.c: Delete. | |
6329 (INCLUDES): Delete them from the list. We'll get these files from | |
6330 kpathsearch. | |
6331 | |
4286 | 6332 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
6333 ../kpathsea/STATIC/*.o. | |
6334 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
6335 | |
4270 | 6336 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6337 | |
4282 | 6338 * dMatrix.cc (read_int, write_int): Avoid warnings about |
6339 unreachable code. | |
6340 | |
4279 | 6341 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
6342 to correspond to placement new operator. | |
6343 | |
4278 | 6344 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
6345 (DET::value_will_underflow): Likewise. | |
6346 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
6347 (ComplexDET::value_will_underflow): Likewise. | |
6348 | |
4276 | 6349 * Makefile.in (distclean): Also remove stamp-prereq. |
6350 | |
4306 | 6351 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
6352 RHS and index are empty matrices, don't do anything. | |
4270 | 6353 |
4242 | 6354 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6355 | |
6356 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
6357 delete_c_names): New helper functions. | |
6358 (dir_path::find_first_of): New function. | |
6359 (dir_path::find_all_first_of): Likewise. | |
6360 * pathsearch.h: Provide decls. | |
6361 | |
6362 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
6363 (octave_kpse_all_path_find_first_of): Likewise. | |
6364 * oct-kpse.h: Provide decls. | |
6365 | |
4231 | 6366 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6367 | |
6368 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
6369 * ODESSA-opts.in: Likewise. | |
6370 | |
6371 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
6372 * LSODE-opts.in: Likewise. | |
6373 | |
4229 | 6374 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6375 | |
4230 | 6376 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
6377 in all constructors. | |
6378 | |
4229 | 6379 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
6380 (LINK_DEPS): Not here. | |
6381 | |
4219 | 6382 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6383 | |
4220 | 6384 * str-vec.cc (string_vector::compare): New static member function. |
6385 * str-vec.h: Provide decl. | |
6386 (string_vector::sort): Use it. | |
6387 (str_vec_compare): Delete static function. | |
6388 | |
4219 | 6389 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
6390 a placement operator new. | |
6391 | |
4209 | 6392 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6393 | |
4210 | 6394 * Matrix.h: Include mx-ops.h too. |
4209 | 6395 * mx-ops.h: New file. |
6396 | |
4192 | 6397 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6398 | |
6399 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
6400 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
6401 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
6402 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
6403 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6404 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6405 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
6406 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
6407 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
6408 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
6409 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
6410 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
6411 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
6412 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
6413 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
6414 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
6415 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
6416 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
6417 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
6418 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
6419 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
6420 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
6421 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
6422 | |
4184 | 6423 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6424 | |
6425 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
6426 From Remy Bruno <remy.bruno@libertysurf.fr> | |
6427 | |
4180 | 6428 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6429 | |
6430 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
6431 fortran code that should run fast enough that it is not worth all | |
6432 the setup costs of F77_XFCN. | |
6433 | |
6434 * Quad.cc (user_function): Surround body of function with | |
6435 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
6436 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
6437 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
6438 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
6439 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
6440 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
6441 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
6442 | |
4164 | 6443 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6444 | |
6445 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
6446 of ! defined (linux). | |
6447 | |
5095 | 6448 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 6449 |
6450 * oct-shlib.cc (octave_dyld_shlib): New class. | |
6451 (make_shlib): Instantiate octave_dyld_shlib. | |
6452 | |
4152 | 6453 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6454 | |
4153 | 6455 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
6456 | |
4152 | 6457 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
6458 | |
6459 * Array.h: Include <cstddef> here. | |
6460 | |
4142 | 6461 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6462 | |
4144 | 6463 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
6464 using them. Accept inequality contraint option of 0. Assign | |
6465 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
6466 abs_tol and rel_tol. | |
6467 | |
4143 | 6468 * cmd-edit.h (command_editor::filename_completion_desired): New |
6469 static function. | |
6470 (command_editor::do_filename_completion_desired): New virtual function. | |
6471 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
6472 * oct-rl-edit.h: Provide decl. | |
6473 | |
4142 | 6474 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
6475 avoid OS X linker bug. | |
6476 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
6477 | |
4139 | 6478 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6479 | |
4141 | 6480 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
6481 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
6482 solvers. | |
6483 * ODESSA.cc: Fix all callers. | |
6484 | |
4139 | 6485 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
6486 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
6487 sum(zeros(1,0)) returns 0, not [](1x0)). | |
6488 | |
4136 | 6489 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6490 | |
6491 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
6492 | |
4132 | 6493 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6494 | |
4133 | 6495 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
6496 (ddasrt_f): Combine loops. | |
6497 | |
4132 | 6498 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
6499 instead of empty vector if user termninates iteration. | |
6500 | |
4130 | 6501 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6502 | |
6503 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
6504 octave_read_complex, octave_write_double, octave_write_complex): | |
6505 New functions. | |
6506 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
6507 Use octave_write_complex. | |
6508 (operator >> (std::istream&, const ComplexMatrix&)): | |
6509 Use octave_read_complex. | |
6510 * dMatrix.cc (operator << (std::ostream&, double)): | |
6511 Use octave_write_double. | |
6512 (operator >> (std::istream&, double)): Use octave_read_double. | |
6513 | |
4126 | 6514 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6515 | |
6516 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
6517 * oct-kpse.h: Delete decl. | |
6518 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
6519 ::octave_kpse_clear_dir_cache. | |
6520 | |
4123 | 6521 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6522 | |
4124 | 6523 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
6524 earlier than 3.0. | |
6525 | |
4123 | 6526 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
6527 (liboctave.$(SHLEXT)): Not here. | |
6528 | |
5095 | 6529 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 6530 |
6531 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
6532 | |
4108 | 6533 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6534 | |
6535 * Makefile.in (install-lib): Don't bother with versions for | |
6536 $(SHLBIN) files. | |
6537 | |
5095 | 6538 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 6539 |
6540 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
6541 | |
4102 | 6542 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6543 | |
6544 * lo-cieee.c: Move everything but lo_ieee_init here. | |
6545 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
6546 New functions. | |
6547 | |
6548 * Makefile.in (install): No need to use cd to create links. | |
6549 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
6550 | |
5095 | 6551 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 6552 |
6553 * Makefile.in: Merge liboctave with liboct-readline and | |
6554 liboct-pathsearch. | |
6555 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
6556 (libraries): Depend on versioned library. | |
6557 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
6558 build unversioned library, symbolic link adds version info. | |
6559 (install, uninstall): Handle link and load forms of the library | |
6560 separately. | |
6561 | |
4101 | 6562 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
6564 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
6565 __CYGWIN__. | |
6566 | |
6567 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
6568 file_ops::dir_sep_chars): New static functions to replace | |
6569 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
6570 | |
6571 * oct-env.cc (octave_env::do_set_program_name): | |
6572 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
6573 (octave_env::do_base_pathname): Likewise. | |
6574 (octave_env::do_make_absolute): Likewise. | |
6575 | |
6576 * oct-env.cc (octave_env::do_make_absolute): | |
6577 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
6578 (octave_env::do_get_home_directory): Likewise. | |
6579 | |
6580 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
6581 that information here too. | |
6582 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
6583 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
6584 | |
6585 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
6586 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
6587 | |
4097 | 6588 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6589 | |
6590 * oct-env.h (octave_env::current_directory): Now mutable. | |
6591 (octave_env:do_getcwd): Now const. | |
6592 | |
6593 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
6594 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
6595 OCTAVE_CURRENT_DIR_STR): New macros. | |
6596 * oct-env.cc (is_dir_sep): Delete. | |
6597 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
6598 (octave_env::do_set_program_name): Likewise. | |
6599 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
6600 instead of checking for '/'. | |
6601 (octave_env::pathname_backup): Likewise. | |
6602 (octave_env::do_absolute_pathname): Likewise. | |
6603 (octave_env::do_make_absolute): Likewise. | |
6604 If dot_path is empty, use getcwd to set current_dir. | |
6605 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
6606 instead of "/". | |
6607 | |
5095 | 6608 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6609 |
6610 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
6611 | |
5095 | 6612 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6613 |
6614 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6615 absolute path names under MinGW as well. | |
6616 | |
6617 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6618 | |
6619 * oct-env.cc: Include <cctype> too. | |
6620 | |
4087 | 6621 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6622 | |
6623 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6624 filenames. | |
6625 (octave_env::do_make_absolute): Check for absolute name with | |
6626 do_absolute_path. | |
4088 | 6627 (octave_env::do_chdir): Likewise. |
6628 (is_dir_sep): New function. | |
4087 | 6629 |
5095 | 6630 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6631 |
4086 | 6632 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6633 systems. | |
4085 | 6634 |
4083 | 6635 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6636 | |
6637 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6638 | |
4080 | 6639 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6640 | |
4081 | 6641 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6642 | |
4080 | 6643 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6644 | |
5095 | 6645 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6646 |
6647 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6648 gr_gid too. | |
6649 | |
4072 | 6650 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6651 | |
4074 | 6652 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6653 lo_ieee_* functions. | |
4072 | 6654 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6655 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6656 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6657 * lo-cieee.c: New file. |
4074 | 6658 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6659 * lo-ieee.h: Now all extern "C". |
4074 | 6660 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6661 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6662 | |
4072 | 6663 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6664 Now extern. | |
6665 | |
4066 | 6666 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6667 | |
6668 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6669 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6670 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6671 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6672 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6673 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6674 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6675 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6676 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6677 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6678 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6679 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6680 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6681 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6682 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6683 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6684 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6685 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6686 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6687 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6688 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6689 oct-alloc.cc: | |
6690 If __GNUG__, use pragma interface/implementation. Allow this to | |
6691 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6692 | |
5095 | 6693 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6694 |
4066 | 6695 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6696 system readlink function is not available. | |
6697 | |
4065 | 6698 * lo-mappers.cc (xerf, xerfc): Delete. |
6699 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6700 | |
4064 | 6701 * lo-mappers.cc: Remove unused #define M_PI. |
6702 * lo-specfun.cc: Add #define M_PI if needed. | |
6703 | |
4062 | 6704 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6705 | |
6706 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6707 that geteuid doesn't exist. | |
6708 | |
6709 * LP.h: Rename LP class to octave_LP. | |
6710 LPsolve.h: Change all uses. | |
6711 | |
6712 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6713 incorrect token-pasting op. | |
6714 | |
6715 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6716 define lstat. | |
6717 | |
4061 | 6718 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6719 | |
6720 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6721 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6722 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6723 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6724 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6725 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6726 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6727 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6728 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6729 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6730 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6731 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6732 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6733 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6734 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6735 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6736 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6737 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6738 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6739 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6740 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6741 oct-alloc.cc: | |
6742 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6743 to decide whether to use the interface/implementation pragmas. | |
6744 | |
4058 | 6745 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6746 | |
6747 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6748 | |
4055 | 6749 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6750 | |
6751 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6752 qualified names. | |
6753 | |
4051 | 6754 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6755 | |
4054 | 6756 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6757 ArrayN.cc: Add typename where needed. | |
4053 | 6758 |
4051 | 6759 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6760 strstream classes directly. | |
6761 * DASRT.cc: Likewise. | |
6762 * DASSL.cc: Likewise. | |
6763 * LSODE.cc: Likewise. | |
6764 * ODESSA.cc: Likewise. | |
6765 | |
6766 * cmd-hist.cc: Don't include <strstream>. | |
6767 * oct-shlib.cc: Likewise. | |
6768 | |
6769 * lo-sstream.h: New file. | |
6770 | |
4049 | 6771 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6772 | |
6773 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6774 New data members. | |
6775 (LSODE::sanity_checked): Delete unused data member. | |
6776 | |
6777 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6778 prel_tol, pinfo, piwork, prwork): New data members. | |
6779 * DASSL.h (DASSL): Likewise. | |
6780 | |
6781 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6782 | |
6783 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6784 initialization, changes in options, etc. | |
6785 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6786 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6787 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6788 | |
4047 | 6789 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6790 | |
4049 | 6791 * DAEFunc.h (DAEFunc::reset): New data member. |
6792 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6793 | |
6794 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6795 (base_diff_eqn::clear_stop_time): Likewise. | |
6796 | |
4047 | 6797 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6798 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6799 | |
5095 | 6800 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6801 |
6802 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6803 * DASRT-opts.in, DASRT.h: Likewise. | |
6804 * DASSL-opts.in, DASSL.h: Likewise. | |
6805 * LSODE-opts.in, LSODE.h: Likewise. | |
6806 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6807 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6808 | |
4038 | 6809 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
4042 | 6811 * LSODE.cc (LSODE::error_message): Also return current T on |
6812 failures when that makes sense. | |
4043 | 6813 * DASSL.cc (DASSL::error_message): Likewise. |
6814 * DASRT.cc (DASRT::error_message): Likewise. | |
6815 * DASPK.cc (DASPK::error_message): Likewise. | |
6816 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6817 |
4038 | 6818 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6819 $(LIBKPATHSEA) here. | |
6820 | |
4025 | 6821 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6822 | |
6823 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6824 (lo_ieee_is_NaN_or_NA): New function. | |
6825 (octave_NA): New global value. | |
6826 (octave_ieee_init): Initialize it. | |
6827 * lo-mappers.cc (octave_is_NA): New function. | |
6828 (octave_is_NaN_or_NA): New function. | |
6829 (xisnan): Return false if NaN looks like a missing value. | |
6830 (xisnan (const Complex&)): Use xisnan here. | |
6831 | |
4015 | 6832 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6833 | |
4017 | 6834 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6835 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6836 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6837 Default value for dim is -1, not 0. | |
6838 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6839 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6840 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6841 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6842 | |
4015 | 6843 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6844 New macros. | |
6845 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6846 MX_BASE_REDUCTION_OP. | |
6847 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6848 | |
4014 | 6849 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6850 | |
4015 | 6851 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6852 Return boolMatrix, not Matrix. | |
6853 | |
6854 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6855 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6856 (Matrix::all): Replace guts with MX_ALL_OP. | |
6857 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6858 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6859 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6860 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6861 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6862 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6863 | |
6864 * dMatrix.h (Matrix::any): New arg, dim. | |
6865 (Matrix::all): Likewise. | |
6866 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6867 (ComplexMatrix::all): Likewise. | |
6868 * boolMatrix.h (boolMatrix::any): Likewise. | |
6869 (boolMatrix::all): Likewise. | |
6870 * chMatrix.h (charMatrix::any): Likewise. | |
6871 (charMatrix::all): Likewise. | |
6872 | |
4014 | 6873 * Makefile.in: Use $@-t instead of $@.t. |
6874 | |
4004 | 6875 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6876 | |
6877 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6878 Use it in matrix versions to avoid spewing multiple errors. | |
6879 Call xgammainc instead of dgamit. | |
6880 | |
3998 | 6881 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6882 | |
6883 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6884 Get rows and columns right in loop. | |
6885 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6886 | |
6887 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6888 | |
6889 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6890 * DASRT.cc (DASRT::integrate): Likewise. | |
6891 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6892 | |
6893 * Quad.cc: Don't pass tolerances in constructors. | |
6894 | |
6895 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6896 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6897 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6898 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6899 from corresponding .in files. | |
6900 * LSODE.h, Quad.h: Replace options class definitions with included | |
6901 file. | |
6902 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6903 create OPTS_INC files from OPTS_INC_SRC files. | |
6904 (stamp-prereq): New target. | |
6905 (libraries): Depend on stamp-prereq. | |
6906 Include stamp-prereq along with $(MAKEDEPS). | |
6907 | |
3997 | 6908 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6909 | |
6910 * base-de.h (base_diff_eqn::istate): New data member. | |
6911 (base_diff_eqn::integration_state): New member function. | |
6912 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6913 data members and functions. | |
6914 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6915 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6916 | |
3990 | 6917 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6918 | |
3995 | 6919 * base-de.h (base_diff_eqn::stop_time, |
6920 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6921 base_diff_eqn::integration_error): New data members. | |
6922 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6923 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6924 base_diff_eqn::error_message): New member functions. | |
6925 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6926 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6927 members and functions. | |
6928 | |
3992 | 6929 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6930 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6931 (DASRT::integrate): Don't forget to set nn. |
3992 | 6932 |
3991 | 6933 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6934 * DASSL.cc (ddassl_j): Make it work. | |
6935 * DASPK.cc (ddaspk_j): Likewise. | |
6936 | |
3990 | 6937 * DAE.cc: Delete. |
6938 | |
6939 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6940 solving with root finding. | |
6941 * Makefile.in: Add them to the appropriate lists. | |
6942 | |
6943 * base-dae.h: New file. | |
6944 * Makefile.in (INCLUDES): Add it to the list. | |
6945 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6946 | |
3984 | 6947 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6948 | |
6949 * ODE.h: Move integrate and do_integrate method declarations and | |
6950 definitions here. | |
6951 * base-de.h: From here. | |
6952 | |
6953 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6954 * Makefile.in: Add them to the appropriate lists. | |
6955 (LIBOCTAVE_CXX_SOURCES): | |
6956 | |
3971 | 6957 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6958 | |
6959 * NLEqn.cc (NLEqn::error_message): New function. | |
6960 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6961 | |
3970 | 6962 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6963 | |
6964 * lo-utils.cc (octave_fgetl): New function. | |
6965 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6966 | |
3959 | 6967 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6968 | |
6969 * LSODE.cc (LSODE::error_message): New function. | |
6970 * LSODE.h: Provide decl. | |
6971 (LSODE::integration_state): New function. | |
6972 (LSODE::integration_ok): New function. | |
6973 | |
3952 | 6974 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6975 | |
3955 | 6976 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6977 (LSODE_options::set_integration_method, | |
6978 LSODE_options::integration_method): New functions. | |
3954 | 6979 |
3952 | 6980 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6981 Change all uses. | |
6982 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6983 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6984 New function. | |
6985 | |
6986 * Array.h (Array::fortran_vec): New const version. | |
6987 | |
3951 | 6988 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6989 | |
6990 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6991 (gnu_readline::history_search_forward): Likewise. | |
6992 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6993 to extern "C" functions to octave_rl_ad_defun. | |
6994 | |
5095 | 6995 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6996 |
6997 * DASPK.cc (ddaspk_psol): Return value. | |
6998 * oct-rl-edit.c: Use /* ... */ to comment. | |
6999 | |
3945 | 7000 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7001 | |
7002 * DASSL.h (DASSL_options::init): Undo previous change. | |
7003 (DASSL_options::set_absolute_tolerance): Likewise. | |
7004 * LSODE.h (LSODE_options::init): Likewise. | |
7005 (LSODE_options::set_absolute_tolerance): Likewise. | |
7006 | |
7007 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
7008 sqrt(eps), not eps^2. | |
7009 DASPK_options::set_absolute_tolerance): Likewise. | |
7010 | |
5095 | 7011 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 7012 |
7013 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
7014 object. | |
7015 | |
3933 | 7016 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7017 | |
7018 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
7019 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
7020 (octave_rl_set_basic_word_break_characters, | |
7021 octave_rl_set_completer_word_break_characters): New functions. | |
7022 * oct-rl-edit.h: Provide decls. | |
7023 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
7024 gnu_readline::do_set_completer_word_break_characters): New functions. | |
7025 (command_editor::set_basic_quote_characters, | |
7026 command_editor::set_completion_append_character): New static functions. | |
7027 * cmd-edit.h: Provide decls. | |
7028 (command_editor::do_set_basic_word_break_characters, | |
7029 command_editor::do_set_completer_word_break_characters): | |
7030 New virtual functions. | |
7031 | |
7032 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
7033 (resize_fill_value): New static function. | |
7034 | |
7035 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
7036 resize_fill_value. | |
7037 * Array2-idx.h (Array2<T>::index): Likewise. | |
7038 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
7039 | |
7040 * Array2.cc (Array<T>::print_info): New function. | |
7041 * Array2.h: Provide decl. | |
7042 | |
7043 * Array.cc (Array<T>::print_info): New function. | |
7044 * Array.h: Provide decl. | |
7045 | |
3928 | 7046 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7047 | |
7048 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
7049 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
7050 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
7051 | |
7052 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
7053 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
7054 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
7055 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
7056 | |
5095 | 7057 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 7058 |
7059 * Array3.h (Array3<T>::checkelem): Improve error message. | |
7060 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
7061 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
7062 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
7063 | |
3919 | 7064 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7065 | |
7066 * DASSL.h (DASSL_options::init): Undo previous change. | |
7067 (DASSL_options::set_absolute_tolerance): Likewise. | |
7068 | |
3912 | 7069 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7070 | |
7071 * DASPK.h, DASPK.cc: New files. | |
7072 * Makefile.in: Add them to the appropriate lists. | |
7073 | |
3904 | 7074 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7075 | |
7076 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
7077 Simplify indexing when one or both of the indices are empty. | |
7078 | |
3896 | 7079 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7080 | |
7081 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
7082 (DASSL_options::set_absolute_tolerance): Likewise. | |
7083 * LSODE.h (LSODE_options::init): Likewise. | |
7084 (LSODE_options::set_absolute_tolerance): Likewise. | |
7085 | |
5095 | 7086 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 7087 |
7088 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
7089 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
7090 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
7091 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
7092 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
7093 * file-stat.h: Likewise. | |
7094 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
7095 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
7096 instead of HAVE_STRUCT_TM_TM_ZONE. | |
7097 * strftime.c: Likewise. | |
7098 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
7099 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
7100 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
7101 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
7102 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7103 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7104 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
7105 | |
5095 | 7106 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 7107 |
7108 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
7109 internally when the user requests it. | |
7110 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
7111 * dbleQR.cc (QR::init): Ditto. | |
7112 * dbleQRP.cc (QRP::init): Ditto. | |
7113 | |
3874 | 7114 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7115 | |
7116 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
7117 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
7118 (octave_fftw::ifft2d): Likewise. | |
7119 | |
5095 | 7120 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 7121 |
7122 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
7123 | |
3867 | 7124 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7125 | |
7126 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
7127 (LS_DO_WRITE): Likewise. | |
7128 | |
3864 | 7129 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7130 | |
7131 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
7132 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
7133 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
7134 | |
7135 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
7136 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
7137 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
7138 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
7139 | |
7140 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
7141 DIM == -1 now means no orientation for vector sums. | |
7142 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
7143 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
7144 | |
3858 | 7145 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7146 | |
7147 * Range.cc (Range::nelem_internal): Special case ranges that must | |
7148 have zero elements. | |
7149 | |
3854 | 7150 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7151 | |
3857 | 7152 * Makefile.in: Split out readline and pathsearch functionality |
7153 into separate liboct-readline and liboct-pathsearch libraries. | |
7154 | |
3854 | 7155 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 7156 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
7157 to do nothing for this call to rl_clear_screen. | |
3854 | 7158 |
3849 | 7159 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7160 | |
7161 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
7162 function. | |
7163 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
7164 | |
3838 | 7165 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7166 | |
7167 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
7168 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
7169 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
7170 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
7171 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
7172 | |
3836 | 7173 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7174 | |
7175 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
7176 | |
7177 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
7178 Array-b.cc: Instantiate three arg assign functions. | |
7179 | |
7180 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
7181 New arg, resize_fill_value. | |
7182 * ArrayN.h: Provide declaration. | |
7183 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
7184 three arg version. | |
7185 | |
7186 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
7187 New arg, resize_fill_value. | |
7188 * Array3.h: Provide declaration. | |
7189 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
7190 three arg version. | |
7191 | |
7192 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7193 New arg, resize_fill_value. | |
7194 * Array2.h: Provide declaration. | |
7195 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
7196 three arg version. | |
7197 | |
7198 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7199 New arg, resize_fill_value. | |
7200 * Array.h: Provide declaration. | |
7201 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
7202 three arg version. | |
7203 | |
3833 | 7204 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7205 | |
7206 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
7207 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
7208 to the empty string. | |
7209 | |
3832 | 7210 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7211 | |
7212 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
7213 Don't check for rep != a.rep. | |
7214 | |
3827 | 7215 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
7216 | |
7217 * oct-fftw.h, oct-fftw.cc: New files. | |
7218 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
7219 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
7220 ifourier2d}): Use fftw if available. | |
7221 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
7222 Likewise. | |
7223 | |
3821 | 7224 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
7227 (install-inc): Don't use mk-includedir-link. | |
7228 | |
3803 | 7229 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7230 | |
7231 * lo-cutils.c (octave_gethostname): New function. | |
7232 * lo-utils.h: Provide declaration. | |
7233 * oct-env.cc (octave_env::do_get_host_name): | |
7234 Call octave_gethostname, instead of gethostname. | |
7235 | |
7236 * lo-cutils.c (gethostname): Define here. | |
7237 * lo-sysdep.cc: Not here. | |
7238 | |
3786 | 7239 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7240 | |
7241 * lo-cutils.c: Don't declare strptime. | |
7242 (oct_strptime): Cast return type of strptime to char*. | |
7243 | |
3777 | 7244 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7245 | |
3779 | 7246 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
7247 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
7248 (octave_rl_read_init_file): Ditto. | |
7249 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
7250 free_undo_list. | |
7251 (octave_rl_completion_matches): Call rl_completion_matches, not | |
7252 completion_matches. | |
7253 (octave_rl_enable_paren_matching): New function. | |
7254 (octave_rl_set_blink_matching_paren_flag): Delete. | |
7255 (octave_rl_get_blink_matching_paren_flag): Delete. | |
7256 | |
3777 | 7257 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
7258 tanh (const Complex&)): Declare and define if not | |
7259 CXX_ISO_COMPLIANT_LIBRARY. | |
7260 | |
3776 | 7261 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7262 | |
7263 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
7264 CXX_ISO_COMPLIANT_LIBRARY. | |
7265 | |
3775 | 7266 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
7267 | |
3776 | 7268 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
7269 CXX_ISO_COMPLIANT_LIBRARY. | |
7270 | |
3775 | 7271 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
7272 archive libraries containing templates. | |
7273 | |
7274 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
7275 get_zero_len_size, all_colon_equiv): Inline. | |
7276 (ArrayN<T>::index): Rename idx to arr_idx. | |
7277 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
7278 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
7279 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
7280 | |
7281 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7282 | |
7283 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
7284 log10 (const Complex&)): Delete. | |
7285 | |
7286 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
7287 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
7288 sinh, sqrt, tan, and tanh. | |
7289 | |
3769 | 7290 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7291 | |
7292 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
7293 Add std:: namespace qualifier as needed. | |
7294 | |
7295 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
7296 Change all uses to match. | |
7297 | |
3767 | 7298 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7299 | |
7300 * lo-cutils.c: Don't delcare strptime. | |
7301 | |
3760 | 7302 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7303 | |
7304 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
7305 Return correct size result for empty matrix case. | |
7306 | |
3757 | 7307 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7308 | |
7309 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
7310 If args are equal in magnitude, return first arg instead of | |
7311 second. | |
7312 | |
3752 | 7313 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7314 | |
3755 | 7315 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
7316 then try harder to compute correct number of elements. | |
3753 | 7317 |
3752 | 7318 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
7319 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
7320 | |
3750 | 7321 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7322 | |
3751 | 7323 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
7324 Rename n_intervals to be n_elt. | |
7325 | |
3750 | 7326 * strptime.c: Surround everything after including config.h in |
7327 #ifndef HAVE_STRPTIME ... #endif. | |
7328 | |
3742 | 7329 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7330 | |
7331 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
7332 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
7333 | |
3741 | 7334 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7335 | |
7336 * MArray-defs.h: Protect against multiple inclusion. | |
7337 | |
3739 | 7338 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7339 | |
7340 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
7341 end of the list, to be compatible with previous versions of Octave. | |
7342 | |
3736 | 7343 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7344 | |
7345 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
7346 since mktime is supposed to `normalize' the results for us. | |
7347 | |
3731 | 7348 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7349 | |
7350 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 7351 and vectors. Use xelem for faster access to elements when copying. |
3731 | 7352 |
3726 | 7353 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7354 | |
7355 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
7356 Correct indexing for operation across rows. | |
7357 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
7358 | |
3725 | 7359 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7360 | |
7361 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
7362 elements if arg is a colon. | |
7363 | |
5095 | 7364 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 7365 |
3795 | 7366 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 7367 (Matrix::cumsum (int) const): Likewise. |
7368 (Matrix::prod (int) const): Likewise. | |
7369 (Matrix::sum (int) const): Likewise. | |
7370 (Matrix::sumsq (int) const): Likewise. | |
7371 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
7372 (ComplexMatrix::cumsum (int) const): Likewise. | |
7373 (ComplexMatrix::prod (int) const): Likewise. | |
7374 (ComplexMatrix::sum (int) const): Likewise. | |
7375 (ComplexMatrix::sumsq (int) const): Likewise. | |
7376 | |
3722 | 7377 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7378 | |
7379 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
7380 size if Array<T>::index returns an empty array. | |
7381 | |
3710 | 7382 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7383 | |
7384 * file-ops.cc (file_ops::link, file_ops::symlink, | |
7385 file_ops::readlink): New functions. | |
7386 | |
3709 | 7387 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7388 | |
7389 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
7390 indexed, always return an object the same size as the index arg. | |
7391 | |
7392 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
7393 empty format. | |
7394 | |
3706 | 7395 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7396 | |
7397 * lo-cutils.c (oct_strptime): New function. | |
7398 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
7399 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
7400 | |
3702 | 7401 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7402 | |
3703 | 7403 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
7404 | |
3702 | 7405 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
7406 | |
3689 | 7407 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7408 | |
7409 * dMatrix.h (read_int): Provide declaration. | |
7410 | |
3688 | 7411 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
7412 | |
7413 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
7414 (write_doubles): Ditto. | |
7415 * data-conv.h: Ditto. | |
7416 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
7417 | |
3685 | 7418 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7419 | |
7420 * boolMatrix.h: Declare MM_CMP_OPS here. | |
7421 * boolMatrix.cc: Define them here. | |
7422 | |
3680 | 7423 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7424 | |
7425 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
7426 previously undefined and set size of x to size of bool index. | |
7427 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
7428 Allow z_len to be zero. | |
7429 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
7430 If frozen, don't assert that frozen_at_z_len == z_len. | |
7431 | |
3670 | 7432 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7433 | |
7434 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
7435 instead of rl_clear_screen. | |
7436 | |
3665 | 7437 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7438 | |
7439 * Array-d.cc: Instantiate ArrayN<double> here too. | |
7440 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
7441 * Makefile.in: Add them to the appropriate lists. | |
7442 | |
3657 | 7443 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7444 | |
7445 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
7446 | |
3635 | 7447 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7448 | |
7449 * lo-sysdep.h: octave_chdir returns int, not bool. | |
7450 | |
3615 | 7451 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7452 | |
7453 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
7454 before rebuilding. | |
7455 | |
5095 | 7456 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 7457 |
5261 | 7458 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 7459 (libraries): Depend only on library targets, not archive members. |
7460 | |
3613 | 7461 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7462 | |
7463 * Makefile.in: (objects): New target. | |
7464 | |
7465 * lo-cutils.c: New file. | |
7466 * Makefile.in (SOURCES): Add it to the list. | |
7467 * lo-utils.h: Declare octave_qsort here. | |
7468 * Array.h (Array::qsort): Use it here. | |
7469 | |
3607 | 7470 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7471 | |
7472 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
7473 | |
3598 | 7474 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7475 | |
7476 * oct-rl-hist.c (octave_history_list): Do something when not | |
7477 printing line numbers. Fix reallocation of retval. | |
7478 | |
3597 | 7479 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7480 | |
7481 * Makefile.in (install-inc): Install files in | |
7482 $(octincludedir)/octave. | |
7483 (uninstall): Remove them from the correct directory too. | |
7484 | |
7485 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
7486 they are not already defined. | |
7487 | |
3588 | 7488 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7489 | |
7490 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
7491 Delete declarations and definitions of mixed-type vector-vector ops. | |
7492 | |
3585 | 7493 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7494 | |
7495 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
7496 matrix and vector objects. | |
7497 | |
7498 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
7499 return type from second arg type. | |
7500 (MDM_BIN_OP): Likewise, for first arg type. | |
7501 | |
7502 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7503 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
7504 | |
7505 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
7506 request ColumnVector to ComplexColumnVector, and Matrix to | |
7507 ComplexMatrix conversions. | |
7508 | |
7509 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
7510 initial value using ComplexMatrix constructor. | |
7511 | |
7512 * CColVector.cc (product, quotient, | |
7513 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
7514 Fix type of returned value. | |
7515 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
7516 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
7517 | |
7518 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
7519 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
7520 dRowVector.h: Declare some constructors explicit, to disallow | |
7521 potentially problematic automatic type conversions. | |
7522 | |
3580 | 7523 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7524 | |
3582 | 7525 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
7526 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
7527 More new files. | |
7528 * Makefile.in: Add them to the appropriate lists. | |
7529 | |
7530 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
7531 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
7532 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
7533 vx-s-crv.cc:, New files. | |
7534 * Makefile.in: Add them to the appropriate lists. | |
7535 | |
7536 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
7537 Delete scalar by vector and vector by scalar binary ops. | |
7538 | |
3580 | 7539 * MArray-defs.h: More new macros to handle MDiagArray operators. |
7540 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
7541 | |
3573 | 7542 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7543 | |
3578 | 7544 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
7545 rl_event_hook before casting to void **. | |
7546 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
7547 | |
3574 | 7548 * MArray-defs.h: Many new macros to make declaration and |
7549 definition of operators more consistent. | |
7550 | |
7551 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
7552 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 7553 |
3569 | 7554 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7555 | |
3572 | 7556 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
7557 (Matrix::ifourier2d): Likewise. | |
7558 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
7559 (ComplexMatrix::ifourier2d): Likewise. | |
7560 | |
3569 | 7561 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
7562 | |
3504 | 7563 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7564 | |
3519 | 7565 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
7566 readline library. | |
7567 * Makefile.in: Add them to the appropriate lists. | |
7568 | |
7569 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
7570 readline history library. | |
7571 * Makefile.in: Add them to the appropriate lists. | |
7572 | |
3517 | 7573 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
7574 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 7575 (write_doubles): Likewise. |
7576 (read_doubles): Likewise. | |
3517 | 7577 |
3516 | 7578 * oct-env.cc (octave_env::do_polite_directory_format): |
7579 Use operator== and substr method to do limited-length string | |
7580 comparison. | |
7581 | |
3513 | 7582 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 7583 |
3511 | 7584 * Quad.h: Use do_integrate as name of pure virtual function. |
7585 | |
3508 | 7586 * base-de.h: Use tt instead of t as arg names. |
3511 | 7587 Add method with tcrit arg. |
7588 | |
3509 | 7589 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 7590 |
3507 | 7591 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
7592 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
7593 * Quad.cc (quad_fcn_ptr): Ditto. | |
7594 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
7595 | |
3505 | 7596 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 7597 * Makefile.in: Add them to the appropriate lists. |
3505 | 7598 |
7599 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 7600 * Makefile.in: Add them to the appropriate lists. |
3505 | 7601 |
3504 | 7602 * dMatrix.cc (write_int, read_int): No longer declared static. |
7603 | |
7604 * CDiagMatrix.h: Delete decls for friend operators that are | |
7605 handled by MDiagArray2 class. Move others outside class decl and | |
7606 strip friend status. | |
7607 * dDiagMatrix.h: Likewise. | |
7608 | |
7609 * MArray.h: Delete decls for friend operators inside class decl. | |
7610 * MArray2.h: Ditto. | |
7611 * MDiagArray2.h: Ditto. | |
7612 | |
7613 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7614 necessary parameters. Don't allocate memory in the macro. Change | |
7615 all uses. | |
7616 | |
7617 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7618 * CMatrix.h (class ComplexMatrix): Ditto. | |
7619 | |
7620 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7621 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7622 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7623 avoid type conflicts. Change all uses. | |
7624 | |
7625 * strptime.c (__mon_yday): Fix size of array decl. | |
7626 | |
7627 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7628 | |
7629 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7630 default value for second arg. | |
7631 | |
7632 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7633 references to ArrayRep. | |
7634 | |
3503 | 7635 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7636 | |
3504 | 7637 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7638 |
7639 * All source files: Include iostream, fstream, strstream, | |
7640 etc. as needed instead of using forward declarations for these | |
3504 | 7641 classes. Add std:: qualifier as needed. |
3503 | 7642 |
3498 | 7643 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7644 | |
7645 * oct-time.cc: Declare strptime extern "C". | |
7646 | |
3496 | 7647 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7648 | |
7649 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7650 | |
3488 | 7651 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7652 | |
3492 | 7653 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7654 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7655 to get total size to be allocated. | |
7656 | |
3488 | 7657 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7658 as bool, not int. | |
7659 | |
3482 | 7660 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7661 | |
7662 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7663 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7664 as A, even when do_fortran_indexing is not enabled. | |
7665 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7666 | |
3473 | 7667 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7668 | |
3480 | 7669 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7670 function pointer as final arg. Passed function (if any) will be | |
7671 called for singularity errors. | |
7672 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7673 | |
7674 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7675 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7676 | |
3475 | 7677 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7678 No longer bother with infinity or quiet_nan. | |
7679 | |
3473 | 7680 * Array2.cc (Array2<T>::get_size): New function. |
7681 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7682 | |
3472 | 7683 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7684 | |
7685 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7686 New function. | |
7687 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7688 Use it when indexing with one arg instead of faking a second one. | |
7689 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7690 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7691 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7692 rows or columns. | |
7693 | |
7694 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7695 vector that is all true values with a length equal to n as colon | |
7696 equivalent. | |
7697 | |
3470 | 7698 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7699 | |
7700 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7701 | |
5095 | 7702 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7703 |
7704 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7705 operations directly in step 2 and reverse step 2. | |
7706 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7707 operations directly in step 2 and reverse step 2. | |
7708 | |
3465 | 7709 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7710 | |
7711 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7712 | |
7713 * strptime.c: New file, from glibc 2.1.2. | |
7714 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7715 | |
3419 | 7716 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7717 | |
7718 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7719 | |
3415 | 7720 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7721 | |
7722 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7723 NULL directory list returned from kpse_element_dirs | |
7724 | |
3375 | 7725 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7726 | |
7727 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7728 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7729 directly, instead of calling ZGESV. | |
7730 | |
3358 | 7731 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7732 | |
7733 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7734 (string_to_data_type): Use it to improve lookup of data types. | |
7735 | |
3354 | 7736 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7737 | |
7738 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7739 * Array2.h (is_symmetric): Delete declaration. | |
7740 | |
3347 | 7741 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7742 | |
7743 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7744 | |
3344 | 7745 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7746 | |
7747 * oct-time.cc (Fstrftime): Undo previous change. | |
7748 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7749 | |
3334 | 7750 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7751 | |
3336 | 7752 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7753 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7754 | |
3334 | 7755 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7756 Don't forget to pass length of third string argument to dgeesx. | |
7757 | |
7758 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7759 of third string argument to zgeesx. | |
7760 | |
3333 | 7761 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7762 | |
7763 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7764 On errors, simply return `T ()'. | |
7765 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7766 | |
5095 | 7767 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7768 |
7769 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7770 AEPBALANCE class. | |
7771 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7772 | |
3325 | 7773 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7774 | |
7775 * oct-shlib.cc, oct-shlib.h: New files. | |
7776 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7777 | |
3322 | 7778 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7779 | |
7780 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7781 * dRowVector.cc (linspace): Ditto. | |
7782 | |
7783 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7784 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7785 | |
3312 | 7786 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7787 | |
7788 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7789 to evaluate the Jacobian, set info(4), not iwork(4). | |
7790 Set rwork(1) to the maximum step size, not rwork(2). | |
7791 | |
3290 | 7792 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7793 | |
7794 * oct-time.cc: Include <climits>. | |
7795 | |
3281 | 7796 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7797 | |
7798 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7799 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7800 (gnu_readline::do_resize_terminal): New function. | |
7801 | |
3268 | 7802 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7803 | |
7804 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7805 * lo-ieee.c: Likewise. | |
7806 Delete extern "C" declarations for infinity and quiet_nan. | |
7807 | |
3262 | 7808 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7809 | |
3263 | 7810 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7811 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7812 `inline', not `static inline'. | |
7813 | |
3262 | 7814 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7815 then cast to const int * to compare. | |
7816 | |
3257 | 7817 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7818 | |
7819 * DAEFunc.h: Remove useless preprocessor conditional. | |
7820 | |
3255 | 7821 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7822 | |
3257 | 7823 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7824 Use octave_time object instead of time_t. | |
7825 | |
7826 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7827 file_stat::fs_ctime): Now octave_time objects. | |
7828 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7829 Return octave_time objects. | |
7830 (file_stat::is_newer): Args are now octave_time objects instead of | |
7831 time_t. | |
7832 | |
3255 | 7833 * oct-time.h (octave_time::as_double): Delete. |
7834 (octave_time::operator double ()): New function. | |
7835 (octave_time::operator time_t ()): New function. | |
7836 (octave_time::ctime): New function. | |
7837 (octave_base_tm::strftime): Renamed from format_as_string. | |
7838 (octave_base_tm::asctime): New function. | |
7839 (operator == (const octave_time&, const octave_time&), | |
7840 operator != (const octave_time&, const octave_time&), | |
7841 operator < (const octave_time&, const octave_time&), | |
7842 operator <= (const octave_time&, const octave_time&), | |
7843 operator > (const octave_time&, const octave_time&), | |
7844 operator >= (const octave_time&, const octave_time&)): | |
7845 New comparison functions. | |
7846 | |
7847 * strftime.c: Move here from src directory. | |
7848 * Makefile.in (SOURCES): Add it to the list. | |
7849 | |
7850 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7851 | |
3253 | 7852 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7853 | |
7854 * oct-time.h, oct-time.cc: New files. | |
7855 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7856 | |
7857 * systime.h: Move here from src directory. | |
7858 * Makefile.in (INCLUDES): Add it to the list. | |
7859 | |
3248 | 7860 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7861 | |
7862 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7863 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7864 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7865 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7866 | |
7867 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7868 | |
3243 | 7869 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7870 | |
7871 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7872 | |
7873 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7874 | |
7875 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7876 column vector for A(:), for compatibility with Matlab. | |
7877 | |
7878 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7879 | |
7880 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7881 iopt when there are optional inputs in rwork or iwork. | |
7882 | |
3238 | 7883 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7884 | |
7885 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7886 creating static libs. | |
7887 | |
5095 | 7888 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7889 |
7890 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7891 and uint32 data types. | |
7892 | |
7893 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7894 | |
7895 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7896 for Linux. Remove old Linux-specific code. | |
7897 | |
3233 | 7898 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7899 | |
7900 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7901 Don't require lengths to be equal. | |
7902 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7903 ComplexRowVector& a)): Likewise | |
7904 | |
5095 | 7905 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7906 |
7907 * statdefs.h: Only define mode_t if not already defined. | |
7908 | |
5095 | 7909 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7910 |
7911 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7912 when appropriate. | |
7913 | |
7914 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7915 | |
7916 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7917 before calling rl_initialize. | |
7918 | |
3220 | 7919 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7920 | |
7921 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7922 Update Bessel function support to use library by D. E. Amos. | |
7923 | |
3219 | 7924 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7925 | |
7926 * cmd-edit.h (command_editor::readline): Add new variation that | |
7927 allows EOF information to be passed back to caller. | |
7928 | |
7929 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7930 amount of data to read is unspecified. | |
7931 | |
3215 | 7932 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7933 | |
3219 | 7934 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7935 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7936 | |
3215 | 7937 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7938 Add volatile qualifier to void* arg. | |
7939 Cast volatile void* arg to volatile char*. | |
7940 | |
7941 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7942 | |
7943 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7944 (command_editor::do_restore_event_hook): Ditto. | |
7945 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7946 (command_editor::restore_event_hook): Ditto. | |
7947 (gnu_readline::do_set_event_hook): Ditto. | |
7948 (gnu_readline::do_restore_event_hook): Ditto. | |
7949 (gnu_readline::previous_event_hook): New data member. | |
7950 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7951 | |
3206 | 7952 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7953 | |
7954 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7955 | |
7956 * Makefile.in (stmp-pic): New target. | |
7957 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7958 (clean): Remove stmp-pic | |
7959 | |
7960 * Makefile.in: Undo previous change to avoid optmization when | |
7961 compiling lo-ieee.cc. | |
7962 | |
7963 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7964 | |
7965 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7966 imaginary parts. | |
7967 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7968 | |
3203 | 7969 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7970 | |
7971 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7972 | |
3196 | 7973 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7974 | |
7975 * pathsearch.h (dir_path::default_path): New data member. | |
7976 * pathsearch.cc (dir_path::init): Use it. | |
7977 | |
7978 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7979 | |
3189 | 7980 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7981 | |
7982 * chMatrix.cc (charMatrix::extract): New function. | |
7983 (charMatrix::charMatrix (char c)): New constructor. | |
7984 | |
7985 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7986 | |
7987 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7988 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7989 (gnu_readline::do_read_init_file): Likewise. | |
7990 | |
3185 | 7991 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7992 | |
7993 * oct-env.cc (octave_env::do_get_home_directory): | |
7994 If HOME can't be found, set it to "/". | |
7995 (octave_env::do_get_user_name) | |
7996 If user name can't be found, set it to "unknown". | |
7997 (octave_env::do_get_host_name) | |
7998 If host name can't be found, set it to "unknown". | |
7999 | |
8000 * pathsearch.h (dir_path::rehash): New function. | |
8001 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
8002 diretcory cache before doing initialization. | |
8003 | |
3180 | 8004 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8005 | |
3185 | 8006 * dMatrix.cc (Qzval): Delete. |
8007 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
8008 * dMatrix.h (Qzval): Delete declaration. | |
8009 | |
8010 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
8011 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
8012 * mx-ext.h: Don't include dbleGEPBAL. | |
8013 | |
3180 | 8014 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
8015 static_cast. | |
8016 | |
8017 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8018 | |
8019 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
8020 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
8021 | |
8022 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8023 | |
8024 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
8025 HUGE_VAL and NAN. | |
8026 | |
8027 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8028 | |
8029 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8030 Handle x(i) = scalar for do_fortran_indexing == 1. | |
8031 | |
8032 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8033 | |
8034 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
8035 Alloctate space before attempting to use it. | |
8036 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
8037 | |
5095 | 8038 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 8039 |
8040 * EIG.cc (EIG::init): Move invariant code outside loop. | |
8041 | |
8042 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8043 | |
8044 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
8045 have the same size as the operands. | |
8046 | |
8047 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8048 | |
8049 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
8050 call to ddassl, set integration_error to 1 before calling the | |
8051 error handler and returning. | |
8052 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8053 | |
3177 | 8054 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8055 | |
8056 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
8057 do_fortran_indexing is set, A([]) = scalar. | |
8058 * Array-idx.h (assign): Allow A([]) = scalar. | |
8059 | |
3176 | 8060 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8061 | |
8062 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
8063 if dm_nc == 0. | |
8064 | |
3174 | 8065 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8066 | |
8067 * pathsearch.h (dir_path::p_orig): New field. | |
8068 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
8069 expansion on the original path here. | |
8070 (dir_path::find_all): Don't do anything if not initialized. | |
8071 | |
3164 | 8072 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8073 | |
8074 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
8075 is not set. | |
8076 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
8077 | |
8078 * lo-specfun.cc (gammainc): Use dgamit to compute | |
8079 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
8080 \int_0^x exp(-t) t^(a-1) dt. | |
8081 | |
8082 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8083 | |
8084 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
8085 Array-s.cc: Change return types of all `assign' explicit | |
8086 instantiations to be int, not void, to match the template decl in | |
8087 Array.h. | |
8088 | |
3162 | 8089 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8090 | |
8091 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
8092 | |
3156 | 8093 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8094 | |
8095 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
8096 * lo-mappers.cc: Not here. | |
8097 | |
8098 * lo-specfun.h: Declare xgamma and xlgamma here. | |
8099 * lo-mappers.h: Not here. | |
8100 | |
8101 * lo-specfun.h: Never declare gamma or lgamma. | |
8102 | |
3154 | 8103 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8104 | |
8105 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
8106 empty matrix of any dimension. | |
8107 | |
3145 | 8108 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8109 | |
3147 | 8110 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
8111 | |
3146 | 8112 * lo-specfun.cc: Don't include dbleBessel.h. |
8113 | |
8114 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
8115 | |
3145 | 8116 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
8117 * file-stat.h (file_stat::operator bool ()): Likewise. | |
8118 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
8119 * oct-group.h (octave_group::operator bool ()): Likewise. | |
8120 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
8121 | |
8122 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
8123 Don't cast arg in call to swap_8_bytes. | |
8124 (IEEE_big_double_to_IEEE_little_double): Ditto | |
8125 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
8126 swap_4_bytes. | |
8127 (IEEE_little_float_to_IEEE_big_float): Ditto | |
8128 | |
8129 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
8130 * prog-args.cc (prog_args::getopt): Likewise. | |
8131 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
8132 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
8133 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
8134 Likewise. | |
8135 | |
8136 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
8137 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
8138 | |
3141 | 8139 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8140 | |
8141 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
8142 Use $(mk-libdir-link). | |
8143 | |
8144 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
8145 not SAFE_STAT and SAFE_LSTAT. | |
8146 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
8147 * safe-xstat.hin, safe-xstat.cin: Delete. | |
8148 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
8149 safe-lstat.h, and safe-lstat.cc. | |
8150 | |
3136 | 8151 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8152 | |
8153 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
8154 | |
3130 | 8155 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8156 | |
8157 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
8158 trace is negative. | |
8159 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
8160 the real part of the trace is negative. | |
8161 | |
8162 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8163 | |
8164 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
8165 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
8166 | |
8167 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
8168 to succeed. | |
8169 | |
3125 | 8170 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8171 | |
8172 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
8173 (make_uniq): Likewise. | |
8174 | |
8175 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8176 | |
8177 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
8178 | |
3119 | 8179 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8180 | |
3121 | 8181 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
8182 | |
8183 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 8184 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
8185 | |
3121 | 8186 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
8187 oct-math.h: Delete. | |
8188 * Makefile.in (SOURCES): Delete them from the list. | |
8189 | |
3112 | 8190 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8191 | |
8192 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
8193 | |
5095 | 8194 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 8195 |
8196 Changes to make support egcs snapshots that implement explicit | |
8197 specification of template functions according to CD2. | |
8198 | |
8199 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
8200 template function specs for template friends. | |
8201 * MArray2.h: Likewise. | |
8202 * MDiagArray2.h: Likewise. | |
8203 | |
3095 | 8204 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8205 | |
8206 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
8207 | |
3092 | 8208 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
8209 | |
8210 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
8211 to complex<double>(int) instead of complex<double>(double). | |
8212 | |
8213 * lo-mappers.cc (atanh): Ditto. | |
8214 | |
3079 | 8215 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8216 | |
8217 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
8218 * idx-vector.h (idx_vector::sort): Ditto. | |
8219 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
8220 trying to delete elements specified by the index vectors. | |
8221 | |
3075 | 8222 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8223 | |
8224 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
8225 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
8226 | |
3074 | 8227 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8228 | |
8229 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
8230 | |
3069 | 8231 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8232 | |
8233 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
8234 Call error handler if we can't find the current directory. | |
8235 | |
3068 | 8236 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8237 | |
3069 | 8238 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
8239 (xfinite (double)): Ditto. | |
8240 | |
3068 | 8241 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
8242 * CmplxQR.cc (ComplexQR::init): Ditto. | |
8243 | |
3056 | 8244 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8245 | |
8246 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
8247 compatible with Matlab. | |
8248 | |
3050 | 8249 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8250 | |
8251 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
8252 single colon. | |
8253 | |
3040 | 8254 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8255 | |
3049 | 8256 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
8257 (xgamma): Likewise, for calling xdgamma. | |
8258 | |
3042 | 8259 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
8260 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
8261 | |
3040 | 8262 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
8263 to do better job expanding tildes. | |
8264 | |
8265 * str-vec.cc (string_vector::string_vector (const char * const *): | |
8266 Use temporary variable to compute length. | |
8267 | |
3029 | 8268 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8269 | |
3034 | 8270 * Makefile.in: Make building of static library optional. |
3036 | 8271 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 8272 |
3029 | 8273 * Makefile.in (stamp-picdir): Delete. |
8274 (pic): New target. Don't worry so much about creating pic | |
8275 directory only when it is really needed. | |
8276 (stamp-interp): Delete. | |
8277 (libraries): New target. Depend on shared library directly. | |
8278 | |
3024 | 8279 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8280 | |
8281 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
8282 New static function. | |
8283 | |
3012 | 8284 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8285 | |
8286 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
8287 | |
3004 | 8288 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8289 | |
8290 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
8291 set_basic_quote_characters, to match new version of readline. | |
8292 | |
8293 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
8294 for restoring terminal state through rl_deprep_term_function, now | |
8295 declared in readline.h | |
8296 (rl_deprep_terminal): Delete declaration. | |
8297 | |
2993 | 8298 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8299 | |
8300 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
8301 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
8302 | |
2968 | 8303 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8304 | |
8305 * cmd-edit.cc (command_editor::increment_current_command_number): | |
8306 New static function. | |
8307 | |
2964 | 8308 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8309 | |
2966 | 8310 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
8311 the vector is not sorted. | |
8312 | |
2964 | 8313 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
8314 * dMatrix.cc (Matrix::operator !): Likewise | |
8315 | |
2941 | 8316 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8317 | |
8318 * oct-syscalls.h, oct-syscalls.cc: New files. | |
8319 | |
8320 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
8321 | |
8322 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
8323 | |
2938 | 8324 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8325 | |
2941 | 8326 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
8327 (install-inc): Use it. | |
8328 | |
2938 | 8329 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
8330 Handle errors and missing functions consistently. | |
8331 | |
8332 * oct-group.h, oct-group.cc: New files. | |
8333 | |
8334 * oct-passwd.cc: Handle errors and missing functions consistently. | |
8335 | |
8336 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
8337 | |
2934 | 8338 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8339 | |
8340 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
8341 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
8342 | |
8343 * oct-passwd.h, oct-passwd.cc: New files. | |
8344 | |
2926 | 8345 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8346 | |
8347 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
8348 | |
8349 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
8350 (instance_ok ()): New function. | |
8351 | |
8352 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
8353 | |
8354 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
8355 | |
8356 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
8357 src/utils.h and src/utils.cc. | |
8358 (octave_fgets): New function, extracted from src/input.cc. | |
8359 | |
8360 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
8361 GNU readline, and allow Octave to work without GNU readline. | |
8362 | |
8363 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
8364 system-dependent functions. | |
8365 | |
8366 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
8367 | |
8368 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
8369 from file-ops.h and file-ops.cc and move here. | |
8370 | |
8371 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
8372 tilde_expand functions here from src/dirfns.cc. | |
8373 | |
8374 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8375 | |
8376 * pathlen.h: New file, from ../src. | |
8377 | |
2917 | 8378 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8379 | |
8380 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
8381 out-of-bounds indexing of the index array. | |
8382 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
8383 | |
2850 | 8384 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8385 | |
8386 * LSODE.h (x_step_limit): New field. | |
8387 (LSODE_options::init): Initialize it. | |
8388 (LSODE_options::copy): Copy it. | |
8389 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
8390 New functions. | |
8391 (LSODE::working_too_hard): Delete. | |
8392 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
8393 | |
2844 | 8394 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8395 | |
8396 * MArray-b.cc: Delete. | |
8397 * Makefile.in: Delete it from the lists. | |
8398 | |
8399 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
8400 MArray2, since most of the numeric ops don't really make sense. | |
8401 | |
2829 | 8402 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8403 | |
2832 | 8404 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
8405 | |
8406 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
8407 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
8408 | |
2830 | 8409 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
8410 idx_vector::freeze): Delete prefer_zero_one arg. | |
8411 * Array-idx.h, Array2-idx.h: Change all callers. | |
8412 | |
8413 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
8414 | |
2829 | 8415 * mx-op-defs.h: New file for operator definitions. |
8416 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
8417 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
8418 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
8419 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
8420 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
8421 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
8422 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
8423 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
8424 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
8425 mx-s-cm.cc, mx-s-dm.cc: | |
8426 New files for mixed-type operations. | |
8427 * Makefiles.in: Add them to the appropriate lists. | |
8428 | |
8429 * mx-inlines.cc: Add bool by bool EQ ops. | |
8430 | |
8431 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
8432 boolMatrix types. | |
8433 (idx_vector::maybe_convert_one_zero_to_idx, | |
8434 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
8435 Delete second arg, prefer_zero_one. Change all callers. | |
8436 | |
8437 * boolMatrix.h, boolMatrix.cc: New files. | |
8438 * mx-base.h: Include boolMatrix.h here. | |
8439 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
8440 | |
8441 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
8442 | |
8443 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
8444 operator-, operator*, product, and quotient functions. | |
8445 Add constructor for boolMatrix type. | |
8446 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
8447 product, and quotient functions. | |
8448 | |
8449 * CDiagMatrix.h: Delete friend declarations for operator+, | |
8450 operator-, and product functions. | |
8451 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
8452 | |
8453 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
8454 | |
2815 | 8455 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8456 | |
8457 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
8458 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
8459 (EIG::symmetric_init (const Matrix&)): New function. | |
8460 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
8461 | |
8462 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
8463 | |
8464 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8465 | |
8466 * Array2.cc (is_symmetric): New function. | |
8467 * Array2.h (is_square): New function. | |
8468 | |
2811 | 8469 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8470 | |
8471 * Makefile.in (install-strip): New target. | |
8472 | |
2804 | 8473 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8474 | |
8475 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8476 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
8477 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8478 dbleSVD.cc: Don't include mx-inlines.cc. | |
8479 | |
8480 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
8481 duplicate code. | |
8482 | |
2800 | 8483 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8484 | |
2804 | 8485 * dbleQR.h (QR): Delete extra comma at end of list. |
8486 | |
8487 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
8488 | |
8489 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
8490 | |
8491 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
8492 idx_vecotr_rep:: qualifiers. | |
8493 | |
8494 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
8495 | |
8496 * data-conv.h (save_type): Delete extra comma at end of list. | |
8497 | |
2800 | 8498 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
8499 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
8500 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
8501 old C-style `(T) val' casts. | |
8502 | |
2795 | 8503 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8504 | |
8505 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
8506 just breaking out of the innermost loop. | |
8507 * CMatrix.cc (operator >>): Likewise. | |
8508 | |
2779 | 8509 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 8510 |
8511 * Version 2.0.5 released. | |
8512 | |
2767 | 8513 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8514 | |
8515 * CmplxQR.cc (ComplexQR::init): New function. | |
8516 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
8517 * CmplxQRP.cc (ComplexQRP::init): New function. | |
8518 Get sizes right in all cases. | |
8519 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
8520 | |
8521 * dbleQR.cc (QR::init): New function. | |
8522 (QR::QR): Use it. Use initializer list too. | |
8523 * dbleQRP.cc (QRP::init): New function. | |
8524 Get sizes right in all cases. | |
8525 (QR::QRP): Use it. Use initializer list too. | |
8526 | |
2759 | 8527 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8528 | |
8529 * mach-info.cc (oct_mach_info::string_to_float_format): | |
8530 Recognize "vaxg", not "vax_g". | |
8531 | |
2713 | 8532 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8533 | |
2714 | 8534 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
8535 dimension in check for colon equivalent index. | |
8536 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
8537 index whose value is 0 is also colon eqivalent for n == 1. | |
8538 | |
2713 | 8539 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
8540 system-specific tests first. | |
8541 | |
2709 | 8542 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 8543 |
8544 * Version 2.0.4 released. | |
8545 | |
8546 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8547 | |
8548 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
8549 | |
2693 | 8550 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 8551 |
8552 * Version 2.0.3 released. | |
8553 | |
2686 | 8554 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8555 | |
8556 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
8557 | |
2673 | 8558 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8559 | |
2676 | 8560 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
8561 (all): Don't depend on stamp-prereq or stamp-picdir. | |
8562 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
8563 (stamp-picdir): Silence noise about making pic. | |
8564 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
8565 | |
2673 | 8566 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
8567 Fix typo in last change. | |
8568 | |
8569 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
8570 Convert from friend (moved from dColVector.cc). | |
8571 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
8572 Likewise (moved from dMatrix.cc). | |
8573 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
8574 Likewise (moved from dRowVector.cc). | |
8575 | |
8576 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
8577 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
8578 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
8579 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
8580 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
8581 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
8582 | |
8583 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
8584 * dMatrix.cc (Matrix::apply): Likewise. | |
8585 * dRowVector.cc (RowVector::apply): Likewise. | |
8586 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
8587 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
8588 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
8589 | |
2668 | 8590 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8591 | |
8592 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
8593 | |
8594 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8595 | |
8596 * file-ops.cc (oct_unlink (const string&, string&)): | |
8597 New two-arg version. | |
8598 (oct_rmdir (const string&, string&)): New two-arg version. | |
8599 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
8600 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
8601 (oct_rename (const string&, const string&, string&)): | |
8602 New three-arg version. | |
8603 | |
2663 | 8604 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8605 | |
8606 * idx-vector.h (idx_vector::orig_empty): New function. | |
8607 | |
8608 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
8609 Don't always resize to [](0x0) if one of the indices is empty or | |
8610 zero. | |
8611 | |
2658 | 8612 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8613 | |
8614 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8615 Set line_in_file here too. | |
8616 (command_history::read_range): New arg, must_exist. | |
8617 | |
2651 | 8618 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8619 | |
8620 * f2c-main.c: Change C++-style comments to C-style comments. | |
8621 | |
2638 | 8622 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8623 | |
8624 * Makefile.in (install-inc): Create a relative symbolic link. | |
8625 | |
2634 | 8626 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8627 | |
8628 * Version 2.0.2 released. | |
8629 | |
2624 | 8630 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8631 | |
8632 * Makefile.in (bin-dist): New target. | |
8633 | |
2621 | 8634 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8635 | |
8636 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8637 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8638 | |
2613 | 8639 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8640 | |
8641 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8642 If the number of columns is zero, also set the number of rows to zero. | |
8643 (charMatrix::charMatrix (const char *)): Likewise. | |
8644 | |
2602 | 8645 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8646 | |
8647 * Version 2.0.1 released. | |
8648 | |
2601 | 8649 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8650 | |
8651 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8652 columns for resizing when the number of rows is specified but the | |
8653 number of columns is not. | |
8654 | |
2598 | 8655 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8656 | |
2599 | 8657 * Range.cc (operator -): New function. |
8658 | |
2598 | 8659 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8660 | |
2589 | 8661 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8662 | |
8663 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8664 know if the assignment conforms. | |
8665 | |
2583 | 8666 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8667 | |
8668 * Version 2.0 released. | |
8669 | |
2570 | 8670 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8671 | |
2575 | 8672 * Array2-idx.h (assign): If index is a colon, set number of |
8673 elements to the lhs dimension if the lhs dimension is greater than | |
8674 zero. Otherwise, set it to the rhs dimension. | |
8675 | |
8676 * Version 1.94. | |
8677 | |
2570 | 8678 * Array2-idx.h (assign): Test for rhs scalar case first. |
8679 If index is colon, set number of elements to lhs dimension, not | |
8680 rhs dimension. | |
8681 | |
2563 | 8682 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8683 | |
2566 | 8684 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8685 * sun-utils.cc: Delete. | |
8686 * f2c-main.c: New file | |
8687 | |
8688 * Makefile.in: Fix file name lists. | |
8689 | |
2563 | 8690 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8691 | |
2561 | 8692 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8693 | |
8694 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8695 Create result using Complex constructor, not multiplication. | |
8696 Order elements as they are returned from Eispack. | |
8697 | |
2559 | 8698 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8699 | |
2560 | 8700 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8701 Only include nan.h if SCO is defined. Define _IEEE before | |
8702 including it and undefine it afterward. | |
8703 [SCO] (isnan): Don't mistake Inf as NaN. | |
8704 | |
2559 | 8705 * Array-idx.h (assign): Only resize if assignment conforms. |
8706 | |
2551 | 8707 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8708 | |
8709 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8710 * lo-error.h: Delete (moved to libcruft/misc). | |
8711 | |
8712 * Version 1.93. | |
8713 | |
2546 | 8714 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8715 | |
2549 | 8716 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8717 be the same as they are in fnmatch.h. | |
8718 | |
2546 | 8719 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8720 | |
8721 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8722 (SOURCES): Delete f77-fcn.c. | |
8723 | |
2522 | 8724 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8725 | |
8726 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8727 | |
2512 | 8728 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8729 | |
8730 * Version 1.92. | |
8731 | |
2508 | 8732 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8733 | |
2512 | 8734 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8735 lines that have only carriage return or newline. | |
8736 | |
2508 | 8737 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8738 | |
2500 | 8739 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8740 | |
8741 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8742 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8743 | |
2493 | 8744 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8745 | |
8746 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8747 from vectors of C strings. | |
8748 | |
8749 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8750 vector. | |
8751 (glob_match::match): Allow match string to be a string vector. | |
8752 (glob_match::glob): New function. | |
8753 | |
8754 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8755 | |
8756 * Array-b.cc: New file. | |
8757 * Makefile.in (TI_SRC): Add it to the list. | |
8758 | |
2492 | 8759 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8760 | |
8761 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8762 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8763 want the version from the build directory. (Maybe this should be | |
8764 done for all the include files, not just those that are | |
8765 auto-generated? Hmm.) | |
8766 | |
2481 | 8767 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8768 | |
2482 | 8769 * Version 1.91. |
8770 | |
2481 | 8771 * Array3.cc (Array3<T>::resize): Make it work. |
8772 | |
8773 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8774 | |
8775 * oct-alloc.h, oct-alloc.cc: New files. | |
8776 * Makefile.in: Add them to the lists. | |
8777 | |
8778 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8779 | |
8780 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8781 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8782 | |
2466 | 8783 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8784 | |
8785 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8786 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8787 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8788 underlying macro is not defined. | |
8789 | |
8790 * oct-math.h (lgamma, gamma): Delete declarations. | |
8791 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8792 Protect declarations with #ifdef HAVE_*. | |
8793 | |
2440 | 8794 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8795 | |
2452 | 8796 * Version 1.90. |
8797 | |
8798 * Makefile.in (DISTFILES): Add ChangeLog. | |
8799 | |
2444 | 8800 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8801 | |
8802 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8803 | |
2443 | 8804 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8805 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8806 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8807 |
2440 | 8808 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8809 since that is now accepatble syntax, even for built-in types. | |
8810 * Array2.h (T Array2<T>::checkelem): Likewise | |
8811 | |
2433 | 8812 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8813 | |
8814 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8815 message and return -1. | |
8816 | |
2428 | 8817 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8818 | |
2431 | 8819 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8820 cast them to const string * in the body of the function. | |
8821 | |
8822 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8823 string from buf. | |
8824 | |
2428 | 8825 * Array3.h (Array3::checkelem): Tag bogus return value with |
8826 GCC_ATTRIBUTE_UNUSED. | |
8827 * Array2.h (Array2::checkelem): Likewise. | |
8828 | |
2424 | 8829 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8830 | |
8831 * Quad.h (Quad): Define virtual destructor. | |
8832 | |
2408 | 8833 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8834 | |
8835 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8836 | |
2401 | 8837 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8838 | |
8839 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8840 and MAIN__ extern "C". | |
8841 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8842 | |
2391 | 8843 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8844 | |
8845 * MArray-misc.cc: New file. | |
8846 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8847 | |
8848 * mx-inlines.cc (equal): Return bool, not int. | |
8849 | |
8850 * idx-vector.h (idx_vector (double)): New constructor. | |
8851 | |
8852 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8853 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8854 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8855 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8856 CRowVector.cc: Logical operators return bool, not int. | |
8857 | |
8858 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8859 New function. | |
8860 | |
8861 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8862 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8863 Matrix::all_elements_are_inf_or_nan): New functions. | |
8864 | |
8865 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8866 | |
8867 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8868 for errors. Simplify macros by converting FCN to string for error | |
8869 messages. | |
8870 | |
8871 * Array-idx.h (Array<T>::index): New function. Don't call | |
8872 clear_index() here. | |
8873 (Array<T>::value): Call it, do call clear_index() here. | |
8874 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8875 one and two arg index functions. | |
8876 | |
8877 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8878 | |
8879 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8880 separate implementation file. | |
8881 | |
2354 | 8882 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8883 | |
2358 | 8884 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8885 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8886 | |
2356 | 8887 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8888 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8889 them uniq. | |
8890 | |
2354 | 8891 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8892 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8893 Rewrite. Also return index as a reference arg. | |
8894 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8895 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8896 Delete. | |
8897 | |
8898 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8899 Matrix::column_max, Matrix::column_min): | |
8900 Rewrite. Also return index as a reference arg. | |
8901 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8902 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8903 | |
8904 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8905 | |
8906 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8907 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8908 Matrix::column_min_loc, Matrix::column_max, | |
8909 Matrix::column_max_loc): Ignore leading NaNs. | |
8910 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8911 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8912 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8913 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8914 leading NaNs. | |
8915 | |
2352 | 8916 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8917 | |
8918 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8919 starting at n, not 0. | |
8920 | |
2349 | 8921 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8922 | |
8923 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8924 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8925 | |
8926 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8927 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8928 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8929 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8930 New constructors. | |
8931 | |
8932 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8933 New constructor. | |
8934 | |
2343 | 8935 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8936 | |
8937 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8938 derivative vectors are the same size. | |
2344 | 8939 * DASSL.cc (do_integrate): Likewise. |
2343 | 8940 |
2330 | 8941 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8942 | |
8943 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8944 iostreams and handler data format conversions. Delete old methods | |
8945 that used stdio. | |
8946 | |
8947 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8948 | |
8949 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8950 | |
8951 * mach-info.h: Rename from float-fmt.h. | |
8952 * mach-info.cc: Rename from float-fmt.cc. | |
8953 Handle machine information using a singlton class. | |
8954 * Makefile.in: Update appropriate lists. | |
8955 | |
8956 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8957 | |
8958 * Array-flags.cc: Provide definitions for the flags even if | |
8959 OCTAVE_SOURCE is not defined. | |
8960 | |
8961 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8962 operator(), not elem(). | |
8963 * Array3.h: Move indexing methods here from Array3.cc. | |
8964 | |
8965 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8966 | |
8967 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8968 | |
8969 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8970 INSTALL_DATA for shared libs. | |
8971 | |
8972 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8973 | |
8974 * Quad.cc: Include lo-error.h here too. | |
8975 | |
8976 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8977 | |
8978 * file-ops.h: Include sys/types.h here. | |
8979 | |
8980 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8981 | |
8982 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8983 | |
8984 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8985 elements in result. | |
8986 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8987 rows and columns in result. | |
8988 | |
8989 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8990 | |
8991 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8992 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8993 | |
8994 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8995 | |
8996 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8997 | |
8998 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8999 | |
9000 * Makefile.in (uninstall): Also delete shared library. | |
9001 Split install into install-libs and install-includes. | |
9002 (install-inc): If linkdir is a directory, leave it alone. | |
9003 | |
9004 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
9005 | |
9006 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9007 | |
9008 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
9009 * Array2-idx.h (assign): Likewise. | |
9010 | |
9011 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9012 | |
9013 * Array2.cc (Array2<T>::range_error): New functions. | |
9014 | |
9015 * Array.h (class Array<T>): elem() and operator() are now | |
9016 equivalent, and do bounds checking by default. | |
9017 * Array2.cc (class Array2<T>): Likewise. | |
9018 | |
9019 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9020 | |
9021 * Makefile.in (maintainer-clean, distclean): Also delete | |
9022 stamp-picdir, stamp-shared, and pic directory. | |
9023 (stamp-prereq): New target. | |
9024 | |
9025 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9026 | |
9027 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
9028 New function. | |
9029 | |
9030 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
9031 * Array.h (Array<T>::checkelem): Use them. | |
9032 | |
9033 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
9034 elements too. | |
9035 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
9036 | |
9037 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
9038 | |
9039 * Makefile.in (distclean): Delete so_locations, which is created | |
9040 on DEC Alpha systems. | |
9041 | |
9042 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9043 | |
9044 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
9045 already defined. | |
9046 | |
9047 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9048 | |
9049 * pathsearch.cc: Include config.h. | |
9050 | |
9051 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9052 | |
9053 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
9054 allow M(I, J) = scalar if I or J is empty. | |
9055 | |
9056 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
9057 and Array3-idx.h). | |
9058 | |
9059 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9060 | |
9061 * lo-error.h: Make comments C friendly. | |
9062 | |
9063 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9064 | |
9065 * Array2.h (make_unique): Move all indexing functions here. | |
9066 * Array2.cc: From here. | |
9067 | |
9068 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
9069 whether operator() calls elem or checkelem. | |
9070 | |
9071 * Array.h (make_unique): New private function. | |
9072 Move all indexing functions here. | |
9073 * Array.cc: From here. | |
9074 | |
9075 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
9076 it too. | |
9077 | |
9078 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
9079 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
9080 MArray-C.cc: Include config.h. | |
9081 | |
9082 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
9083 Don't define HEAVYWEIGHT_INDEXING here. | |
9084 | |
9085 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9086 | |
9087 * base-lu.h, base-lu.cc: New files. | |
9088 * Makefile.in: Add them to the appropriate lists. | |
9089 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
9090 | |
9091 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9092 | |
9093 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
9094 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
9095 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
9096 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
9097 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9098 | |
9099 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
9100 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
9101 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
9102 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
9103 Simplify using new macros. | |
9104 | |
9105 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9106 | |
9107 * Makefile.in (install): If $(includedir) ends in version string, | |
9108 make link to name that does not include version info. | |
9109 | |
9110 * lo-ieee.cc: Include <cmath> here. | |
9111 | |
9112 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9113 | |
9114 * lo-ieee.cc, lo-ieee.h: New files. | |
9115 * lo-mappers.cc, lo-mappers.h: New files. | |
9116 * lo-utils.cc, lo-utils.h: New files. | |
9117 * Makefile.in: Add them to the appropriate lists. | |
9118 | |
9119 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9120 | |
9121 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
9122 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
9123 | |
9124 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
9125 float-fmt.cc: New files. | |
9126 * Makefile.in: Include them in the appropriate lists. | |
9127 | |
9128 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9129 | |
9130 * dMatrix.cc (Qzval): New function. | |
9131 | |
9132 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9133 | |
9134 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
9135 char*. | |
9136 | |
9137 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
9138 Use F77_XFCN to call Fortran subroutine. | |
9139 * dColVector.cc, CColVector.cc: Likewise. | |
9140 * dRowVector.cc, CRowVector.cc: Likewise. | |
9141 * NPSOL.h, NPSOL.cc: Likewise. | |
9142 * CmplxCHOL.cc: Likewise. | |
9143 * dbleCHOL.cc: Likewise. | |
9144 * CMatrix.cc: Likewise. | |
9145 * dMatrix.cc: Likewise. | |
9146 * QPSOL.cc: Likewise. | |
9147 * LSODE.cc: Likewise. | |
9148 | |
9149 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9150 | |
9151 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
9152 | |
9153 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
9154 workspace. Use F77_XFCN to call Fortran subroutine. | |
9155 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
9156 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
9157 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
9158 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
9159 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
9160 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
9161 * dbleHESS.h, dbleHESS.cc: Likewise. | |
9162 * dbleSVD.h, dbleSVD.cc: Likewise. | |
9163 * EIG.h, EIG.cc; Likewise. | |
9164 * CollocWt.cc: Likewise. | |
9165 * NLEqn.cc: Likewise. | |
9166 * Quad.cc: Likewise. | |
9167 | |
9168 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9169 | |
9170 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
9171 Use F77_XFCN to call Fortran subroutine. | |
9172 * CmplxLU.h, CmplxLU.cc: Ditto. | |
9173 * dbleQR.h, dbleQR.cc: Ditto. | |
9174 * CmplxQR.h, CmplxQR.cc: Ditto. | |
9175 * dbleQRP.h, dbleQRP.cc: Ditto. | |
9176 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
9177 | |
9178 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
9179 (struct DIR): delete forward declaration. | |
9180 (dir_entry::operator = (const dir_entry$)): Protect against | |
9181 copying same object. | |
9182 * dir-ops.cc: Cast dir appropriately. | |
9183 | |
9184 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9185 | |
9186 * lo-error.cc: Moved to libcruft/misc. | |
9187 * Makefile.in: Delete it from the list. | |
9188 | |
9189 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
9190 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
9191 | |
9192 * Array-flags.h: New file. | |
9193 * Array-idx.h: Include it here. | |
9194 * Makefile.in (MATRIX_INC): Add it to the list. | |
9195 | |
9196 * Array-flags.cc: Renamed from Array-ext.cc. | |
9197 (liboctave_dfi_flag): Renamed from dfi_flag. | |
9198 (liboctave_pcv_flag): Renamed from pcv_flag. | |
9199 (liboctave_pzo_flag): Renamed from pzo_flag. | |
9200 (liboctave_rre_flag): Renamed from rre_flag. | |
9201 * Array-idx.h: Change all uses of dfi_flag, etc. | |
9202 * Makefile.in (MATRIX_SRC): Change file name here too. | |
9203 | |
9204 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
9205 (stamp-shared): Use them here. | |
9206 | |
9207 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9208 | |
9209 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
9210 argument value. | |
9211 | |
9212 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9213 | |
9214 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
9215 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
9216 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
9217 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
9218 Clean up constructors, assigment operator. | |
9219 | |
9220 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9221 | |
9222 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
9223 Check f77_exception_encountered on return. | |
9224 | |
9225 * f77-fcn.c (f77_exception_encountered): New variable. | |
9226 (F77_XFCN): Set it. | |
9227 * f77-fcn.h: Provide declaration. | |
9228 | |
9229 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
9230 | |
9231 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
9232 | |
9233 * NLEqn.h (NLEqn_options::set_options): New function. | |
9234 * Quad.h (Quad_options::set_options): Likewise. | |
9235 | |
9236 * LP.h (class LP): Add accessors for LP data. | |
9237 | |
9238 * NLEqn.h (NLEqn::n): Delete. | |
9239 | |
9240 * NLEqn.h (class NLEqn::n): Likewise. | |
9241 | |
9242 * NLP.h (class NLP): Add accessors for NLP data. | |
9243 | |
9244 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
9245 access functions here. | |
9246 * NPSOL.cc.cc: From here. | |
9247 | |
9248 * QLD.h (class QLD): Add destructor definition. | |
9249 * Objective.h (class Objective): Likewise. | |
9250 * ODEFunc.h (class ODEFunc): Likewise. | |
9251 * NLFunc.h (class NLFunc): Likewise. | |
9252 * NLEqn.h (class NLEqn): Likewise. | |
9253 * NLConst.h (class NLConst): Likewise. | |
9254 * LinConst.h (class LinConst): Likewise. | |
9255 * LSODE.h (class LSODE_options): Likewise. | |
9256 * CollocWt.h (class CollocWt): Likewise. | |
9257 * Bounds.h (class Bounds): Likewise. | |
9258 | |
9259 * QLD.cc (QLD::set_default_options): Delete. | |
9260 | |
9261 * QP.h (QP): Add accessors for QP data. | |
9262 Add copy constructor, operator =, and destructor definitions. | |
9263 | |
9264 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
9265 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
9266 DAEFunc.h, CollocWt.h, Bounds.h: | |
9267 Clean up constructors, assigment operator. | |
9268 | |
9269 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
9270 counting to avoid duplicating the data immediately. | |
9271 * dColVector.cc (ColumnVector::transpose): Likewise. | |
9272 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
9273 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
9274 | |
9275 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9276 | |
9277 * prog-args.h (prog_args::option_argument): New enum. | |
9278 | |
9279 * f77-fcn.h: Rename from f77-uscore.h. | |
9280 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
9281 * f77-fcn.c: New file. | |
9282 * Makefile.in (SOURCES): Add it to the list. | |
9283 | |
9284 * ODEFunc.h: Clean up. | |
9285 | |
9286 * DASSL.cc, DASSL.h: New files. | |
9287 * Makefile.in: Add them to the appropriate lists. | |
9288 | |
9289 * LSODE.cc, LSODE.h: New files. | |
9290 * Makefile.in: Add them to the appropriate lists. | |
9291 | |
9292 * ODE.cc: Delete. | |
9293 * Makefile.in (SOURCES): Remove from list. | |
9294 | |
9295 * base-de.h, DAE.cc: New files. | |
9296 * Makefile.in: Add them to the appropriate lists. | |
9297 * ODE.h: Only define interface for ODE classes. | |
9298 * DAE.h: Only define interface for ODE classes. | |
9299 | |
9300 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
9301 (LPsolve::set_default_options)): Delete | |
9302 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
9303 destructor. | |
9304 | |
9305 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
9306 | |
9307 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
9308 (QPSOL::operator =): Call base class operator = instead of assuming | |
9309 we know what to copy. | |
9310 | |
9311 * base-min.h (size): New function. | |
9312 | |
9313 * NLP.h (NLP::size): Delete. | |
9314 (NLP::NLP (const NLP&)): New constructor. | |
9315 (NLP::operator =): Call base class operator = instead of assuming | |
9316 we know what to copy. | |
9317 | |
9318 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
9319 (class NPSOL): Add operator = and destructor. | |
9320 | |
9321 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
9322 | |
9323 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9324 | |
9325 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
9326 | |
9327 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9328 | |
9329 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
9330 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
9331 | |
9332 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9333 | |
9334 * prog-args.h, prog-args.cc: New files. | |
9335 * Makefile.in: Add them to lists. | |
9336 | |
9337 * getopt.h, getopt.c, getopt1.c: New files. | |
9338 * Makefile.in: Add them to the lists. | |
9339 | |
9340 * oct-term.h, oct-term.cc: New files. | |
9341 * Makefile.in: Add them to the lists. | |
9342 | |
9343 * str-vec.cc: New file. | |
9344 * Makefile.in (SOURCES): Add it to the list. | |
9345 | |
9346 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
9347 | |
9348 * tempname.c, tempnam.c: Move here from src directory. | |
9349 * Makefile.in: Add to lists. | |
9350 | |
9351 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9352 | |
9353 * cmd-hist.h, cmd-hist.cc: New files. | |
9354 * Makefile.in: Add them to lists. | |
9355 | |
9356 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9357 | |
9358 * oct-glob.h, oct-glob.cc: New files. | |
9359 * Makefile.in: Add them to lists. | |
9360 | |
9361 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9362 | |
9363 * pathsearch.h, pathsearch.cc: New files. | |
9364 * Makefile.in: Add them to lists. | |
9365 | |
9366 * dir-ops.h, dir-ops.cc: New files. | |
9367 * sysdir.h: Move here from src directory. | |
9368 * Makefile.in: Add them to lists. | |
9369 | |
9370 * Array.h (Array::qsort): Return *this, not void. | |
9371 * str-vec.h (string_vector::qsort): Likewise. | |
9372 | |
9373 * chMatrix.cc (row_as_string): Resize result to eliminate | |
9374 unnecessary NULs. | |
9375 | |
9376 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9377 | |
9378 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
9379 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
9380 Files moved here from src directory. | |
9381 * Makefile.in: Add them to lists. Include appropriate rules. | |
9382 | |
9383 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9384 Use pointers, not references (this is C code!). | |
9385 | |
9386 * oct-math.h: New file. | |
9387 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9388 Files moved here from src directory. | |
9389 * Makefile.in: Add them to lists. | |
9390 | |
9391 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9392 | |
9393 * idx-vector.cc (make_uniq): Fix major brain-o. | |
9394 | |
9395 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
9396 Convert to use string class instead of char*. | |
9397 | |
9398 * str-vec.h, Array-str.cc: New files. | |
9399 | |
9400 * Array.h (Array::qsort): New function. | |
9401 | |
9402 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9403 | |
9404 * Array.h: Nest ArrayRep class inside Array class. | |
9405 Refer to ArrayRep, not ArrayRep<T>. | |
9406 Move all ArrayRep functions inline. | |
9407 Don't declare other Array classes as friends of ArrayRep. | |
9408 * Array.cc: Delete ArrayRep functions. | |
9409 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
9410 | |
9411 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
9412 Don't instantiate ArrayRep objects. | |
9413 | |
9414 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9415 | |
9416 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9417 New constructor. | |
9418 | |
9419 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9420 | |
9421 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
9422 for balance_job arg. | |
9423 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
9424 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
9425 | |
9426 * chMatrix.cc (row_as_string): Return string, not const char*. | |
9427 | |
9428 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9429 | |
9430 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
9431 | |
9432 * chMatrix.cc (row_as_string): Undo previous change. | |
9433 | |
9434 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9435 | |
9436 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
9437 is expected to save string if necessary. | |
9438 | |
9439 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9440 | |
9441 * Array.h (class DiagArray): Enable nested Proxy class for all | |
9442 platforms. | |
9443 | |
9444 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
9445 a.rep, don't mess with count. | |
9446 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
9447 don't do anything if reps are the same. | |
9448 (Array3<T>& operator = (const Array3<T>&) | |
9449 | |
9450 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
9451 Declare private with no definition to prevent misuse. | |
9452 | |
9453 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
9454 Get range check right. | |
9455 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
9456 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
9457 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9458 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
9459 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
9460 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
9461 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9462 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
9463 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
9464 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
9465 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
9466 * dColVector.cc | |
9467 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9468 * CRowVector.cc | |
9469 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
9470 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
9471 * CColVector.cc | |
9472 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9473 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
9474 | |
9475 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
9476 Also fill in zeros, not just the diagonal. | |
9477 | |
9478 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
9479 Use END parameter properly. | |
9480 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
9481 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
9482 | |
9483 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
9484 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
9485 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
9486 Don't copy count. Set it to 1. | |
9487 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
9488 | |
9489 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
9490 don't set rep->count to 1 here (now handled by ArrayRep | |
9491 constructors). | |
9492 (Array<T>::Array (void)): Ditto. | |
9493 (Array<T>::Array (int)): Ditto. | |
9494 (Array<T>::T& elem (int)): Ditto. | |
9495 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
9496 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
9497 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
9498 (Array<T>::resize (int)): Ditto. | |
9499 (Array<T>::resize (int, const T&)) :Ditto. | |
9500 (Array<T>::fortran_vec (void)): Ditto. | |
9501 (Array2<T>::resize (int, int)): Ditto. | |
9502 (Array2<T>::resize (int, int, const T&)): Ditto. | |
9503 (DiagArray<T>::resize (int, int)): Ditto. | |
9504 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
9505 | |
9506 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9507 | |
9508 * Array-ch.cc: Rename from Array-c.cc. | |
9509 * MArray-ch.cc: Rename from MArray-c.cc. | |
9510 * chMatrix.cc: Rename from cMatrix.cc. | |
9511 * chMatrix.h: Rename from cMatrix.h. | |
9512 * Makefile.in (TI_SRC): Use new names here. | |
9513 * mx-base.h: Likewise. | |
9514 | |
9515 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9516 | |
9517 * Makefile.in: Handle shared libraries. | |
9518 | |
9519 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9520 | |
9521 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
9522 Correctly compute length of return value. Correct rows and | |
9523 columns in zgemv call. | |
9524 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
9525 | |
9526 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9527 | |
9528 * Makefile.in (stamp-picdir): New target. | |
9529 (all): Depend on it. | |
9530 | |
9531 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9532 | |
9533 * Makefile.in (INCLUDES): Remove QLD.h. | |
9534 (SOURCES): Remove QLD.cc. | |
9535 | |
9536 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9537 | |
9538 * dMatrix.cc (Matrix::inverse): New arg, force. | |
9539 If force is nonzero, invert even if matrix is singular. | |
9540 (ComplexMatrix::inverse): Likewise. | |
9541 | |
9542 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
9543 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
9544 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
9545 Include "oct-cmplx.h" instead of <Complex.h>. | |
9546 | |
9547 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
9548 for class Complex. | |
9549 | |
9550 * oct-cmplx.h: New file. | |
9551 * Makefile.in (INCLUDES): Add it to the list. | |
9552 | |
9553 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
9554 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
9555 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
9556 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
9557 Avoid g++ bugs. | |
9558 | |
9559 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9560 | |
9561 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
9562 | |
9563 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
9564 | |
9565 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9566 | |
9567 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
9568 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
9569 | |
9570 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9571 | |
9572 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
9573 index vector object with Array, not ArrayRep. | |
9574 | |
9575 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9576 | |
9577 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
9578 if index is a colon and resizing is maybe needed. | |
9579 | |
9580 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9581 | |
9582 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
9583 if we have a vector of 1's. | |
9584 | |
9585 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
9586 current orientation, require index and rhs to conform unless | |
9587 do_fortran_indexing flag is set. | |
9588 | |
9589 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9590 | |
9591 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
9592 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
9593 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
9594 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
9595 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
9596 Massive changes to support additional data types. Only charMatrix | |
9597 is currently used in Octave. | |
9598 | |
9599 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9600 | |
9601 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
9602 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
9603 Simply call Array2<Complex> version. | |
9604 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
9605 call Array2<double> version. | |
9606 | |
9607 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
9608 | |
9609 * Array.h, Array.cc: Massive overhaul to support new way of | |
9610 handling indexing. | |
9611 * idx-vector.h, idx-vector.cc: Likewise. | |
9612 * Array-ext.cc, Array-idx.h: New files. | |
9613 * Makefile.in: Add them to the appropriate lists. | |
9614 | |
9615 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9616 | |
9617 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9618 | |
9619 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9620 | |
9621 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9622 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9623 | |
9624 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9625 | |
9626 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9627 | |
9628 * Array.h: Move simple member functions here. | |
9629 * Array.cc: From here. | |
9630 | |
9631 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9632 | |
9633 * Range.cc (tfloor, tceil, round): New static functions. | |
9634 (Range::nelem_internal): Rewrite to use better method. | |
9635 | |
9636 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9637 (type_computed): New var. | |
9638 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9639 Handle possible error condition. | |
9640 (init): Allow for SVD::sigma_only, save type computed. | |
9641 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9642 Handle possible error condition. | |
9643 (init): Allow for SVD::sigma_only, save type computed. | |
9644 | |
9645 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9646 | |
9647 * Nearly all non-matrix .h and .cc files: | |
9648 Move short function bodies into class declarations for inlining. | |
9649 Generally clean up. | |
9650 | |
9651 * base-min.h: New file. | |
9652 * LP.h (class LP): Derive from base_minimizer. | |
9653 * QLP.h (class QLP): Derive from base_minimizer. | |
9654 * NLP.h (class NLP): Derive from base_minimizer. | |
9655 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9656 | |
9657 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9658 NLFunc.cc, Objective.cc and QP.cc from list. | |
9659 | |
9660 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9661 | |
9662 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9663 (SCHUR::SCHUR): Delete unused parameter ord. | |
9664 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9665 | |
9666 * CRowVector.cc | |
9667 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9668 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9669 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9670 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9671 Actually do something. | |
9672 | |
9673 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9674 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9675 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9676 | |
9677 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9678 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9679 tolerances. | |
9680 | |
9681 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9682 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9683 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9684 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9685 * QPSOL.cc (qphess): Likewise. | |
9686 | |
9687 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9688 | |
9689 * dMatrix.cc: Include <cstring>. | |
9690 | |
9691 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9692 that return bogus values after calling the error handler. | |
9693 | |
9694 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9695 | |
9696 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9697 | |
9698 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9699 | |
9700 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9701 | |
9702 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9703 (dassl_j): Likewise. | |
9704 | |
9705 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9706 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9707 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9708 Update for change in for loop variable scope for gcc 2.7.0. | |
9709 | |
9710 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9711 | |
9712 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9713 not set. | |
9714 | |
9715 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9716 | |
9717 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9718 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9719 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9720 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9721 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9722 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9723 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9724 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9725 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9726 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9727 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9728 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9729 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9730 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9731 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9732 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9733 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9734 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9735 NLP.h: Use pragma interface/implementation. Don't surround | |
9736 contents in extern "C++". | |
9737 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9738 | |
9739 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9740 | |
9741 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9742 identifiers. | |
9743 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9744 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9745 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9746 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9747 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9748 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9749 Quad.cc: Change usage of F77_FCN to match new definition | |
9750 | |
9751 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9752 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9753 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9754 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9755 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9756 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9757 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9758 args by reference instead of pointer. Change all callers. | |
9759 | |
9760 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9761 | |
9762 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9763 functions. Make += and -= operators friend functions. | |
9764 | |
9765 * Array.h (Array2::~Array2, Array3::~Array3, | |
9766 DiagArray::~DiagArray): New functions. | |
9767 | |
9768 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9769 | |
9770 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9771 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9772 | |
9773 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9774 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9775 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9776 dRowVector.h dRowVector.cc: | |
9777 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9778 Array2, and DiagArray2. | |
9779 Don't use functions defined in mx-kludge.cc for arithmetic | |
9780 like-type operations on arrays. | |
9781 | |
9782 * MArray.cc: Use the classes defined here like-type mathematical | |
9783 operations on Array objects. Abuse CPP more. | |
9784 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9785 (EXTRAS): Delete it from this list. | |
9786 | |
9787 * MArray-C.cc, MArray-d.cc: New files. | |
9788 * Makefile.in (TI_SRC): Add them to the list. | |
9789 | |
9790 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9791 | |
9792 * mx-kludge.cc: Abuse CPP even more. | |
9793 | |
9794 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9795 | |
9796 * Objective.h (objective_function): Add missing const. | |
9797 (gradient_function): Likewise. | |
9798 | |
9799 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9800 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9801 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9802 dRowVector.h dRowVector.cc: | |
9803 Reorganize to declare and define friends where they should be, | |
9804 based on the use of private constructors. | |
9805 | |
9806 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9807 | |
9808 * CRowVector.h (linspace): Add declaration. | |
9809 * dRowVector.h (linspace): Likewise. | |
9810 | |
9811 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9812 Force result of rcond + 1.0 to be stored. | |
9813 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9814 ComplexMatrix::solve): Likewise. | |
9815 | |
9816 See ChangeLog.1 in the top level directory for earlier changes. |