Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8384:a99b9113c58c
optimize sparse bool indexing
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 08 Dec 2008 15:33:28 +0100 |
parents | dbe67764e628 |
children | 6e9660cd3bf2 |
rev | line source |
---|---|
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
2 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
3 * 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
|
4 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
5 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
6 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
7 * 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
|
8 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
9 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
10 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
|
11 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
12 * 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
|
13 * 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
|
14 (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
|
15 (DMM_MULTIPLY_OP): Dtto. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
16 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
17 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
18 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
19 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
20 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
21 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
22 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
23 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
24 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
25 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
26 * 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
|
27 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
28 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
29 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
30 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
|
31 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
|
32 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
|
33 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
|
34 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
35 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
|
36 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
37 * 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
|
38 (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
|
39 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
|
40 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
41 * 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
|
42 * 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
|
43 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
44 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
45 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
46 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
47 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
48 * 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
|
49 (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
|
50 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
|
51 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
52 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
53 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
|
54 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
55 * 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
|
56 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
57 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
58 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
59 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
60 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
61 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
62 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
63 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
64 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
65 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
66 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
67 |
8369 | 68 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
69 | |
70 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
71 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
72 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
|
73 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
74 * 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
|
75 * 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
|
76 * 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
|
77 * 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
|
78 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
79 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
80 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
81 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
82 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
83 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
84 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
85 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
86 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
87 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
88 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
89 * 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
|
90 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
91 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
92 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
93 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
94 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
95 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
96 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
97 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
98 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
99 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
100 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
101 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
102 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
103 * 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
|
104 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
105 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
106 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
107 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
108 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
109 * 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
|
110 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
111 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
112 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
113 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
114 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
115 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
116 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
117 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
118 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
119 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
120 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
121 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
122 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
123 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
124 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
125 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
126 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
127 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
128 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
129 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
130 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
131 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
132 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
133 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
134 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
135 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
136 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
137 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
138 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
139 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
140 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
141 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
142 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
143 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
144 (ComplexDiagMatrix::all_elements_are_real): New method. |
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 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (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 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
149 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
150 (FloatComplexDiagMatrix::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 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
153 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
154 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): 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 (FloatComplexDiagMatrix::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 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
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 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
161 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
162 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
163 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
164 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
165 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
166 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
167 * 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
|
168 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
169 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
170 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
171 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
172 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
173 (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
|
174 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
175 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
176 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
177 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
178 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
179 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
180 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
181 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
182 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
183 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
184 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
185 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
186 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
187 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
188 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
189 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
190 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
191 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
192 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
193 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
194 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
195 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
196 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
197 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
198 (fEIG::init (const FloatMatrix& a, const FloatMatrix& 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::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
201 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
202 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
203 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
204 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
205 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
206 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
207 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
208 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
209 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
210 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
211 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
212 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
213 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
|
214 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
215 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
|
216 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
217 * 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
|
218 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
219 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
220 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
221 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
222 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
223 * 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
|
224 |
8335 | 225 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
226 | |
227 * DET.h: New source. | |
228 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
229 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
230 * Makefile.in: Reflect changes. | |
231 * mx-defs.h: Remove DET decls. | |
232 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
233 dSparse.h, CSparse.h: Include only DET.h. | |
234 * dMatrix.cc (Matrix::determinant), | |
235 fMatrix.cc (FloatMatrix::determinant), | |
236 CMatrix.cc (ComplexMatrix::determinant), | |
237 fCMatrix.cc (FloatComplexMatrix::determinant), | |
238 dSparse.cc (SparseMatrix::determinant), | |
239 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
240 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
241 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
242 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
243 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
244 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
|
245 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
246 |
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
|
247 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
|
248 |
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
|
249 * 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
|
250 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
|
251 |
8324 | 252 2008-11-14 David Bateman <dbateman@free.fr> |
253 | |
254 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
255 resize_fill_value. | |
256 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
257 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
258 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
259 * 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
|
260 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
261 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
262 * 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
|
263 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
|
264 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
|
265 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
266 * 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
|
267 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
|
268 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
269 * 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
|
270 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
271 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
272 * 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
|
273 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
274 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
275 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
276 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
277 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
278 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
279 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
280 |
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
|
281 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
|
282 |
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
|
283 * 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
|
284 (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
|
285 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
|
286 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
|
287 (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
|
288 (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
|
289 (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
|
290 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
291 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
292 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
293 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
294 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
295 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
296 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
297 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
298 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
299 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
300 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
301 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
302 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
303 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
304 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
|
305 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
306 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
307 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
308 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
|
309 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
310 * 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
|
311 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
312 * 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
|
313 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
314 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
315 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
316 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
317 * 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
|
318 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
319 * 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
|
320 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
321 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
322 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
|
323 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
324 * 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
|
325 (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
|
326 std::abs. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
327 * 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
|
328 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
329 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
330 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
331 * 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
|
332 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
333 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
334 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
335 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
336 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
337 * 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
|
338 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
339 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
340 * 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
|
341 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
342 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
343 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
344 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
345 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
346 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
347 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
348 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
349 * 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
|
350 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
351 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
352 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
353 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
354 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
|
355 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
356 * 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
|
357 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
|
358 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
359 |
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
|
360 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
|
361 |
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
|
362 * 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
|
363 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
|
364 (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
|
365 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
|
366 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
367 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
|
368 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
369 * 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
|
370 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
371 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
372 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
|
373 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
374 * 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
|
375 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
|
376 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
377 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
|
378 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
379 * 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
|
380 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
381 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
382 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
|
383 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
384 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
385 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
386 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
387 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
388 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
389 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
390 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
391 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
392 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
393 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
394 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
395 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
396 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
397 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
398 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
399 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
|
400 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
401 (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
|
402 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
403 |
8198 | 404 2008-10-08 John W. Eaton <jwe@octave.org> |
405 | |
406 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
407 sparse arguments rather than rely on extern function. | |
408 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
409 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
|
410 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
411 * 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
|
412 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
|
413 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
414 (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
|
415 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
416 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
417 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
418 * 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
|
419 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
420 |
8187 | 421 2008-10-06 David Bateman <dbateman@free.fr> |
422 | |
423 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
424 sparse arguments rather than rely on extern function. | |
425 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
426 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
|
427 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
428 * 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
|
429 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
430 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
431 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
432 * 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
|
433 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
434 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
435 * 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
|
436 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
437 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
438 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
439 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
440 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
441 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
442 * 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
|
443 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
444 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
|
445 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
446 * 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
|
447 * 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
|
448 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
|
449 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
|
450 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
451 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
452 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
453 * 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
|
454 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
455 * 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
|
456 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
457 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
458 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
|
459 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
460 * 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
|
461 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
462 |
8182 | 463 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
464 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
465 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
466 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
467 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
468 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
|
469 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
470 * 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
|
471 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
472 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
473 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
474 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
475 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
476 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
477 (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
|
478 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
479 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
480 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
481 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
482 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
|
483 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
484 * 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
|
485 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
|
486 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
487 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
|
488 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
489 * 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
|
490 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
491 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
|
492 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
493 * 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
|
494 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
|
495 (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
|
496 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
497 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
498 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
499 * 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
|
500 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
501 (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
|
502 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
|
503 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
504 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
|
505 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
506 * 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
|
507 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
508 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
509 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
510 * 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
|
511 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
512 |
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
|
513 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
|
514 |
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
|
515 * 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
|
516 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
|
517 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
|
518 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
|
519 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
|
520 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
|
521 (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
|
522 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
|
523 (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
|
524 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
|
525 (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
|
526 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
|
527 (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
|
528 (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
|
529 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
|
530 (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
|
531 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
|
532 (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
|
533 (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
|
534 (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
|
535 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
|
536 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
|
537 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
|
538 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
|
539 (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
|
540 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
|
541 (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
|
542 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
|
543 octave_int<T>&, float)): New functions. |
8040 | 544 |
545 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
|
546 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
547 * 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
|
548 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
549 |
8040 | 550 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
|
551 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
552 * 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
|
553 (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
|
554 |
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
|
555 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
|
556 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
557 * 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
|
558 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
559 * 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
|
560 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
|
561 |
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
|
562 * 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
|
563 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
|
564 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
565 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
|
566 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
567 * 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
|
568 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
|
569 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
570 * 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
|
571 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
|
572 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
573 * 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
|
574 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
575 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
576 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
|
577 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
578 * 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
|
579 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
|
580 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
581 (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
|
582 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
|
583 (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
|
584 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
585 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
586 * 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
|
587 (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
|
588 * 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
|
589 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
590 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
591 (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
|
592 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
593 (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
|
594 (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
|
595 (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
|
596 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
|
597 (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
|
598 (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
|
599 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
600 * 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
|
601 |
7999 | 602 2008-07-30 John W. Eaton <jwe@octave.org> |
603 | |
604 * oct-inttypes.h: Style fixes. | |
605 | |
8040 | 606 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
607 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
608 * 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
|
609 (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
|
610 member functions. |
7999 | 611 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
612 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
613 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
614 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
615 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
616 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
|
617 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
618 * 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
|
619 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
|
620 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
621 (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
|
622 (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
|
623 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
624 (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
|
625 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
|
626 * 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
|
627 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
628 (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
|
629 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
|
630 * 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
|
631 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
|
632 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
|
633 |
8040 | 634 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 635 |
636 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
637 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
638 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
|
639 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
640 * 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
|
641 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
|
642 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
643 * 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
|
644 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
|
645 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
646 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
|
647 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
648 * 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
|
649 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
650 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
651 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
652 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
653 (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
|
654 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
655 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
656 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
657 (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
|
658 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
659 (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
|
660 * 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
|
661 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
662 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
663 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
664 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
665 * 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
|
666 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
667 * 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
|
668 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
669 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
670 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
671 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
672 * 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
|
673 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
674 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
675 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
|
676 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
677 * 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
|
678 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
679 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
680 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
681 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
682 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
|
683 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
684 * 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
|
685 (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
|
686 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
687 (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
|
688 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
689 |
7934 | 690 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
691 | |
692 * oct-mutex.h, oct-mutex.cc: New files. | |
693 * Makefile.in: Add them to appropriate lists. | |
694 | |
7929 | 695 2008-07-15 John W. Eaton <jwe@octave.org> |
696 | |
697 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
698 descending arg as bool&. | |
699 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
700 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
701 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
|
702 |
7924 | 703 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
704 number of rows or columns is 0. | |
705 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
706 | |
707 * Array-util.cc (is_vector): Avoid GCC warning. | |
708 * Array-f.cc (Array<float>::sort): Likewise. | |
709 * Array-d.cc (Array<double>::sort): Likewise. | |
710 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
711 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
712 ComplexMatrix&)): Likewise. | |
713 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
714 FloatMatrix&)): Likewise. | |
715 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
716 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
717 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
718 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
719 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
720 FloatIndefQuad::do_integrate): Likewise. | |
721 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
722 * 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
|
723 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
|
724 * 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
|
725 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
726 * 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
|
727 * 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
|
728 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
729 * 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
|
730 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
|
731 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
|
732 * 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
|
733 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
|
734 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
735 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
736 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
|
737 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
738 * 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
|
739 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
740 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
741 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
742 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
|
743 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
744 * 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
|
745 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
746 |
8040 | 747 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
|
748 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
749 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
750 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
751 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
|
752 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
753 * 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
|
754 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
755 |
7885 | 756 2008-06-11 John W. Eaton <jwe@octave.org> |
757 | |
758 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
759 * Makefile.in: Remove them from the lists. | |
760 | |
7872 | 761 2008-06-05 John W. Eaton <jwe@octave.org> |
762 | |
763 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
764 counter if iterator is valid. | |
765 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
766 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
|
767 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
768 * 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
|
769 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
|
770 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
|
771 * 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
|
772 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
|
773 * 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
|
774 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
|
775 (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
|
776 (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
|
777 (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
|
778 * 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
|
779 * 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
|
780 (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
|
781 (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
|
782 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
783 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
784 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
785 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
786 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
787 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
788 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
789 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
790 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
791 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
792 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
793 * 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
|
794 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
795 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
796 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
797 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
798 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
799 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
800 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
801 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
802 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
803 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
804 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
805 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
806 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
807 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
808 |
8040 | 809 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 810 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
811 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
812 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
813 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
814 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
815 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
816 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
817 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
818 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
819 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
820 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
821 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
822 |
7803 | 823 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
824 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
825 * 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
|
826 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
827 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
828 (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
|
829 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
830 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
831 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
832 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
833 * 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
|
834 * 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
|
835 |
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
|
836 * 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
|
837 * 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
|
838 (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
|
839 (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
|
840 * 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
|
841 * 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
|
842 (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
|
843 (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
|
844 |
7799 | 845 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
846 New template functions. | |
847 (MatrixType::MatrixType (const Matrix&), | |
848 MatrixType::MatrixType (const FloatMatrix&)): | |
849 just call matrix_real_probe. | |
850 (MatrixType::MatrixType (const ComplexMatrix&), | |
851 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
852 just call matrix_complex_probe. | |
853 | |
854 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
855 add missing test for Unknown. | |
856 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
857 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
|
858 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
859 * 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
|
860 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
861 (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
|
862 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
863 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
864 * 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
|
865 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
866 (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
|
867 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
868 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
869 * 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
|
870 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
871 (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
|
872 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
873 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
874 * 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
|
875 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
876 (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
|
877 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
878 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
879 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
880 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
881 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
882 * 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
|
883 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
|
884 (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
|
885 * 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
|
886 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
|
887 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
888 * 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
|
889 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
890 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
891 * 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
|
892 (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
|
893 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
894 * 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
|
895 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
896 * 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
|
897 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
898 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
899 * 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
|
900 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
|
901 * 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
|
902 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
903 * 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
|
904 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
905 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
906 * 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
|
907 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
|
908 * 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
|
909 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
910 * 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
|
911 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
912 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
913 * 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
|
914 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
|
915 * 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
|
916 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
917 * 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
|
918 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
919 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
920 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
921 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
922 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
|
923 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
|
924 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
925 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
926 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
927 * 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
|
928 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
929 (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
|
930 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
931 * 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
|
932 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
933 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
934 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
935 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
936 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
937 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
938 * 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
|
939 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
940 * 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
|
941 * 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
|
942 * 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
|
943 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
944 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
945 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
946 * 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
|
947 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
948 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
949 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
950 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
951 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
952 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
953 * 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
|
954 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
955 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
956 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
957 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
958 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
959 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
960 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
961 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
962 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
963 * CMatrix.cc (ComplexMatrix::hermitian): 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 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
966 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
967 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
968 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
969 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
970 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
971 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
972 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
973 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
974 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
975 Declare them. |
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 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
978 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
979 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
980 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
981 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
982 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
983 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
984 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
985 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
986 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
987 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
988 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
989 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
990 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
991 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
992 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
993 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
994 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
995 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
996 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
997 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
998 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
999 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1000 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1001 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1002 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1003 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1004 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1005 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1006 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1007 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1008 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1009 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1010 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1011 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1012 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1013 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1014 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1015 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1016 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1017 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1018 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
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 * 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
|
1021 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1022 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1023 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1024 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1025 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1026 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1027 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
|
1028 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1029 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
|
1030 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1031 * 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
|
1032 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1033 * 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
|
1034 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
|
1035 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1036 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
|
1037 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
|
1038 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
|
1039 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
|
1040 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
|
1041 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
|
1042 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1043 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1044 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
|
1045 |
7788 | 1046 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
1047 to avoid shadowed variable warning | |
1048 (double ComplexMatrix::rcond (void) const): New method for | |
1049 reciprocal condition number calculation. | |
1050 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1051 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
1052 to avoid shadowed variable warning | |
1053 (double ComplexMatrix::rcond (void) const): New method for | |
1054 reciprocal condition number calculation. | |
1055 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1056 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
1057 to avoid shadowed variable warning | |
1058 (double Matrix::rcond (void) const): New method for | |
1059 reciprocal condition number calculation. | |
1060 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1061 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
1062 to avoid shadowed variable warning | |
1063 (double Matrix::rcond (void) const): New method for | |
1064 reciprocal condition number calculation. | |
1065 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1066 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1067 * 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
|
1068 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1069 * 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
|
1070 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1071 |
7776 | 1072 2008-05-19 David Bateman <dbateman@free.fr> |
1073 | |
1074 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
1075 incorrectly used. | |
1076 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1077 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1078 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1079 * 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
|
1080 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
|
1081 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1082 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1083 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
|
1084 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1085 * 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
|
1086 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
|
1087 * 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
|
1088 (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
|
1089 * 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
|
1090 * 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
|
1091 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1092 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
|
1093 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1094 * 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
|
1095 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1096 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
|
1097 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1098 * 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
|
1099 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
|
1100 * 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
|
1101 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1102 (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
|
1103 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1104 (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
|
1105 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
|
1106 (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
|
1107 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
|
1108 |
8040 | 1109 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 1110 |
1111 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
1112 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
1113 New functions. | |
1114 * lo-mappers.h: Provide decls. | |
1115 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1116 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
|
1117 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1118 * 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
|
1119 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
|
1120 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1121 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
|
1122 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1123 * 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
|
1124 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1125 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
|
1126 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1127 * 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
|
1128 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1129 |
8040 | 1130 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
|
1131 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
1132 * 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
|
1133 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1134 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
|
1135 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1136 * 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
|
1137 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1138 * 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
|
1139 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1140 * 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
|
1141 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1142 * 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
|
1143 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1144 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1145 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1146 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1147 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1148 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
|
1149 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1150 * 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
|
1151 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
|
1152 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1153 |
8040 | 1154 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1155 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1156 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1157 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1158 * 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
|
1159 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1160 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1161 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1162 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1163 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
|
1164 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1165 * 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
|
1166 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1167 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1168 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1169 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1170 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1171 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1172 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1173 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1174 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1175 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
|
1176 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1177 * 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
|
1178 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1179 * 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
|
1180 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1181 * 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
|
1182 |
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
|
1183 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
|
1184 |
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
|
1185 * 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
|
1186 (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
|
1187 * 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
|
1188 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
|
1189 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
|
1190 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1191 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
|
1192 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1193 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1194 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1195 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1196 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
|
1197 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1198 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1199 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1200 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1201 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1202 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1203 |
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
|
1204 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
|
1205 |
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
|
1206 * 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
|
1207 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
|
1208 |
7619 | 1209 2008-03-21 David Bateman <dbateman@free.fr> |
1210 | |
1211 * oct-sparse.h: Add headers for amd.h. | |
1212 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1213 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
|
1214 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1215 * 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
|
1216 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1217 * 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
|
1218 * 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
|
1219 * 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
|
1220 * 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
|
1221 * 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
|
1222 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1223 * 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
|
1224 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1225 * 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
|
1226 * 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
|
1227 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1228 * 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
|
1229 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1230 * 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
|
1231 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1232 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1233 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1234 * 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
|
1235 * 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
|
1236 * 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
|
1237 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1238 * 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
|
1239 * 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
|
1240 * 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
|
1241 * 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
|
1242 * 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
|
1243 * 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
|
1244 * 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
|
1245 * 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
|
1246 * 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
|
1247 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1248 * 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
|
1249 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
|
1250 * 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
|
1251 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1252 * 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
|
1253 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1254 * 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
|
1255 * 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
|
1256 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
|
1257 * 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
|
1258 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1259 * 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
|
1260 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
|
1261 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1262 * 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
|
1263 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
|
1264 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1265 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1266 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1267 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1268 * 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
|
1269 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1270 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1271 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1272 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1273 * 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
|
1274 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1275 * 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
|
1276 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1277 * 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
|
1278 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1279 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1280 * 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
|
1281 Declare it. |
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 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1284 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
|
1285 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1286 * 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
|
1287 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1288 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1289 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
|
1290 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
1291 * 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
|
1292 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
|
1293 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1294 * 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
|
1295 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1296 * 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
|
1297 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1298 * 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
|
1299 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
|
1300 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
|
1301 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
|
1302 * 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
|
1303 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
|
1304 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
|
1305 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1306 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1307 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1308 * 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
|
1309 * 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
|
1310 * 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
|
1311 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1312 * 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
|
1313 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1314 * 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
|
1315 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1316 * 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
|
1317 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
|
1318 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1319 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
|
1320 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
1321 * 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
|
1322 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1323 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1324 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
|
1325 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1326 * 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
|
1327 * 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
|
1328 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
|
1329 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1330 (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
|
1331 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
|
1332 (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
|
1333 (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
|
1334 (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
|
1335 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1336 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1337 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1338 * 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
|
1339 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1340 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
|
1341 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
|
1342 (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
|
1343 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1344 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
|
1345 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1346 * 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
|
1347 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
|
1348 * 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
|
1349 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
|
1350 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1351 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1352 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1353 * 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
|
1354 * 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
|
1355 * 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
|
1356 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1357 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1358 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1359 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1360 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1361 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1362 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1363 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1364 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1365 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1366 * 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
|
1367 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1368 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1369 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1370 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1371 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1372 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1373 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1374 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1375 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1376 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1377 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
|
1378 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1379 * 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
|
1380 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1381 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1382 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
|
1383 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1384 * 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
|
1385 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
|
1386 |
7545 | 1387 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1388 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1389 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1390 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1391 calculation of nlvl. |
7545 | 1392 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1393 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1394 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
|
1395 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1396 * 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
|
1397 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1398 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
|
1399 |
7536 | 1400 * oct-rand.cc (get_dist_id): Fix typo. |
1401 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
1402 fill_rand): Improve error messages. | |
1403 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
1404 * 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
|
1405 (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
|
1406 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
|
1407 (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
|
1408 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1409 * 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
|
1410 (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
|
1411 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
|
1412 (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
|
1413 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
|
1414 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
|
1415 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
|
1416 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
|
1417 (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
|
1418 (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
|
1419 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1420 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1421 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1422 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1423 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
|
1424 (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
|
1425 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
|
1426 (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
|
1427 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1428 * 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
|
1429 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1430 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1431 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
|
1432 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1433 * 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
|
1434 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1435 (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
|
1436 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
|
1437 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1438 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1439 * 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
|
1440 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
|
1441 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1442 |
7520 | 1443 2008-02-22 John W. Eaton <jwe@octave.org> |
1444 | |
1445 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
1446 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
1447 sparse-dmsolve.cc: Use 0 instead of NULL. | |
1448 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1449 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
|
1450 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1451 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1452 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1453 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1454 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1455 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1456 * 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
|
1457 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1458 * 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
|
1459 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
|
1460 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
|
1461 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1462 * 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
|
1463 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
|
1464 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
|
1465 (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
|
1466 * 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
|
1467 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1468 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1469 * 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
|
1470 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
|
1471 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1472 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1473 * 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
|
1474 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1475 * 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
|
1476 * 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
|
1477 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1478 (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
|
1479 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1480 * 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
|
1481 (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
|
1482 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1483 * 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
|
1484 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1485 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
|
1486 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
1487 * 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
|
1488 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
|
1489 (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
|
1490 * 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
|
1491 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
|
1492 (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
|
1493 * 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
|
1494 * 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
|
1495 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1496 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
|
1497 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1498 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1499 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1500 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1501 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1502 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1503 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1504 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1505 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1506 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1507 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1508 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1509 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1510 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1511 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1512 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1513 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1514 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1515 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1516 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1517 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1518 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1519 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1520 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1521 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1522 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1523 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1524 * Array.h (Array<T>::map): New function. |
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 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1527 * Makefile.in (INCLUDES): Add it to the list. |
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 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1530 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1531 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1532 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1533 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1534 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1535 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1536 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
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 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1539 (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
|
1540 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1541 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1542 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1543 (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
|
1544 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1545 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1546 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1547 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1548 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1549 * 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
|
1550 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1551 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1552 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1553 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1554 * 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
|
1555 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
|
1556 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
1557 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1558 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
|
1559 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1560 * 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
|
1561 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
|
1562 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
|
1563 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
|
1564 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
|
1565 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
|
1566 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1567 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
1568 |
7477 | 1569 2008-02-12 John W. Eaton <jwe@octave.org> |
1570 | |
1571 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
1572 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
1573 | |
7476 | 1574 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
1575 | |
7480 | 1576 * Array.cc (ascending_compare, descending_compare): Remove |
1577 non-standard extern in the instantiations. | |
1578 | |
1579 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
1580 | |
7476 | 1581 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
1582 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
1583 workaround for DGELSD's broken lwork query. The formula is from | |
1584 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
1585 efficient algorithm in the short-and-fat case (n > m). | |
1586 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
1587 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
1588 ugly workaround for DGELSD's broken lwork query, as with double. | |
1589 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1590 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1591 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1592 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1593 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1594 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1595 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1596 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1597 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
1598 * 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
|
1599 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
1600 * 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
|
1601 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1602 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
|
1603 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1604 * 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
|
1605 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1606 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1607 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1608 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1609 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1610 |
7457 | 1611 2008-02-07 John W. Eaton <jwe@octave.org> |
1612 | |
7458 | 1613 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
1614 ASCENDING, with default value of true. | |
1615 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
1616 (Range::sort (octave_idx_type, sortmode) const): New function. | |
1617 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
1618 const): New function. | |
1619 * Range.h: Fix/provide decls. | |
1620 | |
7457 | 1621 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
1622 | |
7449 | 1623 2008-02-06 John W. Eaton <jwe@octave.org> |
1624 | |
1625 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
1626 (stamp-prereq): Eliminate. | |
1627 (clean): Don't remove stamp-prereq. | |
1628 (libraries): Don't depend on stamp-prereq. | |
1629 (PREREQ): New macro. | |
1630 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
1631 (distclean): Simplify with $(PREREQ). | |
1632 (OPT_BASE): New macro. | |
1633 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
1634 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
1635 | |
7448 | 1636 2008-02-05 John W. Eaton <jwe@octave.org> |
1637 | |
1638 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
1639 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
1640 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1641 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 1642 |
1643 * Array.cc (ascending_compare, descending_compare, | |
1644 Array<T>::sort): Declare explicit specialization for T=double to | |
1645 avoid symbol duplication error at link time. | |
1646 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
1647 define as nonmember functions, not member functions of Array<T>. | |
1648 | |
7442 | 1649 2008-02-03 John W. Eaton <jwe@octave.org> |
1650 | |
1651 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
1652 | |
1653 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
1654 | |
1655 * Array.cc: Don't include Range.h. | |
1656 | |
7433 | 1657 2008-01-31 David Bateman <dbateman@free.fr> |
1658 | |
1659 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
1660 for 64-bit builds. | |
1661 (IFLT): Allow IFLT macro to be overridden. | |
1662 * oct-sort.h: conversion of int to octave_idx_type where needed | |
1663 for 64-bit builds. | |
1664 (enum sortmode): Type of sort to perform. | |
1665 (vec_index): Simple class to aid in indexed sorts. | |
1666 | |
1667 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
1668 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1669 sortmode) const): Array sorting methods. | |
1670 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
1671 instantiate the array sorting methods. | |
1672 * Array.cc (ascending_compare, descending_compare): New template | |
1673 functions for generic sort comparison. | |
1674 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
1675 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
1676 sortmode) const): Array sorting functions based of octave_sort | |
1677 class. | |
1678 * Array-C.cc: Instantiate the complex array sort methods. | |
1679 (IFLT): New macro to override the one in the | |
1680 octave_sort class to avoid need for Complex < and > operators. | |
1681 (static double xabs (const Complex&)): Complex abs function | |
1682 avoiding std::abs(Inf) returning NaN with some compilers. | |
1683 (ascending_compare, descending compare): override template | |
1684 functions for complex comparison. | |
1685 * Array-d.cc: Instantiate the double array sort methods. | |
1686 (Array<double> Array<double>::sort (octave_idx_type, | |
1687 sortmode) const, Array<double> Array<double>::sort | |
1688 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
1689 Array sorting functions based of octave_sort using uint64 sorting | |
1690 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
1691 (ascending_compare, descending compare): override template | |
1692 functions for double and uint64 comparison. | |
1693 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
1694 Instantiate the array sort methods. | |
1695 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
1696 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
1697 versions of the sort methods based on Array<T>::sort. | |
1698 | |
1699 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
1700 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
1701 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
1702 sortmode) const): Sparse sorting methods. | |
1703 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
1704 methods. | |
1705 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
1706 of new sort method. | |
1707 (sparse_ascending_compare, sparse_descending_compare): New template | |
1708 functions for generic sort comparison. | |
1709 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
1710 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
1711 sortmode) const): Sparse sorting functions based of octave_sort | |
1712 class. | |
1713 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
1714 (IFLT): New macro to override the one in the | |
1715 octave_sort class to avoid need for Complex < and > operators. | |
1716 (static double xabs (const Complex&)): Complex abs function | |
1717 avoiding std::abs(Inf) returning NaN with some compilers. | |
1718 (sparse_ascending_compare, sparse_descending compare): override | |
1719 template functions for complex comparison. | |
1720 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
1721 (sparse_ascending_compare, sparse_descending compare): override | |
1722 template functions for double comparison. | |
1723 * Array-b.cc: Instantiate the sparse sort methods. | |
1724 | |
7422 | 1725 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
1726 | |
1727 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
1728 idx_vector::idx_vector_rep::range_step, | |
1729 idx_vector::idx_vector_rep::range_step): New data members. | |
1730 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
1731 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
1732 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
1733 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
1734 | |
7416 | 1735 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
1736 | |
1737 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
1738 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
1739 | |
7408 | 1740 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 1741 |
1742 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
1743 this fixes the "localtime(-1)" crash under Windows. | |
1744 | |
7400 | 1745 2008-01-18 John W. Eaton <jwe@octave.org> |
1746 | |
1747 * dMatrix.cc (solve_singularity_warning): New function. | |
1748 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
1749 Matrix::solve method. Exit early if Matrix::solve fails. | |
1750 Limit sqpow value to avoid overflowing scale factor. | |
1751 * CMatrix.cc (solve_singularity_warning): New function. | |
1752 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
1753 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
1754 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 1755 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 1756 |
7356 | 1757 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
1758 | |
1759 * Sparse.cc: New tests for slicing of sparse matrices. | |
1760 | |
7350 | 1761 2008-01-07 David Bateman <dbateman@free.fr> |
1762 | |
1763 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
1764 loop if this test succeeds. | |
1765 | |
7342 | 1766 2008-01-03 David Bateman <dbateman@free.fr> |
1767 | |
1768 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
1769 need unary operator on remaining argument | |
1770 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
1771 | |
7334 | 1772 2007-12-21 John W. Eaton <jwe@octave.org> |
1773 | |
1774 Version 3.0.0 released. | |
1775 | |
7322 | 1776 2007-12-18 David Bateman <dbateman@free.fr> |
1777 | |
1778 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
1779 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
1780 stored as a sparse matrix. | |
1781 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
1782 idx_vector&, int) const): For the non permutated indexing case, | |
1783 fix link list calculation and use. | |
1784 | |
7321 | 1785 2007-12-17 John W. Eaton <jwe@octave.org> |
1786 | |
1787 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
1788 N-d array. | |
1789 | |
7318 | 1790 2007-12-17 David Bateman <dbateman@free.fr> |
1791 | |
1792 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
1793 index. | |
1794 | |
7299 | 1795 2007-12-11 John W. Eaton <jwe@octave.org> |
1796 | |
1797 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
1798 If indexing scalar with empty matrix, return empty array with same | |
1799 size as index. | |
1800 | |
7272 | 1801 2007-12-10 John W. Eaton <jwe@octave.org> |
1802 | |
7279 | 1803 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
1804 and assignment operator. | |
1805 (NLEqn::function_value): New function. | |
1806 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
1807 function value. | |
1808 | |
7272 | 1809 * file-ops.cc (file_ops::concat): New function. |
1810 * file-ops.h: Provide decl. | |
1811 | |
7270 | 1812 2007-12-07 John W. Eaton <jwe@octave.org> |
1813 | |
1814 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
1815 is not 0. | |
1816 | |
7269 | 1817 2007-12-07 David Bateman <dbateman@free.fr> |
1818 | |
1819 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
1820 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
1821 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
1822 indexing where possible rather than the elem method. | |
1823 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
1824 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
1825 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
1826 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
1827 = 0 directly. | |
1828 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
1829 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
1830 SPARSE_BASE_REDUCTION_OP. | |
1831 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
1832 Specialize the initial value, and only treat dim = 0 directly. | |
1833 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
1834 ditto. | |
1835 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
1836 | |
7265 | 1837 2007-12-06 John W. Eaton <jwe@octave.org> |
1838 | |
1839 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
1840 data for npp and dpp after assignments. | |
1841 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
1842 | |
7253 | 1843 2007-12-04 John W. Eaton <jwe@octave.org> |
1844 | |
1845 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1846 Do nothing if one index is empty. | |
1847 | |
7246 | 1848 2007-12-04 David Bateman <dbateman@free.fr> |
1849 | |
1850 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1851 Resize matrix as well if one dimension of lhs is zero and the rhs | |
1852 index exceeds the lhs index. | |
1853 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
1854 Don't resize to a smaller matrix for empty matrices with a max rhs | |
1855 index smaller than the non zero lhs index. | |
1856 | |
1857 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
1858 | |
1859 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
1860 | |
7241 | 1861 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
1862 | |
1863 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
1864 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
1865 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
1866 | |
7238 | 1867 2007-12-03 David Bateman <dbateman@free.fr> |
1868 | |
1869 * Sparse.cc (template <class LT, class RT> int assign | |
1870 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
1871 rhs values if both no. rows and columns are zero. | |
1872 | |
7231 | 1873 2007-11-30 John W. Eaton <jwe@octave.org> |
1874 | |
7234 | 1875 * oct-sort.cc, oct-sort.h: Style fixes. |
1876 | |
7231 | 1877 * lo-math.h: New file. |
1878 * Makefile.in (INCLUDES): Add it to the list. | |
1879 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
1880 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
1881 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
1882 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
1883 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
1884 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
1885 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
1886 liboctave/oct-time.h, liboctave/randgamma.c, | |
1887 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
1888 instead of cmath or math.h. | |
1889 * lo-mappers.h: Don't include sunmath.h here. | |
1890 | |
7198 | 1891 2007-11-26 John W. Eaton <jwe@octave.org> |
1892 | |
1893 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
1894 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
1895 | |
1896 * oct-inttypes.h (operator bool, operator char): Delete. | |
1897 (bool_value, char_value, double_value, float_value): New functions. | |
1898 | |
7189 | 1899 2007-11-26 David Bateman <dbateman@free.fr> |
1900 | |
1901 * intNDArray.cc (template <class T> intNDArray<T> | |
1902 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
1903 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
1904 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
1905 template <class T> intNDArray<T> intNDArray<T>::min | |
1906 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
1907 classes. | |
1908 * intNDArray.h (class intNDArray): Add min/max methods | |
1909 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
1910 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
1911 min/max functions. | |
1912 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
1913 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
1914 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
1915 types. | |
1916 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
1917 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
1918 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
1919 types. | |
1920 | |
1921 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
1922 const T& rfv) const): If ndims != 2 call ND version of index. | |
1923 | |
7176 | 1924 2007-11-14 John W. Eaton <jwe@octave.org> |
1925 | |
7178 | 1926 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1927 | |
7176 | 1928 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1929 correction to half-integer values. From Eric Chassande-Mottin | |
1930 <echassandemottin@gmail.com>. | |
1931 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1932 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1933 |
1934 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1935 ambiguities related to math functions (in C++ mode). | |
1936 | |
7102 | 1937 2007-11-06 David Bateman <dbateman@free.fr> |
1938 | |
7113 | 1939 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1940 New method. | |
1941 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1942 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1943 New method. | |
1944 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1945 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1946 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1947 <Rolf.Fabian@gmx.de>. | |
1948 | |
7081 | 1949 2007-10-30 David Bateman <dbateman@free.fr> |
1950 | |
1951 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1952 | |
7079 | 1953 2007-10-30 John W. Eaton <jwe@octave.org> |
1954 | |
1955 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1956 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1957 | |
7076 | 1958 2007-10-29 David Bateman <dbateman@free.fr> |
1959 | |
1960 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1961 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1962 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1963 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1964 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1965 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1966 declarations. | |
1967 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1968 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1969 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1970 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1971 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1972 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1973 methods. | |
1974 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1975 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1976 octave_idx_type&, double&) const): Also return rcond from the | |
1977 singular values returned by XGELSD. | |
1978 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1979 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1980 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1981 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1982 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1983 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1984 declarations. | |
1985 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1986 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1987 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1988 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1989 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1990 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1991 methods. | |
1992 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1993 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1994 octave_idx_type&, double&) const): Also return rcond from the | |
1995 singular values returned by XGELSD. | |
1996 | |
7072 | 1997 2007-10-26 David Bateman <dbateman@free.fr> |
1998 | |
1999 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
2000 matrices to avoid reliability issues with xGELSY. | |
2001 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 2002 |
7065 | 2003 2007-10-25 John W. Eaton <jwe@octave.org> |
2004 | |
2005 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
2006 Call unix_time on arg instead of relying on conversion operator. | |
2007 | |
2008 * oct-time.h (octave_time::double_value): New function. | |
2009 (octave_time::operator double () const): Delete. | |
2010 (octave_time::operator time_t () const): Delete. | |
2011 | |
7058 | 2012 2007-10-24 John W. Eaton <jwe@octave.org> |
2013 | |
2014 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
2015 | |
7052 | 2016 2007-10-23 John W. Eaton <jwe@octave.org> |
2017 | |
2018 * CRowVector.cc (operator * const ComplexRowVector&, const | |
2019 ComplexColumnVector&)): Delete spurious code left from patch. | |
2020 | |
7048 | 2021 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
2022 | |
2023 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
2024 sparse-sort.cc: Include <cstring>. | |
2025 | |
7036 | 2026 2007-10-17 John W. Eaton <jwe@octave.org> |
2027 | |
2028 * oct-sparse.h: Don't include metis.h. | |
2029 | |
2030 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
2031 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2032 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
2033 p_type>::sparse_base_chol_rep::init): Likewise. | |
2034 | |
7033 | 2035 2007-10-16 John W. Eaton <jwe@octave.org> |
2036 | |
2037 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
2038 matrix is hermitian or calc_cond is true. | |
2039 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2040 | |
7016 | 2041 2007-10-12 John W. Eaton <jwe@octave.org> |
2042 | |
2043 * Change copyright notices in all files that are part of Octave to | |
2044 GPLv3 or any later version. | |
2045 | |
7007 | 2046 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
2047 | |
2048 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
2049 | |
7001 | 2050 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
2051 | |
2052 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
2053 | |
7000 | 2054 2007-10-10 John W. Eaton <jwe@octave.org> |
2055 | |
2056 * LPsolve.h, LPsolve.cc: Delete. | |
2057 * Makefile.in: Remove them from the INCLUDES and | |
2058 LIBOCTAVE_CXX_SOURCES lists. | |
2059 | |
6989 | 2060 2007-10-09 John W. Eaton <jwe@octave.org> |
2061 | |
6996 | 2062 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
2063 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
2064 values to zero after call if they remain unchanged. | |
2065 | |
6989 | 2066 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
2067 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
2068 | |
6988 | 2069 2007-10-09 David Bateman <dbateman@free.fr> |
2070 | |
6995 | 2071 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
2072 valud and mon and year are also filled in. | |
2073 | |
6990 | 2074 * Array2.h (Array2<T>::Array2(const dim_vector&), |
2075 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
2076 dim_vector is 2 dimensional. | |
2077 | |
6988 | 2078 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
2079 int)): Remove a for loop in the random indexing case at the | |
2080 expense of maintaining a set of linked lists of indices that point | |
2081 to the same column in the original matrix. | |
2082 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
2083 and use it on the RHS of expressions to avoid unnecessary calls to | |
2084 make_unique. | |
2085 | |
6979 | 2086 2007-10-08 David Bateman <dbateman@free.fr> |
2087 | |
2088 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
2089 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
2090 for readline compatible functions. | |
2091 (octave_rl_redisplay): Redisplay the current line of text. | |
2092 (octave_rl_newline): Change interface to the same | |
2093 as used by the equivalent readline function itself. | |
2094 (octave_rl_filename_quoting_desired, | |
2095 octave_rl_set_filename_quote_characters, | |
2096 octave_rl_set_completer_quote_characters, | |
2097 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2098 octave_rl_set_char_is_quoted_function): New functions to control | |
2099 readline filename quoting and line acceptace. | |
2100 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
2101 as used by the equivalent readline function itself. | |
2102 (octave_rl_redisplay): Redisplay the current line of text. | |
2103 (octave_rl_filename_quoting_desired, | |
2104 octave_rl_set_filename_quote_characters, | |
2105 octave_rl_set_completer_quote_characters, | |
2106 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2107 octave_rl_set_char_is_quoted_function): New functions to control | |
2108 readline filename quoting and line acceptace. | |
2109 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
2110 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
2111 to map C++ function to readline compatible functions. | |
2112 (set_filename_quote_characters): New function to set the | |
2113 characters to if they appear in a filename that force the filename | |
2114 to be quoted. | |
2115 (set_completer_quote_characters): The characters that the readline | |
2116 completion function considers as quotation characters. | |
2117 (set_quoting_function, set_dequoting_function, | |
2118 set_char_is_quoted_function, set_user_accept_line_function): | |
2119 Functions to set the Octave functions to perform quoting and the | |
2120 acceptance of a line of text by readline. | |
2121 (get_quoting_function, get_dequoting_function, | |
2122 get_char_is_quoted_function, get_user_accept_line_function): | |
2123 Functions to get the above functions. | |
2124 (accept_line): New method for the command_editor to accept a line | |
2125 of text. | |
2126 (file_quoting_desired): Function to set whether readline should | |
2127 attempt to quote filenames. | |
2128 (do_set_filename_quoting_characters, | |
2129 do_set_completer_quote_characters, do_set_quoting_function, | |
2130 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2131 do_set_user_accept_line_function, do_get_quoting_function, | |
2132 do_get_dequoting_function, do_get_char_is_quoted_function, | |
2133 do_get_user_accept_line_function, do_filename_quoting_desired): | |
2134 Virtual functions to control the behavior of readline quoting and | |
2135 acceptance of lines. | |
2136 (do_accept_line): Virtual function for the accept line function. | |
2137 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
2138 do_completer_quote_characters, do_set_quoting_function, | |
2139 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2140 do_set_user_accept_line_function, do_get_quoting_function, | |
2141 do_get_dequoting_function, do_get_user_accept_line_function, | |
2142 do_accept_line, do_filename_quoting_desired, command_quoter, | |
2143 command_dequoter, command_char_is_quoted, command_accept_line): | |
2144 New functions in gnu_readline class to control filename quoting | |
2145 and line acceptance. | |
2146 (quoting_function, dequoting_function, char_is_quoted_function, | |
2147 user_accept_line_function): private variable to store functions | |
2148 supplied for readline quoting and line acceptance. | |
2149 (gnu_readline::gnu_readline): Also set the new function pointers | |
2150 to zero. | |
2151 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
2152 interface. | |
2153 (gnu_readeline::operate_and_get_next): Use new accept_line | |
2154 function rather than newline. | |
2155 (default_ommand_editor::do_accept_line): New method. | |
2156 (class command_editor set_filename_quote_characters, | |
2157 set_completer_quote_characters, set_quoting_function, | |
2158 set_dequoting_function, set_char_is_quoted_function, | |
2159 set_user_accept_line_function, get_quoting_function, | |
2160 get_dequoting_function, get_user_accept_line_function, | |
2161 accept_line, filename_quoting_desired): New functions checking | |
2162 instance before calling virtual function. | |
2163 | |
2164 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
2165 Array2.h: Add dim_vector constructors. | |
2166 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
2167 const to dim_vector constructors. | |
2168 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
2169 (octave_idx_type)): New methods to constructor diagonal matrices. | |
2170 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
2171 (octave_idx_type)): Declare them. | |
2172 | |
2173 | |
6969 | 2174 2007-10-06 John W. Eaton <jwe@octave.org> |
2175 | |
2176 * lo-specfun.cc: (zlgamma): Delete. | |
2177 (xgamma): Use C library gamma function if available. | |
2178 (xlgamma): Use C library lgamma function if available. | |
2179 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
2180 other than NaN or Inf. | |
2181 | |
6961 | 2182 2007-10-05 John W. Eaton <jwe@octave.org> |
2183 | |
2184 * lo-specfun.cc (zlgamma): New function. | |
2185 | |
6959 | 2186 2007-10-04 John W. Eaton <jwe@octave.org> |
2187 | |
2188 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
2189 qualifiers on local variables. | |
2190 | |
6958 | 2191 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
2192 | |
2193 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
2194 than log(realmax) to avoid issues with NaN. | |
2195 | |
6940 | 2196 2007-10-01 John W. Eaton <jwe@octave.org> |
2197 | |
6941 | 2198 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
2199 initialize wday and yday. | |
2200 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
2201 | |
6940 | 2202 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
2203 insert extra '\001' when decoding \[ and \]. | |
2204 | |
6926 | 2205 2007-09-26 David Bateman <dbateman@free.fr> |
2206 | |
2207 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
2208 is much faster and no less accurate. | |
2209 * CMatrix.cc (lssolve): ditto. | |
2210 | |
6924 | 2211 2007-09-25 David Bateman <dbateman@free.fr> |
2212 | |
2213 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
2214 zero dimensioned matrices. | |
2215 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
2216 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2217 ditto. | |
2218 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2219 ditto. | |
2220 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
2221 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
2222 qrsolve): ditto. | |
2223 * sparse-dmsolve.cc (dmsolve): ditto. | |
2224 | |
6922 | 2225 2007-09-21 John W. Eaton <jwe@octave.org> |
2226 | |
2227 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
2228 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
2229 | |
6916 | 2230 2007-09-19 John W. Eaton <jwe@octave.org> |
2231 | |
2232 * cmd-edit.cc (command_editor::remove_startup_hook): | |
2233 Fix cut-and-paste error. | |
6917 | 2234 (gnu_readline::set_startup_hook): Only set hook function if new |
2235 function is different from the current one. | |
6916 | 2236 |
6913 | 2237 2007-09-18 John W. Eaton <jwe@octave.org> |
2238 | |
2239 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
2240 command_editor::event_hook_set): New static data. | |
2241 (default_command_editor::set_startup_hook, | |
2242 gnu_readline::set_startup_hook, | |
2243 default_command_editor::restore_startup_hook, | |
2244 gnu_readline_restore_event_hook): | |
2245 Rename from do_set_startup_hook and do_set_event_hook. | |
2246 (gnu_readline::operate_and_get_next): Call | |
2247 command_editor::add_startup_hook, not | |
2248 command_editor::set_startup_hook. | |
2249 (command_editor::startup_handler, command_editor::event_handler): | |
2250 New functions. | |
2251 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
2252 command_editor::remove_startup_hook, | |
2253 command_editor::remove_event_hook): Rename from set_startup_hook | |
2254 and restore_startup_hook. Handle hook sets here. | |
2255 * cmd-edit.cc (gnu_history::do_goto_mark): | |
2256 Call remove_startup_hook instead of restore_startup_hook. | |
2257 | |
6907 | 2258 2007-09-17 John W. Eaton <jwe@octave.org> |
2259 | |
2260 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
2261 leading whitespace. | |
2262 | |
6897 | 2263 2007-09-13 John W. Eaton <jwe@octave.org> |
2264 | |
2265 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
2266 octave_read_complex): Use istream::get instead of >> to read | |
2267 individual characters. | |
2268 | |
6884 | 2269 2007-09-10 John W. Eaton <jwe@octave.org> |
2270 | |
2271 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
2272 | |
2273 2007-09-10 David Bateman <dbateman@free.fr> | |
2274 | |
2275 * Array.h (Array<T>::make_unique): Make public so that the | |
2276 ::assign functions can access it directly. | |
2277 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
2278 Array<T>::maybe_delete_elements_1(idx_vector&), | |
2279 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
2280 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
2281 Use xelem for non const RHS to avoid call to make_unique. | |
2282 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
2283 xelem for LHS and call lhs.make_unique() only once. Special case | |
2284 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
2285 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
2286 bring the additional multiplication out of the inner loop. | |
2287 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2288 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2289 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
2290 (const Range& r)): Don't use init_state() method but special case | |
2291 as with a Range can avoid exhaustive search. | |
2292 | |
6881 | 2293 2007-09-07 John W. Eaton <jwe@octave.org> |
2294 | |
2295 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
2296 manipulating rep directly. | |
2297 | |
2298 * Array.h (idx, idx_count): Declare mutable. | |
2299 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
2300 Now const. | |
2301 | |
6867 | 2302 2007-09-06 David Bateman <dbateman@free.fr> |
2303 | |
6868 | 2304 * Array-util.cc (increment_index): dimensions can have singleton |
2305 trailing dimensions. | |
6867 | 2306 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
2307 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
2308 where necessary. | |
2309 * Array.cc (range_error): ditto. | |
2310 * MArrayN.h (permute, ipermute): ditto. | |
2311 * ArrayN.h (permute, ipermute): ditto. | |
2312 * so-array.cc (streamoff_array::compute_index): ditto. | |
2313 * so-array.h (compute_index): ditto. | |
2314 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
2315 | |
6840 | 2316 2007-08-29 David Bateman <dbateman@free.fr> |
2317 | |
2318 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
2319 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
2320 matrices marked as singular. | |
2321 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
2322 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
2323 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
2324 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
2325 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
2326 octave_idx_type&, double&, int, int)): ditto. | |
2327 | |
6838 | 2328 2007-08-27 John W. Eaton <jwe@octave.org> |
2329 | |
2330 * oct-env.cc (octave_env::rooted_relative_pathname, | |
2331 octave_env::do_rooted_relative_pathname): New functions. | |
2332 * oct-env.h: Provide decls. | |
2333 | |
6823 | 2334 2007-08-24 David Bateman <dbateman@free.fr> |
2335 | |
2336 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
2337 const Array<octave_idx_type>&)): New method. | |
2338 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
2339 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
2340 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2341 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2342 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
2343 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2344 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2345 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2346 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2347 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2348 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2349 SparseMatrix&, const Array<octave_idx_type>&), | |
2350 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2351 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2352 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2353 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2354 SparseMatrix&, const Array<octave_idx_type>&), | |
2355 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2356 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2357 | |
6817 | 2358 2007-08-19 David Bateman <dbateman@free.fr> |
2359 | |
2360 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
2361 | |
6813 | 2362 2007-08-14 John W. Eaton <jwe@octave.org> |
2363 | |
2364 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
2365 Simplify. | |
6814 | 2366 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 2367 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2368 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 2369 |
2370 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
2371 Remove trailing dir separator when stat'ing directory except for | |
2372 root directory. | |
2373 | |
6796 | 2374 2007-07-25 David Bateman <dbateman@free.fr> |
2375 | |
2376 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
2377 to work. | |
2378 | |
6764 | 2379 2007-06-04 David Bateman <dbateman@free.fr> |
2380 | |
2381 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
2382 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
2383 perform a twos complement arithmetic shift for both signed and | |
2384 unsigned integers regardless of compiler implementations. | |
2385 | |
6708 | 2386 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
2387 | |
6719 | 2388 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
2389 use cs_complex_t(0,0) for the complex zero. | |
2390 | |
6708 | 2391 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
2392 Sprinkle class instantiations with OCTAVE_API as needed. | |
2393 | |
2394 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
2395 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
2396 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
2397 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
2398 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
2399 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
2400 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
2401 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
2402 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
2403 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
2404 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
2405 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
2406 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
2407 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
2408 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
2409 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
2410 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
2411 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
2412 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
2413 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
2414 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
2415 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
2416 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
2417 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
2418 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
2419 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
2420 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
2421 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2422 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2423 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
2424 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
2425 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
2426 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
2427 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
2428 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
2429 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
2430 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
2431 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
2432 SPARSE_SMM_OP_DECLS): Ditto. | |
2433 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
2434 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
2435 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
2436 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
2437 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
2438 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
2439 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
2440 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
2441 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
2442 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
2443 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
2444 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
2445 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
2446 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
2447 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
2448 | |
6699 | 2449 2007-06-12 John W. Eaton <jwe@octave.org> |
2450 | |
2451 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
2452 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 2453 |
6693 | 2454 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
2455 | |
6709 | 2456 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
2457 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
2458 with file_ops::dir_sep_char. | |
6694 | 2459 |
6693 | 2460 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
2461 | |
6689 | 2462 2007-06-04 David Bateman <dbateman@free.fr> |
2463 | |
6699 | 2464 * file-ops.cc: Typo. |
2465 | |
6689 | 2466 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
2467 dimensions is greater than 2, collapse to 2-D. | |
2468 | |
6685 | 2469 2007-06-02 David Bateman <dbateman@free.fr> |
2470 | |
2471 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
2472 | |
6680 | 2473 2007-05-31 John W. Eaton <jwe@octave.org> |
2474 | |
2475 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
2476 the computed size is too large for the size of Octave's index type. | |
2477 | |
6662 | 2478 2007-05-23 John W. Eaton <jwe@octave.org> |
2479 | |
2480 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
2481 | |
6629 | 2482 2007-05-16 David Bateman <dbateman@free.fr> |
2483 | |
2484 * dRowVector.cc (linspace): Return second argument if fewer than | |
2485 two values are requested. | |
2486 * CRowVector.cc (linspace): Likewise. | |
2487 | |
6596 | 2488 2007-04-27 John W. Eaton <jwe@octave.org> |
2489 | |
2490 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
2491 | |
6583 | 2492 2007-04-25 John W. Eaton <jwe@octave.org> |
2493 | |
2494 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
2495 | |
6553 | 2496 2007-04-20 John W. Eaton <jwe@octave.org> |
2497 | |
2498 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
2499 not rhs_len == 1. | |
2500 | |
6536 | 2501 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
2502 | |
2503 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
2504 | |
6525 | 2505 2007-04-13 John W. Eaton <jwe@octave.org> |
2506 | |
2507 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
2508 for empty matrix. Only check for colon index equivalence if not empty. | |
2509 | |
6513 | 2510 2007-04-10 John W. Eaton <jwe@octave.org> |
2511 | |
2512 * SparseCmplxQR.cc | |
2513 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
2514 Move GCC_ATTR_UNUSED before the parameter decl. | |
2515 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
2516 | |
6508 | 2517 2007-04-06 John W. Eaton <jwe@octave.org> |
2518 | |
2519 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
2520 * MArray.h (MArray<T>::norm): New function. | |
2521 * MArray.cc: Provide decl. | |
2522 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
2523 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
2524 | |
6490 | 2525 2007-04-04 John W. Eaton <jwe@octave.org> |
2526 | |
2527 * Range.cc (Range::nelem_internal): Likewise. | |
2528 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
2529 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
2530 From Scott Pakin <pakin@lanl.gov>. | |
2531 | |
6486 | 2532 2007-04-04 David Bateman <dbateman@free.fr> |
2533 | |
2534 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
2535 the condition number for positive definite matrices. | |
2536 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
2537 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
2538 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
2539 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
2540 (CHOL(const CHOL&)): Copy xrcond. | |
2541 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
2542 (xrcond): New private data member. | |
2543 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
2544 calc_cond. | |
2545 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
2546 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
2547 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
2548 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
2549 (xrcond): New private data member. | |
2550 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
2551 true, calculate the condition number with dpocon. | |
2552 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
2553 calc_cond is true, calculate the condition number with zpocon. | |
2554 | |
6481 | 2555 2007-04-03 John W. Eaton <jwe@octave.org> |
2556 | |
6482 | 2557 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
2558 | |
2559 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
2560 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
2561 "maybe clobbered by vfork" warning. | |
2562 | |
6483 | 2563 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 2564 if/else. |
2565 | |
2566 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
2567 and destructor. | |
2568 | |
6481 | 2569 * Array.cc (assignN): Don't resize dimension if corresponding |
2570 index is empty. | |
2571 | |
6479 | 2572 2007-04-02 John W. Eaton <jwe@octave.org> |
2573 | |
2574 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
2575 MatrixType argument. | |
2576 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
2577 | |
6467 | 2578 2007-03-27 John W. Eaton <jwe@octave.org> |
2579 | |
2580 * Makefile.in (DISTDIRS): Delete variable. | |
2581 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
2582 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2583 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 2584 |
2585 * MatrixType.cc: Replace all uses of the method | |
2586 octave_sparse_params::get_key ("bandden") with | |
2587 octave_sparse_params::get_bandden (void). | |
2588 (MatrixType::MatrixType (void)): Undo previous change but use | |
2589 octave_sparse_params::get_bandden (void). | |
2590 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
2591 methods. | |
2592 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
2593 Declare them. | |
2594 | |
6458 | 2595 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
2596 David Bateman <dbateman@free.fr> | |
2597 | |
2598 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
2599 Check that all elements are ints before doing anything. Simplify | |
2600 calculation of index values. | |
2601 | |
6457 | 2602 2007-03-26 David Bateman <dbateman@free.fr> |
2603 | |
2604 * Range.cc (Range::all_elements_are_ints): Improve check. | |
2605 | |
6456 | 2606 2007-03-26 John W. Eaton <jwe@octave.org> |
2607 | |
2608 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
2609 * chNDArray.h, chMatrix.h: Provide decls. | |
2610 | |
2611 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
2612 | |
2613 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
2614 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 2615 |
6435 | 2616 2007-03-23 David Bateman <dbateman@free.fr> |
2617 | |
2618 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
2619 little endian. | |
2620 | |
6414 | 2621 2007-03-15 John W. Eaton <jwe@octave.org> |
2622 | |
2623 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
2624 From Alexander Barth <abarth@marine.usf.edu>. | |
2625 | |
6402 | 2626 2007-03-12 John W. Eaton <jwe@octave.org> |
2627 | |
2628 * oct-inttypes.h (octave_int::octave_int (double)): | |
2629 New Specialization. Round arg. | |
2630 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
2631 Round result before converting type. | |
2632 | |
6388 | 2633 2007-03-07 John W. Eaton <jwe@octave.org> |
2634 | |
6392 | 2635 * Array.cc (assign1): Avoid resizing if there is an error. |
2636 | |
6390 | 2637 * dMatrix.cc, CMatrix.cc (operator *): Only check |
2638 f77_exception_encountered immediately after calls that use F77_XFCN. | |
2639 | |
6389 | 2640 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
2641 Only allow resizing empty LHS if it is 0x0. | |
2642 | |
6388 | 2643 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
2644 const T&)): Handle case of more indices than dimensions. | |
2645 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
2646 cases to be handled by assignN. | |
2647 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
2648 Special cases for 2-d array assignments for speed. | |
2649 Improve handling of scalar RHS and empty indices. | |
6384 | 2650 |
6383 | 2651 2007-03-05 David Bateman <dbateman@free.fr> |
2652 | |
2653 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
2654 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
2655 | |
6379 | 2656 2007-03-02 John W. Eaton <jwe@octave.org> |
2657 | |
2658 * str-vec.h (string_vector::empty): Return bool, not int. | |
2659 | |
6375 | 2660 2007-03-01 David Bateman <dbateman@free.fr> |
2661 | |
2662 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
2663 an independent implementation of RFC1321. | |
2664 * oct-md5.h, oct-md5: New files for treating std::string class | |
2665 with MD5. | |
2666 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
2667 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
2668 (LIBOCTAVE_C_SOURCES): Add md5.c | |
2669 | |
6366 | 2670 2007-02-27 John W. Eaton <jwe@octave.org> |
2671 | |
2672 * Makefile.in (uninstall): Delete files listed in | |
2673 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
2674 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
2675 | |
6536 | 2676 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 2677 |
2678 * file-ops.cc (file_ops::recursive_rmdir): | |
2679 Close dir_entry object before calling rmdir. | |
2680 | |
6536 | 2681 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 2682 |
2683 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
2684 | |
6359 | 2685 * sparse-util.h (SparseCholPrint, SparseCholError): |
2686 Tag with OCTAVE_API. | |
2687 | |
6326 | 2688 2007-02-18 David Bateman <dbateman@free.fr> |
2689 | |
2690 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
2691 calling setall and reset to the current generator after. | |
2692 | |
6323 | 2693 2007-02-16 John W. Eaton <jwe@octave.org> |
2694 | |
2695 * oct-shlib.h (octave_shlib::relative): New data member. | |
2696 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
2697 New functions. | |
2698 | |
6321 | 2699 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
2700 | |
2701 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
2702 windows platform. | |
2703 * lo-sysdep.h (octave_popen2): Declare it. | |
2704 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
2705 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
2706 | |
6306 | 2707 2007-02-14 John W. Eaton <jwe@octave.org> |
2708 | |
2709 * kpse.cc (expand_elt): Omit special treatment for //. | |
2710 | |
6273 | 2711 2007-02-06 John W. Eaton <jwe@octave.org> |
2712 | |
2713 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
2714 Don't delete value returned from realpath. | |
2715 | |
6271 | 2716 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
2717 | |
2718 * file-ops.cc (file_ops::canonicalize_file_name): | |
2719 Provide implementation if realpath function is available. | |
2720 | |
6256 | 2721 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
2722 | |
2723 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
2724 | |
6244 | 2725 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
2726 | |
2727 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
2728 Windows systems. | |
2729 | |
6242 | 2730 2007-01-16 John W. Eaton <jwe@octave.org> |
2731 | |
2732 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
2733 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
2734 | |
2735 * oct-fftw.h (fftw_planner): Provide decl. | |
2736 | |
6241 | 2737 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
2738 | |
2739 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
2740 | |
6236 | 2741 2007-01-10 John W. Eaton <jwe@octave.org> |
2742 | |
2743 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
2744 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
2745 | |
6231 | 2746 2007-01-08 David Bateman <dbateman@free.fr> |
2747 | |
2748 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
2749 SPARSESUITE with SUITESPARSE to match upstream name. | |
2750 | |
6228 | 2751 2007-01-05 David Bateman <dbateman@free.fr> |
2752 | |
2753 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
2754 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
2755 set the FFTW wisdom method used. | |
2756 (octave_fftw_planner::create_plan) Modify to allow different | |
2757 methods to be used. | |
2758 (octave_fftw_planner): Move class definition from here. | |
2759 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
2760 and FftwMethod enum. | |
2761 | |
6221 | 2762 2007-01-03 David Bateman <dbateman@free.fr> |
2763 | |
2764 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
2765 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
2766 sparse matrices are special cased. | |
2767 | |
2768 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
2769 matrix, sparse matrix operations. | |
2770 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
2771 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
2772 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
2773 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
2774 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
2775 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
2776 sparse matrices are special cased. | |
2777 | |
6217 | 2778 2006-12-22 David Bateman <dbateman@free.fr> |
2779 | |
2780 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
2781 | |
6216 | 2782 2006-12-22 John W. Eaton <jwe@octave.org> |
2783 | |
2784 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
2785 least 2 dimensions. | |
2786 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
2787 | |
6208 | 2788 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
2789 | |
2790 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
2791 | |
2792 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 2793 implementation for Windows. |
6208 | 2794 |
6207 | 2795 2006-12-06 David Bateman <dbateman@free.fr> |
2796 | |
6208 | 2797 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
2798 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 2799 |
2800 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
2801 (tinverse): New method for triangular matrices. | |
2802 (inverse): New function with matrix type probing. | |
2803 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
2804 declarations. | |
6208 | 2805 * CMatrix.cc: Ditto. |
2806 * CMatrix.h: Ditto. | |
6207 | 2807 |
6205 | 2808 2006-12-06 John W. Eaton <jwe@octave.org> |
2809 | |
2810 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
2811 | |
6202 | 2812 2006-12-05 John W. Eaton <jwe@octave.org> |
2813 | |
2814 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
2815 followed by 'I' or 'i', try reading number after putting | |
2816 characters back on input stream. | |
2817 | |
6198 | 2818 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
2819 | |
2820 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
2821 loop is n, not L. | |
2822 | |
6194 | 2823 2006-11-30 John W. Eaton <jwe@octave.org> |
2824 | |
2825 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
2826 Also recognize [+-][Ii]nf. | |
2827 | |
6187 | 2828 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 2829 |
2830 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
2831 sub-directory. | |
2832 | |
6204 | 2833 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
2834 well when calling tinverse for lower triangular matrices. | |
2835 * CSparse.cc (SparseComplexMatrix::inverse): | |
2836 Ditto. | |
6185 | 2837 |
6183 | 2838 2006-11-21 John W. Eaton <jwe@octave.org> |
2839 | |
2840 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
2841 | |
6182 | 2842 2006-11-20 John W. Eaton <jwe@octave.org> |
2843 | |
2844 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
2845 for ".", and names beginning with "./" or "../". | |
2846 | |
6162 | 2847 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
2848 | |
2849 * CMatrix.cc, dMatrix.cc: New tests. | |
2850 | |
6153 | 2851 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
2852 | |
2853 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
2854 | |
6152 | 2855 2006-11-11 John W. Eaton <jwe@octave.org> |
2856 | |
2857 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
2858 Use $(simple-move-if-change-rule) here. | |
2859 | |
6148 | 2860 2006-11-09 David Bateman <dbateman@free.fr> |
2861 | |
2862 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
2863 octave_idx_type, not int. | |
2864 | |
6145 | 2865 2006-11-08 John W. Eaton <jwe@octave.org> |
2866 | |
2867 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
2868 | |
6141 | 2869 2006-11-06 John W. Eaton <jwe@octave.org> |
2870 | |
2871 * Array.cc (assignN): Exit early if invalid indices are found. | |
2872 | |
6140 | 2873 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
2874 | |
2875 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
2876 | |
6137 | 2877 2006-11-03 John W. Eaton <jwe@octave.org> |
2878 | |
2879 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
2880 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
2881 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
2882 | |
6123 | 2883 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
2884 | |
2885 * oct-shlib.cc: Undefine min and max after including windows.h. | |
2886 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
2887 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
2888 lo-sysdep.cc. | |
2889 | |
6113 | 2890 2006-10-27 John W. Eaton <jwe@octave.org> |
2891 | |
6119 | 2892 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
2893 | |
2894 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
2895 | |
2896 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
2897 NDS_CMP_OPS2): New macros. | |
6113 | 2898 |
6111 | 2899 2006-10-26 John W. Eaton <jwe@octave.org> |
2900 | |
6119 | 2901 * mx-ops (core-type): New field for integer types. |
2902 * mk-ops.awk: Handle core-type for integer comparison ops. | |
2903 | |
6111 | 2904 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
2905 Move here from src/cutils.c. | |
2906 * lo-utils.h: Provide decls. | |
2907 * strcasecmp.c: Move here from src/strcasecmp.c. | |
2908 * strncase.c: Move here from src/strncase.c. | |
2909 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
2910 | |
6106 | 2911 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
2912 | |
2913 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
2914 | |
6708 | 2915 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
2916 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
2917 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
2918 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
2919 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
2920 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
2921 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
2922 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
2923 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2924 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2925 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2926 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2927 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2928 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2929 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2930 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2931 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2932 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2933 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2934 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2935 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2936 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2937 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2938 |
6105 | 2939 2006-10-26 John W. Eaton <jwe@octave.org> |
2940 | |
2941 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2942 type qualification for OP. | |
2943 | |
6101 | 2944 2006-10-26 David Bateman <dbateman@free.fr> |
2945 | |
2946 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2947 octave_idx_type)): Be more careful with the size of the input | |
2948 matrix, and therefore don't create or read non existent data. | |
2949 | |
6092 | 2950 2006-10-25 John W. Eaton <jwe@octave.org> |
2951 | |
2952 * Sparse.cc (assign): Clear lhs index after error. | |
2953 | |
6093 | 2954 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2955 |
2956 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2957 Fix previous patch so it works. | |
2958 | |
6087 | 2959 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2960 | |
6095 | 2961 * glob-match.h (glob_match::glob_match (const std::string&, |
2962 unsigned int)): Delete initializer for first arg. | |
2963 | |
6093 | 2964 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2965 New functions. | |
2966 | |
6087 | 2967 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2968 | |
6096 | 2969 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2970 same code as __MINGW32__. | |
2971 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2972 the same as for __MINGW32__. | |
2973 | |
2974 * randpoisson.c: Undefine INFINITE before redefining. | |
2975 | |
6079 | 2976 2006-10-24 David Bateman <dbateman@free.fr> |
2977 | |
2978 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2979 lhs at the point we know the assignment can succeed if the lhs is | |
2980 empty. | |
2981 | |
6072 | 2982 2006-10-23 John W. Eaton <jwe@octave.org> |
2983 | |
2984 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2985 | |
6061 | 2986 2006-10-17 John W. Eaton <jwe@octave.org> |
2987 | |
2988 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2989 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2990 and _copysign. | |
2991 | |
6059 | 2992 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2993 |
6061 | 2994 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2995 | |
6708 | 2996 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2997 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2998 |
6058 | 2999 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
3000 | |
6059 | 3001 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
3002 | |
6051 | 3003 * Makefile.in: Adapt rules to use $(LIBPRE). |
3004 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3005 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 3006 |
3007 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
3008 or p == 0. | |
3009 | |
6018 | 3010 2006-10-02 John W. Eaton <jwe@octave.org> |
3011 | |
3012 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
3013 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
3014 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3015 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 3016 |
3017 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 3018 Remove spurious warning. |
5996 | 3019 |
5992 | 3020 2006-09-15 John W. Eaton <jwe@octave.org> |
3021 | |
3022 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
3023 Handle resizing. | |
3024 | |
3025 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
3026 | |
5983 | 3027 2006-09-11 John W. Eaton <jwe@octave.org> |
3028 | |
3029 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
3030 Handle M*v and rv*cv special cases. | |
3031 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
3032 ComplexMatrix&))): Likewise. | |
3033 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
3034 | |
3035 * dRowVector.cc (operator * (const RowVector&, const | |
3036 ColumnVector&)): Call xddot here instead of using a Fortran | |
3037 function directly. | |
3038 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
3039 ComplexColumnVector&)): Call xzdotu here. | |
3040 | |
3041 2006-09-05 John W. Eaton <jwe@octave.org> | |
3042 | |
3043 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
3044 elements to '\0', not ' '. | |
3045 | |
5972 | 3046 2006-08-25 John W. Eaton <jwe@octave.org> |
3047 | |
3048 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
3049 | |
5958 | 3050 2006-08-23 John W. Eaton <jwe@octave.org> |
3051 | |
3052 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
3053 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
3054 | |
5955 | 3055 2006-08-22 John W. Eaton <jwe@octave.org> |
3056 | |
5956 | 3057 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
3058 * dMatrix.cc (Matrix::save_ascii): New function. | |
3059 | |
5955 | 3060 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
3061 If array is empty, return value is same size as array. | |
3062 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
3063 If array is empty, produce correctly sized return value. | |
3064 | |
5940 | 3065 2006-08-18 John W. Eaton <jwe@octave.org> |
3066 | |
5943 | 3067 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
3068 * dMatrix.h: Provide decl. | |
3069 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
3070 * dNDArray.h: Provide decl. | |
3071 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
3072 New function. | |
3073 * intNDArray.h: Provide decl. | |
3074 | |
5940 | 3075 * Array.cc (Array<T>::permute): Only rearrange values if array is |
3076 not empty. | |
3077 | |
5904 | 3078 2006-07-26 John W. Eaton <jwe@octave.org> |
3079 | |
3080 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
3081 DET::value_will_overflow): Use xlog2 instead of log2. | |
3082 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
3083 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
3084 * CmplxDET.cc (ComplexDET::initialize10, | |
3085 ComplexDET::value_will_underflow, | |
3086 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
3087 (ComplexDET::initialize2, ComplexDET::initialize10): | |
3088 Use xround instead of round. | |
3089 (ComplexDET::initialize2, ComplexDET::value): | |
3090 Use xexp2 instead of exp2. | |
3091 | |
3092 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
3093 (xlog2, xexp2): New functions. | |
3094 * lo-mappers.h: Provide decls. | |
3095 | |
5900 | 3096 2006-07-22 John W. Eaton <jwe@octave.org> |
3097 | |
3098 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
3099 Sparse<T>::mex_get_jc): New functions. | |
3100 | |
3101 2006-07-21 John W. Eaton <jwe@octave.org> | |
3102 | |
3103 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
3104 * Array.h (Array<T>::mex_get_data): New function. | |
3105 | |
5898 | 3106 2006-07-19 John W. Eaton <jwe@octave.org> |
3107 | |
3108 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
3109 | |
5893 | 3110 2006-07-16 John W. Eaton <jwe@octave.org> |
3111 | |
3112 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
3113 Rename from SparseParams. Use same implementation method as other | |
3114 singleton classes in Octave. Change all uses of | |
3115 Voctave_sparse_controls to use static functions from | |
3116 octave_sparse_params class instead. | |
3117 | |
3118 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
3119 SparseParams::get_key): Pass std::string arg by const reference, | |
3120 not const value. | |
3121 | |
5892 | 3122 2006-07-15 John W. Eaton <jwe@octave.org> |
3123 | |
3124 * data-conv.cc: Instantiante swap_bytes templates here. | |
3125 | |
3126 * MatrixType.cc (MatrixType::MatrixType): | |
3127 Use complete initializer lists in constructors. | |
3128 | |
5880 | 3129 2006-07-06 John W. Eaton <jwe@octave.org> |
3130 | |
3131 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
3132 New constructor. | |
3133 * str-vec.h: Provide decl. | |
3134 | |
5876 | 3135 2006-07-01 David Bateman <dbateman@free.fr> |
3136 | |
3137 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
3138 elements on the diagonal. Allow both Upper and Lower triangular | |
3139 matrices to be treated. | |
3140 * CSparse.cc (tinverse): ditto. | |
3141 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
3142 constant assignment. | |
3143 | |
5870 | 3144 2006-06-30 John W. Eaton <jwe@octave.org> |
3145 | |
5872 | 3146 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
3147 * cmd-edit.cc (editor::read_init_file): Ditto. | |
3148 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 3149 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 3150 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 3151 |
5870 | 3152 * data-conv.cc (data_conv::string_to_data_type): |
3153 Correctly handle leading "*". | |
3154 | |
5869 | 3155 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
3156 | |
3157 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
3158 array access. | |
3159 | |
5866 | 3160 2006-06-27 John W. Eaton <jwe@octave.org> |
3161 | |
3162 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
3163 | |
5864 | 3164 2006-06-21 John W. Eaton <jwe@octave.org> |
3165 | |
3166 * oct-shlib.cc (octave_dlopen_shlib::close, | |
3167 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
3168 Skip do_close_hook if cl_hook is 0. | |
3169 | |
5863 | 3170 2006-06-16 John W. Eaton <jwe@octave.org> |
3171 | |
3172 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
3173 * randmtzig.h: Don't inlcude config.h. | |
3174 | |
5837 | 3175 2006-05-31 David Bateman <dbateman@free.fr> |
3176 | |
3177 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
3178 | |
5828 | 3179 2006-05-23 John W. Eaton <jwe@octave.org> |
3180 | |
3181 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
3182 typedefs, or define them if those files are not available. | |
3183 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
3184 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
3185 octave_uint64_t): Delete typedefs. Replace all uses of these | |
3186 types with int8_t, int16_t, etc. | |
3187 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
3188 Delete definitions. Replace all uses of these macros with int8_t, | |
3189 int16_t, etc. | |
3190 * randmtzig.h: Delete integer typedefs. | |
3191 | |
5822 | 3192 2006-05-18 John W. Eaton <jwe@octave.org> |
3193 | |
3194 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
3195 From Keith Goodman <kwgoodman@gmail.com>. | |
3196 | |
5813 | 3197 2006-05-08 David Bateman <dbateman@free.fr> |
3198 | |
3199 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
3200 modification. | |
3201 | |
5797 | 3202 2006-05-09 David Bateman <dbateman@free.fr> |
3203 | |
3204 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
3205 ov-cx-sparse. and error_state. | |
3206 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
3207 | |
5795 | 3208 2006-05-08 David Bateman <dbateman@free.fr> |
3209 | |
3210 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
3211 first pass and use to determine which algorithm to use on a | |
3212 column-by-column basis. | |
3213 | |
5792 | 3214 2006-05-04 David Bateman <dbateman@free.fr> |
3215 | |
3216 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
3217 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
3218 CXSparse or later | |
3219 | |
5785 | 3220 2006-05-03 David Bateman <dbateman@free.fr> |
3221 | |
3222 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
3223 External declaration of lapack triangular and Cholesky codes. | |
3224 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
3225 ComplexMatrix::fsolve): New private solver codes for | |
3226 upper, lower and LU/Cholesky solvers. | |
3227 (ComplexMatrix::solve): New versions for cached matrix | |
3228 type. Adapt old versions to call new versions | |
3229 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3230 new solvers. | |
3231 (solve): New versions for cached matrix type. | |
3232 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
3233 External declaration of lapack triangular and Cholesky codes. | |
3234 (Matrix::utsolve, Matrix::ltsolve, | |
3235 Matrix::fsolve): New private solver codes for | |
3236 upper, lower and LU/Cholesky solvers. | |
3237 (Matrix::solve): New versions for cached matrix | |
3238 type. Adapt old versions to call new versions | |
3239 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3240 new solvers. | |
3241 (solve): New versions for cached matrix type. | |
3242 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
3243 * CSparse.h: ditto. | |
3244 * dSparse.cc: ditto. | |
3245 * dSparse.h: ditto. | |
3246 * SparseCmplxCHOL.cc: ditto. | |
3247 * SparsedbleCHOL.cc: ditto. | |
3248 * sparse-dmsolve.cc: ditto. | |
3249 * SparseType.cc, SparseType.h: delete. | |
3250 * MatrixType.cc: New file for class to cache matrix type, based on | |
3251 old SparseType class but caching matrix and sparse types. | |
3252 * MatrixType.h: ditto. | |
3253 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
3254 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
3255 respectively. | |
3256 * mx-base.h: Include MatrixTye.h as header file. | |
3257 | |
5781 | 3258 2006-05-01 John W. Eaton <jwe@octave.org> |
3259 | |
3260 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
3261 Delete WARN_FUTURE arg. Change all uses. | |
3262 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
3263 Change all uses. Use current_liboctave_warning_with_id_handler. | |
3264 (octave_base_shlib::open): Delete arg. Change all derived classes | |
3265 and uses. | |
3266 | |
3267 2006-04-29 John W. Eaton <jwe@octave.org> | |
3268 | |
3269 * Array-flags.cc, Array-flags.h: Delete. | |
3270 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
3271 (MATRIX_INC): Remove Array-flags.h from the list. | |
3272 | |
3273 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
3274 Use current_liboctave_warning_with_id_handler | |
3275 with warning ID Octave:resize-on-range-error. | |
3276 * idx-vector.h: Fix decl. | |
3277 * Array.cc, Sparse.cc: Change all callers. | |
3278 | |
3279 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
3280 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
3281 with warning ID Octave:fortran-indexing instead of | |
3282 liboctave_wfi_flag. | |
3283 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
3284 | |
5777 | 3285 2006-04-26 John W. Eaton <jwe@octave.org> |
3286 | |
3287 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
3288 New static data. | |
3289 * pathsearch.h: Provide decls. | |
3290 (dir_path::is_path_sep): New function. | |
3291 | |
5766 | 3292 2006-04-18 John W. Eaton <jwe@octave.org> |
3293 | |
3294 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
3295 Omit inline from decl. | |
3296 | |
3297 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
3298 local array with variable dimension. | |
3299 | |
5764 | 3300 2006-04-16 John W. Eaton <jwe@octave.org> |
3301 | |
5765 | 3302 * lo-sstream.h: Delete. |
3303 * Makefile.in (INCLUDES): Remove it from the list. | |
3304 | |
3305 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
3306 * Sparse.cc (Sparse::range_error): Likewise. | |
3307 * DASSL.cc (DASSL::error_message): Likewise. | |
3308 * LSODE.cc (LSODE::error_message): Likewise. | |
3309 * DASRT.cc (DASRT::error_message): Likewise. | |
3310 * DASPK.cc (DASPK::error_message): Likewise. | |
3311 * Array.cc (Array::range_error): Likewise. | |
3312 | |
5764 | 3313 * kpse.cc (kpse_hash): Rename from hash. |
3314 (hash_lookup): Call kpse_hash instead of hash. | |
3315 | |
3316 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
3317 to avoid local array with variable dimension. | |
3318 | |
5760 | 3319 2006-04-13 David Bateman <dbateman@free.fr> |
3320 | |
3321 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3322 Optimize assignment. | |
3323 | |
3324 2006-04-13 John W. Eaton <jwe@octave.org> | |
3325 | |
3326 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3327 Eliminate unnecessary casts. | |
3328 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
3329 | |
3330 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
3331 (log_search, dir_links): Use static_cast instead of C-style cast. | |
3332 | |
3333 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
3334 * oct-alloc.cc (allocator::grow): Likewise. | |
3335 * CSparse.cc (SparseComplexMatrix::determinant, | |
3336 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
3337 Likewise. | |
3338 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
3339 | |
3340 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
3341 Use static_cast instead of C-style cast. | |
3342 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3343 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
3344 | |
3345 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
3346 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
3347 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
3348 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
3349 Use reinterpret_cast instead of X_CAST. | |
3350 | |
3351 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
3352 return value here. | |
3353 | |
5752 | 3354 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
3355 | |
3356 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
3357 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
3358 | |
5730 | 3359 2006-04-03 David Bateman <dbateman@free.fr> |
3360 | |
5731 | 3361 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
3362 to avoid copy of original matrix. | |
3363 | |
5730 | 3364 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
3365 randmtzig.h to the list. | |
3366 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
3367 randmtzig.c to the list. | |
3368 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
3369 (use_old_generators): New variable. | |
3370 (old_initialized): Rename from initialized. | |
3371 (new_initialized): New variable. | |
3372 (oct_init_by_entropy): New function. | |
3373 (maybe_initialize): Initialize new or old generator depending on | |
3374 value of use_old_generators. | |
3375 (octave_rand::state): New functions. | |
3376 (octave_rand::distribution): Add gamma, exponential and poisson | |
3377 distributions. | |
3378 (octave_rand::exponential_distribution, | |
3379 octave_rand::poisson_distribution, | |
3380 octave_rand::gamma_distribution): New methods to select | |
3381 exponential, poisson or gamma distribution. | |
3382 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3383 octave_rand::vector): Add new distributions. | |
3384 * oct-rand.h: Provide decls for new functions. | |
3385 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
3386 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3387 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
3388 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
3389 randmtzig.h: New files. | |
3390 | |
5717 | 3391 2006-03-24 John W. Eaton <jwe@octave.org> |
3392 | |
3393 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
3394 Array<octave_idx_type>, so fortran_vec returns pointer to | |
3395 octave_idx_type, not pointer to int. | |
3396 | |
3397 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
3398 ComplexMatrix::column (char*)): Delete. | |
3399 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
3400 Matrix::column (char*)): Delete. | |
3401 | |
5713 | 3402 2006-03-21 David Bateman <dbateman@free.fr> |
3403 | |
3404 * SparseQR.h: Publish externally used friends. | |
3405 * SparseCmplxQR.h: ditto. | |
3406 | |
5700 | 3407 2006-03-21 John W. Eaton <jwe@octave.org> |
3408 | |
3409 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
3410 call to xdbetai. | |
3411 | |
5697 | 3412 2006-03-21 David Bateman <dbateman@free.fr> |
3413 | |
5701 | 3414 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
3415 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 3416 |
3417 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
3418 fallback to QR solvers to be optional. | |
3419 * CSparse.cc (solve): Ditto. | |
3420 * dSparse.h (solve): update declaration for new argument. | |
3421 * CSparse.h (solve): Ditto. | |
3422 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
3423 to bypass QR solvers when solving the well determined part of | |
3424 the problem. | |
5697 | 3425 |
5690 | 3426 2006-03-17 John W. Eaton <jwe@octave.org> |
3427 | |
3428 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
3429 | |
5681 | 3430 2006-03-16 David Bateman <dbateman@free.fr> |
3431 | |
3432 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
3433 reduction of matrix size, except for a couple of cases where nzmax | |
3434 is needed. | |
3435 (zpbcon): Correct declaration of lapack zpbcon function. | |
3436 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
3437 an argument to allow the calculation of condition number to be | |
3438 optional. | |
3439 (bsolve): Add code for the calculation of the condition number | |
3440 using zpbcon and zgbcon. | |
3441 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
3442 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
3443 singular if singularity is detected. | |
3444 (solve): Use optional argument to disable calculation of | |
3445 condition number for all but fsolve, for speed. Add code to | |
3446 allow rectnagular matrices or matrices identified as singular | |
3447 to be treated. | |
3448 (lssolve): delete. | |
3449 (operator *): Don't recast real matrices as complex, but | |
3450 rather use the macro directly on the real data. | |
3451 * dSparse.cc: ditto. | |
3452 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
3453 fsolve, factorize): Update declaration for new argument to | |
3454 calculate the condition number. | |
3455 (lssolve): delete. | |
3456 * dSparse.h: ditto. | |
3457 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
3458 reduction of matrix size, except for a couple of cases where | |
3459 nzmax is needed. | |
3460 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
3461 reduction of matrix size, except for a couple of cases where | |
3462 nzmax is needed. | |
3463 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
3464 Special case strict permutations for speed. | |
3465 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
3466 reduction of matrix size, except for a couple of cases where | |
3467 nzmax is needed. | |
3468 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
3469 macros to allow mixed complex/real arguments. | |
3470 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
3471 value. | |
3472 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
3473 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
3474 of permutated triangular matrices to avoid seg-faults. Disable | |
3475 detection of underdetermined lower and over-determined upper | |
3476 matrix due to problems with non minimum norm solutions. | |
3477 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
3478 * Makefile.in: add sparse-dmsolve.cc to targets. | |
3479 | |
5675 | 3480 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
3481 | |
3482 * oct-time.cc (octave_strptime::init): Return useful character count. | |
3483 | |
5648 | 3484 2006-03-08 David Bateman <dbateman@free.fr> |
3485 | |
3486 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
3487 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
3488 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
3489 * SparseQR.cc: ditto. | |
3490 * SparseQR.h: ditto. | |
3491 * oct-sparse.h: ditto. | |
3492 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
3493 Declare info variable as volatile. | |
3494 | |
3495 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
3496 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
3497 | |
5634 | 3498 2006-03-01 John W. Eaton <jwe@octave.org> |
3499 | |
3500 * CMatrix.cc (ComplexMatrix::determinant): | |
3501 Scale result by factors of 2, not 10. | |
3502 * dMatrix.cc (Matrix::determinant): Likewise. | |
3503 | |
3504 * dbleDET.h (DET::DET): Use initializer list. | |
3505 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
3506 DET::exponent10): New functions. | |
3507 (DET::det): Delete. | |
3508 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
3509 Store value internally with double and int instead of 2-element | |
3510 double vector. | |
3511 (DET::initialize2, DET::initialize10): Provide decls. | |
3512 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
3513 Return bool value, not int. | |
3514 (DET::initialize2, DET::initialize10): New functions. | |
3515 | |
3516 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
3517 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
3518 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
3519 (ComplexDET::det): Delete. | |
3520 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
3521 ComplexDET::base2): New data members. | |
3522 Store value internally with Complex and int instead of 2-element | |
3523 Complex vector. | |
3524 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
3525 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
3526 ComplexDET::value_will_underflow): Return bool value, not int. | |
3527 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
3528 | |
5632 | 3529 2006-02-24 John W. Eaton <jwe@octave.org> |
3530 | |
3531 * Array.cc (assignN): Clear index before reshaping. | |
3532 | |
3533 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
3534 | |
5630 | 3535 2006-02-20 David Bateman <dbateman@free.fr> |
3536 | |
3537 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
3538 matrix must be square in diagonal, permuted diagonal, triangular | |
3539 and permuted triangular back/forward substitution code. Change | |
3540 ambiguous use of no. rows and columns. | |
3541 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
3542 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
3543 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
3544 rectangular diagonal, permuted diagonal, triangular and permuted | |
3545 triangular matrices. | |
3546 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
3547 Treat case where third argument is zero. | |
3548 | |
5621 | 3549 2006-02-15 John W. Eaton <jwe@octave.org> |
3550 | |
5622 | 3551 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
3552 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
3553 | |
5621 | 3554 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
3555 | |
5619 | 3556 2006-02-13 David Bateman <dbateman@free.fr> |
3557 | |
3558 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
3559 ccolamd and cxsparse | |
3560 | |
5617 | 3561 2006-02-13 John W. Eaton <jwe@octave.org> |
3562 | |
5618 | 3563 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
3564 while loop condition. | |
3565 (kpse_path_iterator::operator =): Declare as private function but | |
3566 don't define to prevent attempts to use assignment operator. | |
3567 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 3568 |
5615 | 3569 2006-02-10 John W. Eaton <jwe@octave.org> |
3570 | |
3571 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
3572 product of all dimensions in CP_SZ. | |
3573 | |
5611 | 3574 2006-02-09 John W. Eaton <jwe@octave.org> |
3575 | |
3576 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 3577 product of all dimensions in CP_SZ. |
5611 | 3578 |
5610 | 3579 2006-02-09 David Bateman <dbateman@free.fr> |
3580 | |
3581 * SparseQR.cc: new file for real sparse QR class. | |
3582 * SparseQR.h: declaration. | |
3583 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
3584 * SparseCmplxQR.h: declaration. | |
3585 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3586 (factorize, fsolve): Enable code code lssolve. | |
3587 (lssolve): disable unused args, write based in above sparse QR class. | |
3588 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
3589 (factorize, fsolve): Enable code code lssolve. | |
3590 (lssolve): disable unused args, write based in above sparse QR class. | |
3591 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
3592 Include CXSparse headers. | |
3593 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
3594 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
3595 | |
5607 | 3596 2006-02-08 John W. Eaton <jwe@octave.org> |
3597 | |
3598 * Array-util.h (calc_permutated_idx): Delete. | |
3599 * Array.cc (permute_vector): New data structure. | |
3600 (permute_vector_compare): New function. | |
3601 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
3602 improved performance. | |
3603 | |
5606 | 3604 2006-02-04 David Bateman <dbateman@free.fr> |
3605 | |
3606 * COLAMD: Remove all files, as now unused. | |
3607 | |
5604 | 3608 2006-01-31 John W. Eaton <jwe@octave.org> |
3609 | |
3610 * Sparse.h (Sparse<T>::nzmax): New function. | |
3611 (Sparse<T>::nnz): Rename from nonzero. | |
3612 Change all uses of old nnz function to be nzmax. Change all uses | |
3613 of nonzero to be nnz. | |
3614 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
3615 | |
5603 | 3616 2006-01-21 David Bateman <dbateman@free.fr> |
3617 | |
3618 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
3619 (bool octave_idx_vector_comp): New function. | |
3620 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
3621 indexed idx_vector sorting function. | |
3622 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
3623 (class octave_idx_vector_sort): New class for indexed idx_vector | |
3624 sorting. | |
3625 (bool octave_idx_vector_comp): Declaration. | |
3626 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
3627 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
3628 class. | |
3629 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
3630 | |
5602 | 3631 2006-01-30 John W. Eaton <jwe@octave.org> |
3632 | |
3633 * so-array.h (streamoff_array::nnz): New funtion. | |
3634 * boolNDArray.h (boolNDArray::nnz): New function. | |
3635 * MArrayN.h (MArrayN<T>::nnz): New function. | |
3636 * MArray.h (MArray<T>::nnz): New function. | |
3637 | |
5587 | 3638 2006-01-04 David Bateman <dbateman@free.fr> |
3639 | |
3640 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
3641 elements not being sorted in return matrix. Sort them, and make | |
3642 solver select between two algorithms to further improve the | |
3643 performance. | |
3644 * dSparse.cc: include oct-sort.h. | |
3645 * CSparse.cc: ditto. | |
3646 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
3647 | |
5586 | 3648 2005-12-28 David Bateman <dbateman@free.fr> |
3649 | |
5587 | 3650 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
3651 faster in all cases, and significantly so for low density or small | |
3652 order problems. | |
5586 | 3653 |
5552 | 3654 2005-11-30 John W. Eaton <jwe@octave.org> |
3655 | |
3656 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
3657 before setting any values in either array. | |
3658 | |
5547 | 3659 2005-11-29 John W. Eaton <jwe@octave.org> |
3660 | |
3661 * oct-uname.h, oct-uname.cc: New files. | |
3662 * Makefile.in: Add them to the appropriate lists. | |
3663 | |
5535 | 3664 2005-11-11 John W. Eaton <jwe@octave.org> |
3665 | |
3666 * Array.cc (Array<T>::indexN): Simplify. | |
3667 | |
5533 | 3668 2005-11-09 John W. Eaton <jwe@octave.org> |
3669 | |
3670 * oct-inttypes.h (octave_int::operator char (void) const): | |
3671 New conversion op. | |
3672 | |
5527 | 3673 2005-11-01 John W. Eaton <jwe@octave.org> |
3674 | |
3675 * Makefile.in (distclean): Also remove oct-types.h. | |
3676 From Quentin Spencer <qspencer@ieee.org>. | |
3677 | |
5526 | 3678 2005-10-31 David Bateman <dbateman@free.fr> |
3679 | |
3680 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
3681 preprocessor defined TRUE/FALSE. | |
3682 | |
5523 | 3683 2005-10-30 John W. Eaton <jwe@octave.org> |
3684 | |
3685 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
3686 (MX_ND_CUMULATIVE_OP): Likewise. | |
3687 | |
5519 | 3688 2005-10-29 John W. Eaton <jwe@octave.org> |
3689 | |
5520 | 3690 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
3691 things up. Simplify. | |
3692 | |
5519 | 3693 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
3694 case for "vector_equivalent". | |
3695 | |
3696 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
3697 | |
5518 | 3698 2005-10-28 John W. Eaton <jwe@octave.org> |
3699 | |
3700 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
3701 From Quentin Spencer <qspencer@ieee.org>. | |
3702 | |
3703 * sparse-base-chol.cc: Use C++ true/false instead of | |
3704 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
3705 | |
5516 | 3706 2005-10-27 John W. Eaton <jwe@octave.org> |
3707 | |
3708 * Array.cc (assignN): Reshape to final size instead of resizing. | |
3709 | |
5512 | 3710 2005-10-26 John W. Eaton <jwe@octave.org> |
3711 | |
3712 * oct-sparse.h: New file. | |
3713 * oct-sparse.h.in: Delete. | |
3714 | |
5511 | 3715 2005-10-26 David Bateman <dbateman@free.fr> |
3716 | |
3717 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
3718 * sparse-base-chol.cc: ditto. | |
3719 | |
5508 | 3720 2005-10-26 John W. Eaton <jwe@octave.org> |
3721 | |
3722 Changes for GCC 4.1, tip from Arno J. Klaassen | |
3723 <arno@heho.snv.jussieu.fr>: | |
3724 | |
5509 | 3725 * dSparse.h (real (const SparseComplexMatrix&)): |
3726 Publish externally used friend function. | |
3727 (imag (const SparseComplexMatrix&)): Likewise. | |
3728 | |
5508 | 3729 * dColVector.h (real (const ComplexColumnVector&)): |
3730 Publish externally used friend function. | |
3731 (imag (const ComplexColumnVector&)): Likewise. | |
3732 | |
3733 * dNDArray.h (real (const ComplexNDArray&)): | |
3734 Publish externally used friend function. | |
3735 (imag (const ComplexNDArray&)): Likewise. | |
3736 | |
3737 * dMatrix.h (operator * (const ComplexMatrix&)): | |
3738 Move decl outside class. No need to be friend. | |
3739 (real (const ComplexMatrix&)): Publish externally used friend function. | |
3740 (imag (const ComplexMatrix&)): Likewise. | |
3741 | |
3742 * CMatrix.h: (operator * (const ColumnVector&, const | |
3743 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
3744 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
3745 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
3746 Likewise. | |
3747 | |
5506 | 3748 2005-10-23 David Bateman <dbateman@free.fr> |
3749 | |
3750 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
3751 elements need to be removed. | |
3752 | |
3753 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
3754 versions of cholmod. | |
3755 | |
3756 * CSparse.cc (tinverse): New private function for the inversion of | |
3757 an upper triangular matrix. | |
3758 (dinverse): ditto for diagonal matrices. | |
3759 (inverse): Add SparseType as an argument. Implement matrix inverse | |
3760 using tinverse and dinverse. | |
3761 (fsolve): Use cholmod to implement Cholesky solver. | |
3762 * CSparse.h (tinverse, dinverse): Declarations | |
3763 (inverse): Alter declaration to include SparseType. | |
3764 | |
3765 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
3766 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
3767 | |
3768 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
3769 | |
3770 * sparse-util.cc: New file for sparse utility functions. | |
3771 * sparse-util.h: New file with declarations of sparse utility | |
3772 functions. | |
3773 | |
3774 * sparse-base-chol.cc: New file with sparse cholesky class based | |
3775 on cholmod. | |
3776 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
3777 class based on cholmod. | |
3778 | |
3779 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
3780 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
3781 | |
3782 * SparsedbleCHOL.cc: ditto. | |
3783 * SparsedbleCHOL.h: ditto. | |
3784 | |
3785 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
3786 (INCLUDES): Include sparse-util.h | |
3787 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
3788 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
3789 | |
5489 | 3790 2005-10-12 John W. Eaton <jwe@octave.org> |
3791 | |
3792 * oct-env.cc (octave_env::have_x11_display): New function. | |
3793 * oct-env.h: Provide decl. | |
3794 | |
5476 | 3795 2005-09-29 John W. Eaton <jwe@octave.org> |
3796 | |
3797 * file-stat.h (file_stat::mode): New function. | |
3798 | |
3799 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
3800 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
3801 file_stat::is_reg, file_stat::is_sock): New static functions. | |
3802 * file-stat.h: Provide decls. | |
3803 | |
3804 2005-09-28 John W. Eaton <jwe@octave.org> | |
3805 | |
3806 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
3807 * file-ops.h: Provide decl. | |
3808 | |
5454 | 3809 2005-09-19 David Bateman <dbateman@free.fr> |
3810 | |
3811 * oct-env.cc (octave_env::do_get_home_directory): | |
3812 Also check HOMEDRIVE under mingw. | |
3813 | |
5455 | 3814 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
3815 | |
5453 | 3816 2005-09-16 John W. Eaton <jwe@octave.org> |
3817 | |
3818 * oct-syscalls.cc: Include lo-utils.h here. | |
3819 (octave_syscalls::waitpid): Call octave_waitpid here. | |
3820 | |
3821 * lo-cutils.c (octave_waitpid): New function. | |
3822 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
3823 oct-syscalls.cc | |
3824 | |
3825 | |
3826 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
3827 waitpid in src/sysdep.h. Make this header C-compatible. | |
3828 | |
3829 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
3830 Change all uses. | |
3831 | |
5451 | 3832 2005-09-15 John W. Eaton <jwe@octave.org> |
3833 | |
3834 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
3835 | |
3836 * oct-sparse.h.in: New file. | |
3837 * Makefile.in (DISTFILES): Include it in the list. | |
3838 (INCLUDES): Add oct-sparse.h to the list. | |
3839 | |
3840 2005-09-15 David Bateman <dbateman@free.fr> | |
3841 | |
3842 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
3843 headers. Remove include of umfpack.h. | |
3844 * CSparse.cc : ditto. | |
3845 * SparsedbleLU.cc : ditto. | |
3846 * SparseCmplxLU.cc : ditto. | |
3847 | |
3848 * COLAMD : Remove colamd files from octave. | |
3849 * COLAMD.files : delete. | |
3850 * COLAMD.README : delete. | |
3851 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
3852 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
3853 under mingw. | |
3854 | |
3855 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
3856 in definition. | |
3857 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
3858 change of cast not allowed under g++ 3.x. | |
3859 * lo-utils.h (octave_w32_library_search): Declaration. | |
3860 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
3861 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
3862 | |
5442 | 3863 2005-09-07 John W. Eaton <jwe@octave.org> |
3864 | |
3865 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
3866 based on current code in Bash. Handle a few more escape | |
3867 sequences. Do a better job of decoding \W. | |
3868 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3869 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 3870 |
3871 * COLAMD: Update version of colamd to v2.4. | |
3872 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
3873 colamd.c for long version. | |
3874 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3875 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 3876 |
3877 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
3878 mixed sparse/full multiply. | |
3879 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
3880 mixed sparse/full multiply. | |
3881 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
3882 mixed sparse/full multiply operators. | |
3883 | |
5420 | 3884 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
3885 | |
3886 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
3887 avoid warnings for unsigned types. | |
3888 | |
5404 | 3889 2005-07-07 John W. Eaton <jwe@octave.org> |
3890 | |
3891 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
3892 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
3893 | |
5392 | 3894 2005-06-15 John W. Eaton <jwe@octave.org> |
3895 | |
5394 | 3896 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
3897 Flush stdout here. | |
3898 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
3899 | |
5392 | 3900 * Array.h (Array::resize): Change int args to octave_idx_type. |
3901 | |
5386 | 3902 2005-06-14 John W. Eaton <jwe@octave.org> |
3903 | |
5389 | 3904 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
3905 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
3906 octave_is_NaN_or_NA to xisnan. | |
3907 | |
3908 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
3909 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
3910 | |
3911 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
3912 lo_ieee_isnan. | |
3913 | |
5387 | 3914 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
3915 value is greater than FLT_MAX. | |
3916 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3917 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
3918 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
3919 | |
3920 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
3921 values too. | |
3922 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
3923 | |
3924 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3925 NA, Inf values. | |
3926 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3927 |
5385 | 3928 2005-06-14 David Bateman <dbateman@free.fr> |
3929 | |
5387 | 3930 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3931 NA values. | |
3932 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3933 |
5379 | 3934 2005-06-02 John W. Eaton <jwe@octave.org> |
3935 | |
3936 * Array.cc (assignN): Try harder to correctly resize previously | |
3937 empty LHS. | |
3938 | |
5351 | 3939 2005-05-16 David Bateman <dbateman@free.fr> |
3940 | |
3941 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3942 * CSparse.h: ditto. | |
3943 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3944 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3945 |
3946 * dSparse.cc (determinant): Free numeric factorization after | |
3947 sucessful calculation. | |
3948 * CSparse.cc (determinant): ditto. | |
3949 | |
5340 | 3950 2005-05-06 John W. Eaton <jwe@octave.org> |
3951 | |
3952 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3953 chol_mat. | |
3954 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3955 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3956 Provide decls. | |
3957 | |
3958 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3959 indexing chol_mat. | |
3960 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3961 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3962 Provide decls. | |
3963 | |
5338 | 3964 2005-05-05 John W. Eaton <jwe@octave.org> |
3965 | |
3966 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3967 retval before return. | |
3968 | |
5336 | 3969 2005-05-04 John W. Eaton <jwe@octave.org> |
3970 | |
3971 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3972 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3973 | |
5330 | 3974 2005-05-02 John W. Eaton <jwe@octave.org> |
3975 | |
3976 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3977 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3978 | |
5322 | 3979 2005-04-29 David Bateman <dbateman@free.fr> |
3980 | |
5330 | 3981 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3982 double. Correct indexing for upper diagonal elements for sparse | |
3983 tridiagonal. | |
5322 | 3984 * CSparse.cc (trisolve): ditto. |
3985 | |
5330 | 3986 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3987 UMFPACK for 64-bit. | |
5322 | 3988 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3989 UMFPACK_ZNAME(*). | |
3990 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3991 | |
5330 | 3992 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3993 UMFPACK for 64-bit. | |
5322 | 3994 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3995 UMFPACK_DNAME(*). | |
3996 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3997 | |
5330 | 3998 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3999 triangular back/forward substitution code. | |
5322 | 4000 * CSparse.cc (ltsolve, utsolve): ditto. |
4001 | |
5330 | 4002 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
4003 from spparms("spumoni",1). | |
5322 | 4004 * CSparse.cc (solve): ditto |
4005 | |
5330 | 4006 * SparseType.cc (SparseType(void)): Print info for |
4007 spparms("spumoni",1). | |
5322 | 4008 (SparseType(const matrix_type), SparseType(const matrix_type, const |
4009 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
4010 const octave_idx_type, const octave_idx_type)): New constructors. | |
4011 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 4012 Detect row permuted lower triangular and column permuted upper |
4013 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 4014 |
4015 * SparseType.h: Simplify the permutation code. | |
4016 (SparseType(const matrix_type), SparseType | |
4017 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
4018 SparseType(const matrix_type, const octave_idx_type, | |
4019 const octave_idx_type)): Declarations. | |
4020 | |
5304 | 4021 2005-04-25 John W. Eaton <jwe@octave.org> |
4022 | |
4023 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
4024 array and its contents. | |
4025 | |
5303 | 4026 2005-04-22 John W. Eaton <jwe@octave.org> |
4027 | |
4028 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
4029 const here now that rl_terminal_name is declared const char*. | |
4030 | |
5294 | 4031 2005-04-21 John W. Eaton <jwe@octave.org> |
4032 | |
4033 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
4034 | |
5285 | 4035 2005-04-19 John W. Eaton <jwe@octave.org> |
4036 | |
4037 * Array.cc (assignN): Don't crash if the index list is empty. | |
4038 | |
5282 | 4039 2005-04-14 David Bateman <dbateman@free.fr> |
4040 | |
4041 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
4042 * SparsedbleLU.cc: Ditto. | |
4043 * SparseCmplxLU.h: Definition. | |
4044 * SparsedbleLU.h: ditto. | |
4045 | |
4046 * SparseType.cc (transpose): New function. | |
4047 * SparseType.h (transpose): Definition. | |
4048 | |
5278 | 4049 2005-04-11 John W. Eaton <jwe@octave.org> |
4050 | |
4051 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
4052 fortran code that could end up calling XSTOPX. | |
4053 | |
5277 | 4054 2005-04-10 David Bateman <dbateman@free.fr> |
4055 | |
4056 * Makefile.in: include oct-types in INCLUDES so that it is | |
4057 installed | |
4058 | |
5275 | 4059 2005-04-08 John W. Eaton <jwe@octave.org> |
4060 | |
5276 | 4061 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
4062 | |
5275 | 4063 * Initial merge of 64-bit changes from Clinton Chee: |
4064 | |
4065 2005-04-07 John W. Eaton <jwe@octave.org> | |
4066 | |
4067 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
4068 | |
4069 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
4070 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
4071 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
4072 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
4073 Use octave_idx_type instead of int where needed. | |
4074 | |
4075 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4076 | |
4077 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
4078 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
4079 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
4080 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
4081 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
4082 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4083 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
4084 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
4085 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
4086 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
4087 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
4088 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
4089 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
4090 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
4091 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
4092 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
4093 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
4094 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
4095 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
4096 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
4097 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
4098 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
4099 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
4100 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
4101 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
4102 str-vec.cc, str-vec.h: | |
4103 Use octave_idx_type instead of int where needed. | |
4104 | |
4105 2005-04-01 John W. Eaton <jwe@octave.org> | |
4106 | |
4107 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
4108 | |
4109 * oct-types.h.in: New file. | |
4110 | |
4111 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4112 | |
4113 * lo-utils.cc (NINTbig): New function. | |
4114 * lo-utils.h: Provide decl. | |
4115 | |
5269 | 4116 2005-04-06 David Bateman <dbateman@free.fr> |
4117 | |
4118 * Makefile.in: Link to UMFPACK_LIBS. | |
4119 | |
5265 | 4120 2005-04-05 John W. Eaton <jwe@octave.org> |
4121 | |
4122 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
4123 | |
5264 | 4124 2005-04-01 John W. Eaton <jwe@octave.org> |
4125 | |
4126 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
4127 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
4128 when resizing A. When performing the assignment, just check that | |
4129 the number of elements in RHS matches the number of elements | |
4130 indexed by IDX-LIST. | |
4131 | |
5260 | 4132 2005-03-30 John W. Eaton <jwe@octave.org> |
4133 | |
5261 | 4134 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
4135 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
4136 | |
4137 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
4138 dSparse.cc: Use std:: for Complex functions instead of relying on | |
4139 wrappers from oct-cmplx.h. | |
5260 | 4140 |
4141 * oct-cmplx.h: Provide typedef only. | |
4142 | |
4143 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
4144 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
4145 Likewise. | |
4146 | |
5247 | 4147 2005-03-26 John W. Eaton <jwe@octave.org> |
4148 | |
4149 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
4150 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
4151 | |
5209 | 4152 2005-03-15 John W. Eaton <jwe@octave.org> |
4153 | |
4154 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
4155 | |
5203 | 4156 2005-03-14 John W. Eaton <jwe@octave.org> |
4157 | |
4158 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
4159 (DISTDIRS): Don't include UMFPACK. | |
4160 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
4161 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
4162 flags for these files. | |
4163 Don't include include $(srcdir)/UMFPACK.files. | |
4164 Don't include include $(srcdir)/UMFPACK.rules. | |
4165 | |
4166 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
4167 Delete files. | |
4168 * UMFPACK: Delete directory tree. | |
4169 | |
4170 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
4171 * CSparse.cc: Likewise. | |
4172 * SparsedbleLU.cc: Likewise. | |
4173 * SparseCmplxLU.cc: Likewise. | |
4174 | |
4175 2005-03-14 David Bateman <dbateman@free.org> | |
4176 | |
4177 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
4178 Allow compilation to succeed if UMFPACK is not available. | |
4179 | |
5196 | 4180 2005-03-09 John W. Eaton <jwe@octave.org> |
4181 | |
4182 * Makefile.in (bin-dist): Delete target. | |
4183 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
4184 | |
5173 | 4185 2005-03-01 John W. Eaton <jwe@octave.org> |
4186 | |
4187 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
4188 * Makefile.in: Remove them from the lists. | |
4189 | |
5169 | 4190 2005-02-28 John W. Eaton <jwe@octave.org> |
4191 | |
4192 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
4193 | |
5167 | 4194 2005-02-27 David Bateman <dbateman@free.org> |
4195 | |
5169 | 4196 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
4197 in the sparse matrix. | |
5167 | 4198 |
5164 | 4199 2005-02-25 John W. Eaton <jwe@octave.org> |
4200 | |
4201 Sparse merge. | |
4202 | |
4203 2005-02-13 David Bateman <dbateman@free.fr> | |
4204 | |
4205 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
4206 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
4207 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
4208 solver into separate functions for the diagonal, upper, lower | |
4209 triangular, tridiagonal, banded and full cases. | |
4210 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
4211 version that probes the matrix type and another that assumes the type | |
4212 is passed. | |
4213 | |
4214 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
4215 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
4216 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
4217 (SparseMatrix::solve): Likewise | |
4218 | |
4219 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4220 Declaration of new functions | |
4221 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4222 Likewise | |
4223 | |
4224 * CSparse.cc (operator !): Reverse the sense of the test. | |
4225 * dSpase.cc (operator !): Likewise | |
4226 | |
4227 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4228 triangular_col_perm, sparse_info): Remove matrix type code | |
4229 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4230 triangular_col_perm, sparse_info): Likewise | |
4231 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4232 triangular_col_perm, sparse_info): Likewise | |
4233 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4234 triangular_col_perm, sparse_info): Likewise | |
4235 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
4236 triangular_col_perm, sparse_info, matrix_type): Likewise | |
4237 | |
4238 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
4239 | |
4240 * SparseType.h: New class for the matrix type used in solvers | |
4241 * SparseType.cc: methods of sparse matrix type class | |
4242 | |
4243 * Makefile.in: Add SparseType.cc | |
4244 | |
4245 2005-02-01 David Bateman <dbateman@free.fr> | |
4246 | |
4247 * UMFPACK: Update to version 4.4 | |
4248 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
4249 keep octave specific test files | |
4250 | |
4251 2005-01-23 David Bateman <dbateman@free.fr> | |
4252 | |
4253 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
4254 tridiagonal and banded cholesky solvers. Remove calculation of | |
4255 condition number for banded solvers. | |
4256 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
4257 | |
4258 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
4259 new functions. | |
4260 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4261 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4262 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4263 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
4264 ditto | |
4265 | |
4266 * Sparse.cc (int Sparse<T>::type (int) const, | |
4267 bool Sparse<T>::is_dense (void) const): New functions definition | |
4268 | |
4269 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
4270 so it actually is cached, but disable | |
4271 | |
4272 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
4273 for compatiability | |
4274 | |
4275 2005-01-18 David Bateman <dbateman@free.fr> | |
4276 | |
4277 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4278 Modify calculation of number elements to skip between copied blocks. | |
4279 | |
4280 2005-01-07 David Bateman <dbateman@free.fr> | |
4281 | |
4282 * Sparse.h : Reverse definitions of numel and nelem. | |
4283 * Sparse.cc (assign1): Use numel and not nelem | |
4284 * Sparse-op-def.h: Replace all uses of nelem with numel | |
4285 | |
4286 2005-01-07 David Bateman <dbateman@free.fr> | |
4287 | |
4288 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
4289 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
4290 ComplexDET | |
4291 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
4292 by DET | |
4293 * dSparse.h (determinant): ditto | |
4294 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
4295 SparseComplexDET by ComplexDET | |
4296 * CSparse.h (determinant): ditto | |
4297 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
4298 SparseCmplxDET.cc: delete files | |
4299 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
4300 SparseCmplxDET.h andSparseCmplxDET.cc. | |
4301 | |
4302 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
4303 local variable to avoid variable shadowing. | |
4304 * dSparse.cc (SparseMatrix::solve): ditto. | |
4305 | |
4306 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
4307 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
4308 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
4309 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
4310 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
4311 sparse-sort.h: Remove additional licensing clause with authors | |
4312 permission. | |
4313 | |
4314 2004-12-30 John W. Eaton <jwe@octave.org> | |
4315 | |
4316 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
4317 Loop counter is int, not size_t. | |
4318 | |
4319 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
4320 | |
4321 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
4322 | |
4323 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
4324 Delete unused variables. | |
4325 (SparseMatrix::solve): Avoid warnings about uninitialized | |
4326 variables and variables that might be clobbered by longjmp. | |
4327 | |
4328 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
4329 min, max): Delete unused variables. | |
4330 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
4331 variables and variables that might be clobbered by longjmp. | |
4332 | |
4333 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
4334 | |
4335 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
4336 Loop counter is int, not size_t. | |
4337 | |
4338 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
4339 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
4340 | |
4341 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
4342 lists consistently. | |
4343 | |
4344 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
4345 | |
4346 2004-12-29 John W. Eaton <jwe@octave.org> | |
4347 | |
4348 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
4349 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
4350 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
4351 $(UMFPACK_EXTRAS) to the list. | |
4352 (DISTDIRS): New variable. | |
4353 (dist): Handle $(DISTDIRS). | |
4354 | |
4355 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
4356 Andy Adler <adler@site.uottawa.ca>. | |
4357 | |
4358 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
4359 | |
4360 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
4361 without directory prefix. | |
4362 | |
4363 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
4364 $(UMFPACK_OBJ) to the list. | |
4365 | |
4366 * COLAMD: New directory. | |
4367 * COLAMD.files: New file. | |
4368 * Makefile.in: Include COLAMD.files. | |
4369 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
4370 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
4371 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
4372 | |
4373 * UMFPACK: New directory. | |
4374 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
4375 New files. | |
4376 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
4377 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
4378 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
4379 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
4380 | |
4381 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
4382 (INCLUDES): Add it to the list. | |
4383 (SPARSE_MX_OP_SRC): New variable. | |
4384 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
4385 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4386 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4387 | |
4388 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
4389 * Makefile.in (DISTFILES): Add them to the lists. | |
4390 | |
4391 * oct-spparms.h, sparse-sort.h: New files. | |
4392 * Makefile.in (INCLUDES): Add them to the list. | |
4393 | |
4394 * oct-spparms.cc, sparse-sort.cc: New files. | |
4395 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
4396 | |
4397 * sparse-base-lu.cc: New file. | |
4398 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
4399 | |
4400 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
4401 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
4402 SparsedbleLU.cc: New files. | |
4403 * Makefile.in (MATRIX_SRC): Add them to the list. | |
4404 | |
4405 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
4406 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
4407 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
4408 Sparse-op-defs.h: New files. | |
4409 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
4410 | |
4411 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
4412 Sparse-C.cc: New files. | |
4413 * Makefile.in (TI_SRC): Add them to the list. | |
4414 | |
5149 | 4415 2005-02-18 John W. Eaton <jwe@octave.org> |
4416 | |
4417 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
4418 Pass current directory to octave_env::make_absolute. | |
4419 Save value returned from octave_env::make_absolute in local var. | |
4420 Pass const char*, not std::string as first arg of resolvepath. | |
4421 Provide decl for resolved_len. | |
4422 | |
5148 | 4423 2005-02-18 John W. Eaton <jwe@octave.org> |
4424 | |
4425 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
4426 than number of dimenensions of permuted matrix. | |
4427 | |
4428 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
4429 * Array-util.cc (calc_permutated_idx): Likewise. | |
4430 | |
5139 | 4431 2005-02-10 David Bateman <dbateman@free.fr> |
4432 | |
4433 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
4434 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
4435 | |
5137 | 4436 2005-02-09 John W. Eaton <jwe@octave.org> |
4437 | |
5138 | 4438 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
4439 * file-ops.h: Provide decls. | |
4440 | |
5137 | 4441 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
4442 | |
5136 | 4443 2005-02-08 John W. Eaton <jwe@octave.org> |
4444 | |
4445 * Array-util.cc (freeze): Improve error message. | |
4446 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4447 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 4448 |
5121 | 4449 * Array.cc (Array<T>::insert): Handle generic case, not just |
4450 special case for fast concatenation. | |
5120 | 4451 |
5110 | 4452 2005-01-18 John W. Eaton <jwe@octave.org> |
4453 | |
4454 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
4455 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
4456 | |
4457 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
4458 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
4459 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4460 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 4461 |
4462 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4463 Modify calculation of number elements to skip between copied blocks. | |
4464 | |
4465 2005-01-18 John W. Eaton <jwe@octave.org> | |
4466 | |
4467 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
4468 error handler, to warn about resizing. | |
4469 | |
5105 | 4470 2004-12-27 Martin Dalecki <martin@dalecki.de> |
4471 | |
4472 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
4473 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
4474 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
4475 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4476 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
4477 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
4478 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
4479 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
4480 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
4481 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
4482 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
4483 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
4484 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
4485 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
4486 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
4487 Delete #pragma implementation. | |
4488 | |
4489 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
4490 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
4491 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
4492 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
4493 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
4494 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
4495 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
4496 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
4497 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
4498 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4499 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
4500 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
4501 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
4502 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
4503 Delete #pragma interface. | |
4504 | |
5098 | 4505 2004-12-17 John W. Eaton <jwe@octave.org> |
4506 | |
4507 * lo-cieee.c (lo_ieee_signbit): New function. | |
4508 * lo-ieee.h: Provide decl. | |
4509 Don't define lo_ieee_signbit as a macro here. | |
4510 From Orion Poplawski <orion@cora.nwra.com>. | |
4511 | |
5085 | 4512 2004-11-18 John W. Eaton <jwe@octave.org> |
4513 | |
4514 * int32NDArray.cc (pow): Delete instantiation. | |
4515 * int16NDArray.cc (pow): Likewise. | |
4516 * int8NDArray.cc (pow): Likewise. | |
4517 * uint32NDArray.cc (pow): Likewise. | |
4518 * uint16NDArray.cc (pow): Likewise. | |
4519 * uint8NDArray.cc (pow): Likewise. | |
4520 | |
5081 | 4521 2004-11-17 John W. Eaton <jwe@octave.org> |
4522 | |
5085 | 4523 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
4524 Now static. | |
4525 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
4526 DEFAULT_TEXMFDBS): Delete unused macros. | |
4527 | |
5081 | 4528 * Array.cc (Array<T>::index): Call generic N-d indexing function |
4529 if idx_arg is N-d. | |
4530 | |
5073 | 4531 2004-11-09 David Bateman <dbateman@free.fr> |
4532 | |
4533 * dNDArray.cc (concat): Delete. | |
4534 (NDArray::concat): New methods. | |
4535 * dNDArray.h: Provide decls. | |
4536 | |
4537 * CNDArray.cc (concat): Delete. | |
4538 (ComplexNDArray::concat): New methods. | |
4539 * CNDArray.h: Provide decls. | |
4540 | |
4541 * boolNDArray.cc (concat): Delete. | |
4542 (boolNDArray::concat): New methods. | |
4543 * boolNDArray.h: Provide decls. | |
4544 | |
4545 * chNDArray.cc (concat): Delete. | |
4546 (charNDArray::concat): New methods. | |
4547 * chNDArray.h: Provide decls. | |
4548 | |
4549 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
4550 Delete macros. | |
4551 | |
4552 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4553 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4554 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
4555 | |
4556 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
4557 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4558 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
4559 | |
4560 * intNDArray.cc (intNDArray<T>::concat): New method. | |
4561 * intNDArray.h: Provide decl. | |
4562 | |
5072 | 4563 2004-11-08 John W. Eaton <jwe@octave.org> |
4564 | |
4565 * oct-inttypes.cc: New file. | |
4566 * Makefile.in (TI_SRC): Add it to the list. | |
4567 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
4568 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
4569 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
4570 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
4571 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
4572 New macros for comparison operations. Avoid potential | |
4573 problems with default conversions when comparing signed and | |
4574 unsigned values. | |
4575 | |
5061 | 4576 2004-11-03 John W. Eaton <jwe@octave.org> |
4577 | |
4578 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
4579 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
4580 | |
5052 | 4581 2004-10-19 John W. Eaton <jwe@octave.org> |
4582 | |
4583 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
4584 | |
5047 | 4585 2004-10-18 John W. Eaton <jwe@octave.org> |
4586 | |
4587 * Array.cc (assign2): Save result of squeeze operation. | |
4588 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
4589 | |
5095 | 4590 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 4591 |
4592 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
4593 flag whether transform in- or out-of-place. | |
4594 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
4595 (octave_fftw_planner::create_plan): Use it. | |
4596 | |
5039 | 4597 2004-09-24 John W. Eaton <jwe@octave.org> |
4598 | |
4599 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
4600 any empty matrix, not just []. | |
4601 | |
5030 | 4602 2004-09-23 John W. Eaton <jwe@octave.org> |
4603 | |
4604 * mx-ops: Include scalar zero value in type definitions. | |
4605 Delete zero information from ops section. | |
4606 * mk-ops.awk: Use type-specific zero info. | |
4607 | |
4608 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
4609 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
4610 LHS and RHS. | |
4611 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
4612 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
4613 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
4614 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
4615 | |
4616 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
4617 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
4618 tree_to_mat_idx. | |
4619 | |
4620 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
4621 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
4622 Likewise for the "if (b_val & one)" test. | |
4623 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
4624 | |
5029 | 4625 2004-09-23 David Bateman <dbateman@free.fr> |
4626 | |
4627 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
4628 New macros. Use them to define mixed intX-double and double-intX ops. | |
4629 | |
5021 | 4630 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
4631 | |
4632 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
4633 Fix doc string layout to avoid overfull hbox in printed output. | |
4634 | |
5015 | 4635 2004-09-21 John W. Eaton <jwe@octave.org> |
4636 | |
4637 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
4638 * mach-info.cc (octave_mach_info::string_to_float_format): | |
4639 For "native", set actual native format. | |
4640 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
4641 | |
5008 | 4642 2004-09-17 David Bateman <dbateman@free.fr> |
4643 | |
4644 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
4645 calculation of the unitary matrix optional. | |
4646 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
4647 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
4648 | |
4998 | 4649 2004-09-15 David Bateman <dbateman@free.fr> |
4650 | |
4651 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
4652 New function to set the comparison function for the sort. | |
4653 | |
4985 | 4654 2004-09-10 John W. Eaton <jwe@octave.org> |
4655 | |
4656 * lo-mappers.cc (xround): Fix typo. | |
4657 | |
4979 | 4658 2004-09-08 John W. Eaton <jwe@octave.org> |
4659 | |
4660 * Array.h (Array::~Array): Declare virtual. | |
4661 | |
4662 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
4663 initializaion list. Don't set rep->count since the rep | |
4664 constructor does that. | |
4665 | |
4968 | 4666 2004-09-07 John W. Eaton <jwe@octave.org> |
4667 | |
4970 | 4668 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
4669 (oct_data_conv::data_type_as_string): Likewise. | |
4670 | |
4671 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
4672 | |
4968 | 4673 * Range.cc (round): Delete unused function. |
4674 | |
4675 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
4676 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
4677 | |
4678 * oct-inttypes.h: Include <cmath> here. | |
4679 | |
4964 | 4680 2004-09-03 David Bateman <dbateman@free.fr> |
4681 | |
4682 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
4683 New functions for boolean matrix concatenation. | |
4684 * boolNDArray.h: Provide decls. | |
4685 | |
4963 | 4686 2004-09-03 John W. Eaton <jwe@octave.org> |
4687 | |
4964 | 4688 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
4689 to avoid signed/unsigned int comparison problems. | |
4690 | |
4691 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
4692 for mixed integer and double types. | |
4693 | |
4694 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
4695 separately, and only if needed. | |
4696 | |
4963 | 4697 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
4698 static_cast for type conversion. | |
4699 | |
4953 | 4700 2004-09-01 John W. Eaton <jwe@octave.org> |
4701 | |
4702 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
4703 operator /): Handle mixed integer/double ops. If op generates a | |
4704 NaN, set result to 0. | |
4705 (octave_int::operator - (void)): Convert to double, then negate, | |
4706 then fit to range. | |
4707 | |
4708 * mx-ops: Define integer types. Include declarations for mixed | |
4709 integer/double ops. | |
4710 | |
4952 | 4711 2004-08-31 John W. Eaton <jwe@octave.org> |
4712 | |
4713 * oct-inttypes.h (pow): Args now const reference. | |
4714 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
4715 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
4716 New member functions. | |
4717 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
4718 (operator >> (const octave_int<T1>& x, const T2& y)): | |
4719 Define in terms of >>=. | |
4720 (operator << (const octave_int<T1>& x, const T2& y)): | |
4721 Define in terms of <<=. | |
4722 (bitshift): Operate on octave_int<T> objects, not the values, so | |
4723 we get proper saturation properties. | |
4724 | |
4725 2004-08-31 David Bateman <dbateman@free.fr> | |
4726 | |
4727 * oct-inttypes.h (pow (constT, T)): New template. | |
4728 | |
4729 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
4730 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
4731 | |
4949 | 4732 2004-08-31 John W. Eaton <jwe@octave.org> |
4733 | |
4734 * oct-inttypes.h (octave_int::byte_size): New function. | |
4735 | |
4944 | 4736 2004-08-31 John W. Eaton <jwe@octave.org> |
4737 | |
4946 | 4738 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
4739 | |
4944 | 4740 * data-conv.h (oct_data_conv::data_type): Include sized types. |
4741 Explicitly number enum elements. | |
4742 | |
4743 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
4744 std::string&, int&, oct_data_conv::data_type&, | |
4745 oct_data_conv::data_type&)): New function. | |
4746 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
4747 oct_data_conv::data_type&)): New function. | |
4748 (oct_data_conv::data_type_as_string): New function. | |
4749 | |
4750 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
4751 (write_int, do_write, Matrix::write): Delete. | |
4752 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
4753 | |
4754 * byte-swap.h: Use template functions and specialization. | |
4755 Change all uses. | |
4756 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4757 | |
4943 | 4758 2004-08-30 John W. Eaton <jwe@octave.org> |
4759 | |
4760 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
4761 specializations to avoid warnings about signed/unsigned comparisons. | |
4762 | |
4763 2004-08-28 John W. Eaton <jwe@octave.org> | |
4764 | |
4765 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
4766 size_t, int, oct_mach_info::float_format)): New function. | |
4767 (GET_SIZED_INT_TYPE): New macro. | |
4768 (string_to_data_type): Use it to return sized types corresponding | |
4769 to Octave array data types. | |
4770 (strip_spaces): New function. | |
4771 (do_double_format_conversion, do_float_format_conversion): Pass | |
4772 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
4773 float format. | |
4774 (do_double_format_conversion, | |
4775 IEEE_big_double_to_IEEE_little_double, | |
4776 VAX_D_double_to_IEEE_little_double, | |
4777 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
4778 IEEE_little_double_to_IEEE_big_double, | |
4779 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
4780 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
4781 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
4782 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
4783 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
4784 Cray_to_VAX_G_double): | |
4785 Pass data as void*, not double*. | |
4786 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
4787 VAX_D_float_to_IEEE_little_float, | |
4788 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
4789 IEEE_little_float_to_IEEE_big_float, | |
4790 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
4791 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
4792 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
4793 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
4794 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
4795 Cray_to_VAX_G_float): | |
4796 Pass data as void*, not float*. | |
4797 | |
4798 2004-08-27 John W. Eaton <jwe@octave.org> | |
4799 | |
4800 * byte-swap.h (swap_bytes): New template versions, with | |
4801 specializations. | |
4802 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
4803 Change all uses. | |
4804 | |
4940 | 4805 2004-08-24 David Bateman <dbateman@free.fr> |
4806 | |
4807 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
4808 empty instead of checking final matrix. | |
4809 * dNDArray.cc (concat): Likewise. | |
4810 * CNDArray.cc (concat): Likewise. | |
4811 | |
4812 2004-08-23 David Bateman <dbateman@free.fr> | |
4813 | |
4814 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
4815 non-existent dimensions. | |
4816 | |
4938 | 4817 2004-08-09 John W. Eaton <jwe@octave.org> |
4818 | |
4819 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
4820 (const octave_int<U>&)): New member function. | |
4821 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
4822 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
4823 Now member functions instead of static in idx-vector.cc. | |
4824 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
4825 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
4826 New template constructors. | |
4827 | |
4932 | 4828 2004-08-05 John W. Eaton <jwe@octave.org> |
4829 | |
4933 | 4830 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
4831 | |
4932 | 4832 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
4833 intNDArray<T>::any): Sprinkle with this-> as needed. | |
4834 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
4835 | |
4929 | 4836 2004-08-03 John W. Eaton <jwe@octave.org> |
4837 | |
4838 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
4839 arrays with more than two dimensions and only one non-singleton | |
4840 dimension, return a column vector. | |
4841 | |
4921 | 4842 2004-07-28 John W. Eaton <jwe@octave.org> |
4843 | |
4844 * oct-cmplx.h (pow (const Complex&, const double&): | |
4845 Convert second arg to complex to avoid libstdc++ bug. | |
4846 | |
4920 | 4847 2004-07-27 John W. Eaton <jwe@octave.org> |
4848 | |
4849 * oct-inttypes.h (bitshift): New arg, MASK. | |
4850 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
4851 | |
4916 | 4852 2004-07-23 John W. Eaton <jwe@octave.org> |
4853 | |
4854 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
4855 | |
4915 | 4856 2004-07-23 David Bateman <dbateman@free.fr> |
4857 | |
4858 * Array.cc, Array.h (cat_ra): Delete. | |
4859 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
4860 (INSTANTIATE_ARRAY_CAT): Delete. | |
4861 | |
4862 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4863 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
4864 | |
4865 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
4866 | |
4867 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4868 chNDArray.h (concat): New function used for concatenation that does | |
4869 an indexed copy of one array into another. | |
4870 | |
4871 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
4872 | |
4873 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
4874 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
4875 insertion of one NDArray into another. | |
4876 | |
4877 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
4878 macros to define the int/uint concatenation functions. | |
4879 | |
4880 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
4881 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
4882 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
4883 | |
4884 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
4885 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
4886 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
4887 functions. | |
4888 | |
4911 | 4889 2004-07-22 David Bateman <dbateman@free.fr> |
4890 | |
4891 * oct-sort.h: Don't include oct-obj.h. | |
4892 | |
4893 * lo-specfun.cc (is_integer_value): New function. | |
4894 (zbesj, zbesi, zbesy): Special case negative integer or half | |
4895 integer orders that cause overflow for small arguments. | |
4896 | |
4909 | 4897 2004-07-12 John W. Eaton <jwe@octave.org> |
4898 | |
4899 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
4900 (bitshift (const octave_int<T>&, int)): New function. | |
4901 | |
4902 | 4902 2004-06-14 John W. Eaton <jwe@octave.org> |
4903 | |
4904 * mx-base.h: Include headers for new int types. | |
4905 | |
4906 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
4907 NDArray::NDArray (const charNDArray&)): Delete. | |
4908 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
4909 constructor. | |
4910 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4911 | |
4912 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
4913 return type conversion. | |
4914 | |
4915 * ComplexNDArray.h, ComplexNDArray.cc | |
4916 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
4917 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4918 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4919 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
4920 | |
4921 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
4922 | |
4923 * MArrayN.h: | |
4924 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4925 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4926 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4927 New constructors. | |
4928 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4929 ArrayN<T>::squeeze): | |
4930 New forwarding functions for return type conversion. | |
4931 | |
4932 * ArrayN.h: | |
4933 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4934 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4935 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4936 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4937 const dim_vector&)): New constructors. | |
4938 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4939 ArrayN<T>::transpose): | |
4940 New forwarding functions for return type conversion. | |
4941 | |
4942 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4943 New constructor. | |
4944 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4945 | |
4946 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4947 | |
4948 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4949 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4950 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4951 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4952 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4953 * Makefile.in: Add them to the appropriate lists. | |
4954 | |
4899 | 4955 2004-06-04 John W. Eaton <jwe@octave.org> |
4956 | |
4957 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4958 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4959 resize op. Change all uses. | |
4960 | |
4898 | 4961 2004-06-03 David Bateman <dbateman@free.fr> |
4962 | |
4963 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4964 greater than the existing number of dimensions in lvalue. | |
4965 | |
4887 | 4966 2004-04-30 David Bateman <dbateman@free.fr> |
4967 | |
4968 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4969 New arg, fill_value. | |
4970 (dim_vector::resize): Allow optional fill_value argument. | |
4971 | |
4972 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4973 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4974 more than one element in idx_vector. Resize the return value to | |
4975 the size of Array<idx_vector>. | |
4976 | |
4977 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4978 idx_vector that is shorter than a dim_vector. | |
4979 | |
4882 | 4980 2004-04-23 John W. Eaton <jwe@octave.org> |
4981 | |
4982 * oct-sort.cc: Don't include oct-obj.h. | |
4983 | |
4876 | 4984 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4985 | |
4986 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4987 Don't set invalid dimensions on return value. | |
4988 | |
4871 | 4989 2004-04-21 John W. Eaton <jwe@octave.org> |
4990 | |
4991 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4992 | |
4850 | 4993 2004-04-06 David Bateman <dbateman@free.fr> |
4994 | |
4870 | 4995 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4996 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4997 Make their behavior equivalent except for filling vs. not filling. | |
4998 | |
4850 | 4999 * oct-sort.cc: New template class for arbitrary sorting. |
5000 * oct-sort.h: Declaration of sort class. | |
5001 * Makefile: Add them to the appropriate lists. | |
5002 | |
4845 | 5003 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5004 | |
5005 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
5006 | |
4844 | 5007 2004-04-02 David Bateman <dbateman@free.fr> |
5008 | |
5009 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
5010 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 5011 New N-d array versions. |
4844 | 5012 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
5013 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
5014 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
5015 | |
5016 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
5017 New functions. | |
5018 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
5019 | |
5020 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5021 New functions. | |
5022 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5023 Provide decls. | |
5024 | |
4842 | 5025 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
5026 | |
5027 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
5028 work vector, not just when using a numerical Jacobian. | |
5029 | |
4834 | 5030 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5031 | |
4835 | 5032 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
5033 Omit empty result args. | |
5034 | |
4834 | 5035 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
5036 Move here from Array.h, check that size of array arg is not | |
5037 smaller than the size defined by the new dimensions. | |
5038 | |
4832 | 5039 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5040 | |
5041 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
5042 a scalar or vector with an N-d array. | |
5043 | |
4826 | 5044 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5045 | |
4828 | 5046 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
5047 matrix, return object that is the same size as the index. | |
5048 | |
4826 | 5049 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
5050 Eliminate MT_RESULT args. Return value is always size of args. | |
5051 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
5052 Eliminate EMPTY_RESULT arg. | |
5053 Return value is always size of matrix or N-d array arg. | |
5054 (TBM, FBM, NBM): Delete unused macros. | |
5055 | |
4821 | 5056 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5057 | |
5058 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
5059 if all LHS dimensions are zero. For one index case, freeze and | |
5060 sort idx_vec before checking length, and do nothing if | |
5061 num_to_delete is zero. | |
4822 | 5062 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 5063 |
4816 | 5064 2004-03-04 David Bateman <dbateman@free.fr> |
5065 | |
5066 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
5067 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
5068 | |
4811 | 5069 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
5070 | |
5071 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
5072 element. | |
5073 | |
5074 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5075 | |
5076 * Range.h (Range::Range): Add cache to member initialization list. | |
5077 (Range::clear_cache): New private function. | |
5078 | |
5079 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
5080 Use clear cache. Don't do anything if range does not change. | |
5081 * Range.cc (Range::sort): Likewise. | |
5082 | |
4810 | 5083 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
5084 | |
5085 * Range.cc (Range::matrix_value): Cache result. | |
5086 (Range::sort): Clear cache. | |
5087 * Range.h (Range::cache): New data member. | |
5088 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
5089 (Range::print_range): Delete. | |
4808 | 5090 |
5091 2004-03-02 David Bateman <dbateman@free.fr> | |
5092 | |
5093 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
5094 changes between them. Faster for small fft's. | |
5095 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
5096 New member variables. | |
5097 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
5098 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
5099 Change all uses. | |
5100 (CHECK_SIMD_ALIGNMENT): New macro. | |
5101 (octave_fftw_planner::create_plan): Use it. | |
5102 | |
4806 | 5103 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
5104 | |
5105 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
5106 | |
5107 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
5108 | |
5109 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
5110 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
5111 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
5112 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
5113 | |
5114 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
5115 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
5116 | |
4800 | 5117 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5118 | |
4802 | 5119 * oct-rl-edit.c (octave_rl_set_startup_hook, |
5120 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
5121 octave_rl_get_event_hook): Omit casts. | |
5122 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
5123 Return value for function pointer typedef is now int. | |
5124 * cmd-edit.h (command_editor::startup_hook_fcn, | |
5125 command_editor::event_hook_fcn): Likewise. | |
5126 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
5127 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
5128 Return type is now int. Return 0. | |
5129 | |
4800 | 5130 * EIG.cc (EIG::init, EIG::symmetric_init): |
5131 Query Lapack for workspace size. | |
5132 | |
4796 | 5133 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5134 | |
5135 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
5136 Fix thinko in extending dimensions. | |
5137 | |
4791 | 5138 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5139 | |
5140 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
5141 Don't compute values beyond the limits of the range. | |
5142 (operator << (std::ostream&, const Range&)): Likewise. | |
5143 | |
4786 | 5144 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5145 | |
4788 | 5146 * oct-fftw.cc (octave_fftw_planner::create_plan): |
5147 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
5148 From Paul Kienzle <pkienzle@users.sf.net>. | |
5149 | |
4786 | 5150 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
5151 Rename from Array<T>::insert. | |
5152 (Array<T>::insert2 (const Array<T>&, int, int)): | |
5153 Reinstate old Array<T>::insert function under this name. | |
5154 (Array<T>::insert (const Array<T>&, int, int)): | |
5155 New function. Dispatch to insert2 or insertN as appropriate. | |
5156 | |
4785 | 5157 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5158 | |
5159 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5160 Sprinkle with OCTAVE_QUIT. | |
5161 | |
5095 | 5162 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 5163 |
5164 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
5165 Add support for FFTW 3.x. Include the ability to | |
5166 use the real to complex transform for fft's of real matrices | |
5167 (octave_fftw_planner::create_plan2d): Delete. | |
5168 (octave_fftw::fft2d): Delete. | |
5169 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5170 New static functions. | |
5171 * oct-fftw.h: Update decls. | |
5172 | |
5173 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5174 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
5175 transforms. 1D FFT of a matrix done as single call rather than | |
5176 loop. Update for FFTW 3.x | |
5177 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
5178 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
5179 matrix done as single call rather than loop. Update for FFTW 3.x. | |
5180 | |
5181 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
5182 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
5183 functions for Nd arrays. | |
5184 * dNArray.h Provide decls. | |
5185 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
5186 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
5187 fourier transform functions for complex Nd arrays. | |
5188 * CNArray.h: Provide decls. | |
5189 | |
4765 | 5190 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
5191 | |
5192 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
5193 Make it work for N-d arrays. | |
5194 | |
5195 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
5196 New function. | |
5197 | |
5198 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
5199 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
5200 New functions. | |
5201 * CNDArray.h: Provide decls. | |
5202 | |
4759 | 5203 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5204 | |
4760 | 5205 * Makefile.in (LINK_DEPS): Always define. |
5206 | |
4759 | 5207 * Array.cc (Array<T>::squeeze): Always return an array with at |
5208 least two dimensions. | |
5209 | |
4758 | 5210 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5211 | |
5212 * mx-inlines.cc (MX_ND_CAT): New macro. | |
5213 * dNDArray.cc (NDArray::cat): New function. | |
5214 * dNDArray.h: Provide decls. | |
5215 * CNDArray.cc (complexNDArray::cat): New function. | |
5216 * CNDArray.h: Provide decls. | |
5217 * chNDArray.cc (charNDArray::cat): New function. | |
5218 * chNDArray.h: Provide decls. | |
5219 | |
4756 | 5220 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5221 | |
5222 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
5223 (Array<T>assign2): Also call maybe_delete_elements for single | |
5224 index when rows and columns or LHS are both greater than 1. | |
5225 | |
4755 | 5226 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5227 | |
5228 * Array.cc (Array<T>::maybe_delete_elements): | |
5229 Check for index out of bounds. Handle one index. | |
5230 | |
5231 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
5232 dim_vector (0) to create empty return vector. | |
5233 | |
4749 | 5234 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5235 | |
5236 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
5237 non-empty LHS when the number of lhs dimensions is less than the | |
5238 number of indices. Detect error if attempting to resize non-empty | |
5239 LHS with colon indices. | |
5240 | |
4745 | 5241 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5242 | |
4747 | 5243 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
5244 values unless the length of the new array is greater than 0. | |
5245 (Array<T>::resize_no_fill): Likewise. | |
5246 | |
5247 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
5248 is equal to dimensions(i). | |
5249 | |
5250 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
5251 get_zero_len_size, number_of_elements): | |
5252 Delete unused functions. | |
5253 | |
5254 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
5255 number_of_elements function. | |
5256 * Array.cc (Array<T>::indexN): Likewise. | |
5257 | |
5258 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
5259 of equal_arrays function. | |
5260 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
5261 dim_vector::any_zero instead of any_zero_len function. | |
5262 | |
5263 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
5264 Don't skip reshaping and resizing if RHS is empty. | |
5265 | |
4746 | 5266 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
5267 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 5268 Delete unused variables is_colon and is_colon_equiv. |
4746 | 5269 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
5270 LHS is not yet defined. | |
4745 | 5271 Error for resizing if number of indices is less than number of LHS |
5272 dimensions. | |
5273 | |
4746 | 5274 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
5275 Fortran-style indexing. | |
5276 | |
4743 | 5277 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5278 | |
5279 * Array.cc (Array<T>::assignN): Simplify. | |
5280 Allow assignments to succeed if number if indices is less than the | |
5281 number of RHS dimensions. | |
5282 | |
4738 | 5283 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5284 | |
4741 | 5285 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
5286 when number of indices is less than number of dimensions. | |
5287 | |
5288 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
5289 Remove unsued variable lhs_inc. | |
5290 | |
4740 | 5291 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
5292 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
5293 | |
5294 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
5295 | |
4738 | 5296 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
5297 == n_dims before checking to see if all indices are colon_equiv. | |
5298 | |
4736 | 5299 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5300 | |
5301 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
5302 deleting elements. | |
4737 | 5303 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
5304 at least ndims elements. | |
4736 | 5305 |
4735 | 5306 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5307 | |
5308 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
5309 oriented differently from the index. | |
5310 | |
5311 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
5312 least two dimensions. | |
5313 | |
4733 | 5314 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5315 | |
4735 | 5316 * dim-vector.h (dim_vector::squeeze): New function. |
5317 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
5318 deciding whether the assignment conforms. | |
5319 | |
4733 | 5320 * Array.cc (Array<T>::assignN): Simplify dimension check by |
5321 comparing rhs_dims and frozen_len sans trailing singletons. | |
5322 | |
4732 | 5323 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5324 | |
5325 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
5326 Call error handler and return conversion_error == true if arg is | |
5327 not integer. | |
5328 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
5329 | |
4730 | 5330 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5331 | |
5332 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
5333 reference arg const. | |
5334 | |
5335 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5336 | |
5337 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
5338 | |
4729 | 5339 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
5340 | |
5341 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
5342 Now bool, to match definition in Array-flags.cc. | |
5343 | |
4725 | 5344 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5345 | |
4726 | 5346 * file-ops.cc: Include <vector> instead of <memory> for new |
5347 definition of OCTAVE_LOCAL_BUFFER. | |
5348 | |
4725 | 5349 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
5350 New arg, calc_eigenvectors. | |
5351 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
5352 Based on patch from David Bateman <dbateman@free.fr>. | |
5353 | |
4716 | 5354 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5355 | |
5356 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
5357 For X(I) = RHS, don't restrict I to fewer elements than X. | |
5358 | |
5359 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
5360 | |
4711 | 5361 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5362 | |
4714 | 5363 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
5364 Simplify calculation of number of elements in retval. | |
5365 | |
4711 | 5366 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
5367 filling when RHS is scalar and dimension lengths agree. | |
5368 | |
4710 | 5369 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5370 | |
4713 | 5371 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
5372 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 5373 |
4707 | 5374 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5375 | |
4709 | 5376 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
5377 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 5378 |
4702 | 5379 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
5380 | |
4703 | 5381 * Array.h (Array<T>::chop_trailing_singletons): New function. |
5382 * Array.cc (Array<T>::assignN): Use it on LHS. | |
5383 | |
5384 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 5385 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 5386 Check for singleton dimensions where RHS is matrix or higher dimension. |
5387 Make sure index is in bounds. | |
4702 | 5388 |
4698 | 5389 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5390 | |
5391 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
5392 octave_NaN, and octav_NA values are always initialized. Check | |
5393 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
5394 to decide whether to do IEEE initialization. | |
5395 | |
4687 | 5396 2004-01-06 David Bateman <dbateman@free.fr> |
5397 | |
5398 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
5399 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
5400 ComplexNDArray::too_large_for_float): New functions | |
5401 | |
5402 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
5403 * CNDArray.h: Provide decls. | |
5404 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
5405 * dNDArray.h: Provide decls. | |
5406 | |
4673 | 5407 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5408 | |
4674 | 5409 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
5410 they are already defined in boolNDArray.cc. | |
5411 | |
4673 | 5412 * Array-util.cc (get_zero_len_size): Delete. |
5413 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5414 Handle zero-length result dimensions the same as empty original | |
5415 indices. | |
5416 | |
5417 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5418 | |
5419 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
5420 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
5421 New functions. | |
5422 * Array.cc (ArrayN<T>::indexN): Use it. | |
5423 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
5424 | |
4669 | 5425 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5426 | |
5427 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
5428 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
5429 | |
5430 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5431 | |
5432 * mk-ops.awk: Also emit #include "Array-util.h". | |
5433 | |
5434 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
5435 Add bnda x bnda, b x bnda, and bnda x b ops. | |
5436 | |
5437 * MArray-misc.cc: Delete. | |
5438 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
5439 | |
5440 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
5441 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
5442 | |
4655 | 5443 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5444 | |
4663 | 5445 * dbleQR.cc (QR::init): Use separate pwork pointers. |
5446 * CmplxQR.cc (ComplexQR::init): Likewise. | |
5447 | |
5448 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
5449 two-arg getgrnam version. | |
5450 | |
4657 | 5451 * Array.cc (assignN): Allow single indexing to work. |
4661 | 5452 (Array<T>::range_error (const char*, const Array<int>&)): |
5453 Report index values. | |
5454 | |
5455 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 5456 * ODESSA.cc (odessa_j): Likewise. |
5457 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
5458 * DASPK.cc (ddaspk_psol): Likewise. | |
5459 * lo-mappers.cc (imag): Likewise. | |
4663 | 5460 * Array-util.cc (get_zero_len_size): Likewise. |
5461 * kpse.cc (path_search, path_find_first_of): Likewise. | |
5462 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 5463 |
4655 | 5464 * dim-vector.h (dim_vector::all_ones): New function. |
5465 | |
4646 | 5466 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5467 | |
4653 | 5468 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
5469 zeros, not orig_rows or orig_columns. | |
5470 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
5471 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
5472 | |
5473 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
5474 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
5475 | |
5476 * idx-vector.cc (idx_vector::idx_vector_rep): | |
5477 Use initialization lists for constructors. | |
5478 | |
4651 | 5479 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
5480 Omit special case for ra_idx.capacity () == 1. | |
5481 Always allow single index for matrix args with optional warning. | |
5482 | |
4650 | 5483 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
5484 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
5485 | |
4648 | 5486 * Array-so.cc: New file. Move instantiations here from so-array.h. |
5487 * Makefile.in (TI_SRC): Add it to the list. | |
5488 | |
4646 | 5489 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
5490 type and the names of the left and right operands. Change all uses. | |
5491 | |
5492 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
5493 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
5494 | |
4645 | 5495 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5496 | |
5497 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
5498 just length. | |
5499 | |
5500 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
5501 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
5502 non-dependent member functions and data as needed. | |
5503 | |
5504 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
5505 | |
5506 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
5507 * Array3.h (Array3<T>::operator =): Likewise. | |
5508 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
5509 Include Array.h, not Array2.h. | |
5510 | |
4634 | 5511 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5512 | |
4636 | 5513 * str-vec.cc (list_in_columns): Fix previous change. |
5514 | |
4635 | 5515 * dim-vector.h (dim_vector::num_ones): New function. |
5516 * Array.cc (maybe_delete_elements): Use it instead of | |
5517 num_ones (const Array<int>&). | |
5518 | |
5519 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
5520 | |
4634 | 5521 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
5522 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
5523 New functions. | |
5524 * dNDArray.h: Provide decls. | |
5525 | |
5526 * dMatrix.h (Matrix::any_element_is_negative, | |
5527 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
5528 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
5529 Simplify. | |
5530 | |
5531 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
5532 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
5533 | |
5534 * dNDArray.cc (real, imag): New functions. | |
5535 * dNDArray.h: Provide decls. | |
5536 | |
4630 | 5537 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5538 | |
5539 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
5540 | |
4625 | 5541 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5542 | |
5543 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
5544 * MArray.h (resize): Delete. | |
5545 * MArray2.h (resize): Delete. | |
5546 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
5547 * ODESSA (ODESSA::integrate): Likewise. | |
5548 | |
4616 | 5549 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5550 | |
5551 * Makefile.in (dist): Depend on stamp-prereq. | |
5552 | |
4605 | 5553 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
5554 | |
5555 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
5556 Kluge to make it work. | |
4604 | 5557 |
5558 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
5559 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
5560 | |
5561 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
5562 default_command_editor::do_generate_filename_completions, | |
5563 command_editor::generate_filename_completions): New functions. | |
5564 * cmd-edit.h: Provide decls. | |
5565 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
5566 function. | |
5567 * oct-rl-edit.h: Provide decl. | |
5568 | |
4593 | 5569 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5570 | |
4594 | 5571 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
5572 INSTANTIATE_ARRAY): New macros. | |
5573 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5574 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
5575 | |
4593 | 5576 * Array.h (Array<T>::ipermute): New function. |
5577 | |
5578 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
5579 | |
5580 * Array.cc (Array<T>::permute): New function. | |
5581 * Array.h: Provide decl. | |
5582 | |
5583 * Array-util.cc (calc_permutated_idx): New function. | |
5584 * Array-util.h: Provide decl. | |
5585 | |
4587 | 5586 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5587 | |
4592 | 5588 * Array.cc (Array<T>::index2): Return value has orientation of |
5589 indexed value if indexing a vector with a bool matrix. | |
5590 | |
4589 | 5591 * ArrayN.h (ArrayN<T>::get_size): Delete. |
5592 | |
4588 | 5593 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
5594 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
5595 | |
5596 * ArrayN-inline.h: Delete. | |
5597 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
5598 * Makefile.in: Fix the appropriate lists. | |
5599 | |
4587 | 5600 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
5601 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
5602 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
5603 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
5604 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
5605 Avoid -Wshadow warnings. | |
5606 | |
5607 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 5608 |
5609 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
5610 | |
5611 * mk-ops.awk: Delete elements of bool_headers array individually. | |
5612 | |
5613 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5614 | |
5615 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
5616 | |
4584 | 5617 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
5618 | |
5619 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
5620 | |
5621 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
5622 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
5623 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
5624 Return NDArray. Handle N-d arrays. | |
5625 | |
4575 | 5626 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5627 | |
4583 | 5628 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
5629 that upcase Fortran names by calling dlsode instead of lsode. | |
5630 | |
5631 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
5632 that upcase Fortran names by calling dodessa instead of odessa. | |
5633 | |
4577 | 5634 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
5635 non-const args for symlink system call. | |
5636 (file_ops::readlink): Likewise, for readlink. | |
5637 | |
4575 | 5638 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
5639 | |
4574 | 5640 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5641 | |
5642 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
5643 Change all uses. | |
5644 | |
4569 | 5645 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
5646 | |
5647 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
5648 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
5649 * dNDArray.h: Provide decls. | |
5650 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
5651 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
5652 ComplexNDArray::abs): New functions. | |
5653 * CNDArray.h: Provide decls. | |
5654 | |
5655 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
5656 Generalize to handle other reduction operations. | |
5657 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
5658 MX_ND_ALL_ANY_REDUCTION): New macros. | |
5659 | |
4565 | 5660 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5661 | |
4567 | 5662 * Array.cc (Array<T>::reshape): New function. |
5663 * Array.h: Provide decl. | |
5664 | |
5665 * dim-vector.h (dim_vector::numel): New function. | |
5666 | |
4565 | 5667 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
5668 dim_vector&)): Correctly handle case of n < dv->ndims. | |
5669 | |
4559 | 5670 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5671 | |
5672 * dim-vector.h (dim_vector::any_zero): New function. | |
5673 (dim_vector::str): New default arg, sep. | |
5674 | |
5675 * Array.h (Array<T>::numel): New function. | |
5676 | |
4556 | 5677 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
5678 | |
5679 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
5680 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
5681 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
5682 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5683 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
5684 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
5685 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
5686 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
5687 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
5688 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
5689 | |
4552 | 5690 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5691 | |
4553 | 5692 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
5693 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
5694 | |
4552 | 5695 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
5696 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
5697 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
5698 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
5699 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5700 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5701 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
5702 Use new F77 arg macros in declarations of external Fortran | |
5703 subroutines and for calling them. | |
5704 | |
4548 | 5705 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5706 | |
5707 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
5708 Allow number of dimensions to change. | |
5709 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
5710 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
5711 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
5712 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
5713 (Array<T>::transpose): Require ndims to be 2. | |
5714 (Array<T>::index2): Likewise. | |
5715 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
5716 (Array<T>::maybe_delete_elements_2): Likewise. | |
5717 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
5718 (Array<T>::index1): Use resize_and_fill. | |
5719 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
5720 | |
5721 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
5722 | |
5723 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
5724 (MArray2<T>::resize (int, int, const T&)): New function. | |
5725 | |
5726 * MArray.h (MArray<T>::resize (int)): New function. | |
5727 (MArray<T>::resize (int, const T&)): New function. | |
5728 | |
5729 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
5730 | |
5731 * DASPK-opts.in: Use single-arg resize for initial condition | |
5732 heuristics. | |
5733 | |
5734 * dim-vector.h (class dim_vector): Now reference counted. | |
5735 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
5736 | |
4544 | 5737 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5738 | |
4545 | 5739 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
5740 | |
4544 | 5741 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
5742 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
5743 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
5744 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
5745 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
5746 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
5747 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
5748 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
5749 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
5750 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
5751 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
5752 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
5753 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
5754 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
5755 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
5756 files are now automatically generated. | |
5757 | |
5758 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
5759 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
5760 Add rules to generate these files and mx-ops.h. | |
5761 (stamp-prereq): Depend on these files. | |
5762 | |
5763 * mx-ops, vx-ops, mk-ops.awk: New files. | |
5764 * Makefile.in (DISTFILES): Add them to the list. | |
5765 | |
4543 | 5766 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5767 | |
5768 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
5769 NDArray::NDArray (const charNDArray)): New constructors. | |
5770 (NDArray::operator !): New function. | |
5771 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5772 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5773 | |
5774 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5775 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5776 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
5777 New constructors. | |
5778 (ComplexNDArray::operator !): New function. | |
5779 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
5780 NDND_CMP_OPS, NDND_BOOL_OPS. | |
5781 | |
5782 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
5783 | |
5784 * boolNDArray.cc (boolNDArray::operator !): New function. | |
5785 Provide NDND_CMP_OPS. | |
5786 | |
5787 * MArrayN.cc (operator +=, operator -=): New functions. | |
5788 Provide product and quotient functions. | |
5789 | |
5790 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
5791 dim_vector&)): New function. | |
5792 | |
5793 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
5794 operator ==, operator !=): New functions. | |
5795 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
5796 | |
5797 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
5798 No need to save old dimensions. | |
5799 | |
5800 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
5801 (octave_rand::nd_array): New function. | |
5802 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
5803 | |
5804 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
5805 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
5806 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
5807 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
5808 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
5809 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
5810 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
5811 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
5812 NDND_OP_DECLS): New macros. | |
5813 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
5814 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
5815 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
5816 | |
5817 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
5818 boolNDArray, class charNDArray): New forward decls. | |
5819 | |
4534 | 5820 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5821 | |
5822 * Array.cc (assign2): No error (but don't do anything either) for | |
5823 expressions like x([],j) = scalar. | |
5824 | |
4532 | 5825 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5826 | |
4533 | 5827 * Array.cc (assignN): Allow lhs(:) = scalar. |
5828 | |
4532 | 5829 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
5830 * dNDArray.cc (NDArray::increment_index): Likewise. | |
5831 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
5832 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
5833 | |
5834 * dim-vector.h (rows, cols): Delete unused data members. | |
5835 | |
5836 * Array.cc (Array<T>::get_size): Fix thinko. | |
5837 | |
5838 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5839 | |
5840 * Array.cc (Array<T>::squeeze): New function. | |
5841 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
5842 * dNDArray.h (NDArray::squeeze): Likewise. | |
5843 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
5844 * chNDArray.h (charNDArray::squeeze): Likewise. | |
5845 | |
4530 | 5846 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
5847 | |
5848 * Array.cc (ArrayN<T>::indexN): New definition. | |
5849 * Array.h (Array<T>::indexN): Provide decl. | |
5850 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
5851 Call indexN if more than 2 indices. | |
5852 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
5853 Make it (mostly) work. | |
5854 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
5855 New functions. | |
5856 | |
4527 | 5857 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5858 | |
5859 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
5860 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
5861 versions with eof arg. | |
5862 | |
4518 | 5863 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5864 | |
5865 * Array.h (dimensions): Now public. | |
5866 template <class LT, class RT> | |
5867 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
5868 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
5869 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
5870 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
5871 resize_no_fill (int), | |
5872 resize_no_fill (int, int), | |
5873 resize_no_fill (int, int, int), | |
5874 resize_no_fill (const dim_vector&), | |
5875 resize_and_fill (int, const T&), | |
5876 resize_and_fill (int, int, const T&), | |
5877 resize_and_fill (int, int, int, const T&), | |
5878 resize_and_fill (const dim_vector&, const T&)): Now public. | |
5879 | |
5880 * Array.cc: Include <climits>. | |
5881 | |
4513 | 5882 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5883 | |
4517 | 5884 * Array.cc: Merge Array-idx.h. |
5885 * Array-idx.h: Delete. | |
5886 | |
4514 | 5887 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
5888 | |
4513 | 5889 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
5890 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
5891 just special cases of the general purpose N-d Array object). | |
5892 | |
5893 * dim-vector.h: New file. Use dim_vector objects instead of | |
5894 ints or Array<int> objects to represent the size of Array | |
5895 objects. | |
5896 | |
5897 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
5898 | |
5899 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
5900 | |
5901 * mx-base.h: Include NDArray header files. | |
5902 | |
5903 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
5904 | |
5905 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
5906 Array-s.cc: Also instantiate ArrayN objects. | |
5907 Don't instantiate assign funcitons for Array2 objects. | |
5908 | |
5909 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
5910 liboctave_error_handler, not cerr. | |
5911 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
5912 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
5913 * dMatrix.cc (Matrix::diag): Likewise. | |
5914 | |
5915 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
5916 Omit checks for HEAVYWEIGHT_INDEXING. | |
5917 | |
5918 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5919 | |
5920 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
5921 | |
5922 * CNDARray.h, CNDArray.cc: New files. | |
5923 * Makefile.in: Add them to the appropriate lists. | |
5924 | |
5925 * dNDArray.h: Rename from NDArray.h. | |
5926 * dNDArray.cc: Rename from NDArray.cc. | |
5927 * Makefile.in: Rename them here too. | |
5928 | |
4507 | 5929 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5930 | |
5931 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5932 | |
5933 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5934 * Makefile.in: Add them to the appropriate lists. | |
5935 | |
5095 | 5936 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5937 |
5938 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5939 biry): Always request scaled results from AMOS functions and | |
5940 perform reverse scaling on results if scaled result not requested | |
5941 by user. | |
5942 | |
5943 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5944 | |
5945 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5946 | |
4505 | 5947 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5948 | |
5949 * Array-d.cc: Instantiate assign functions. | |
5950 | |
4504 | 5951 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5952 | |
5953 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5954 (get_elt_idx): Index ra_idx correctly. | |
5955 | |
5956 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5957 bounds if it is exactly on the bound. | |
5958 | |
5959 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5960 * ArrayN.h: Provide decl. | |
5961 | |
5962 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5963 | |
5964 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5965 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5966 (idx_vector::orig_dimensions): New function. | |
5967 | |
4497 | 5968 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5969 | |
5970 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5971 | |
4496 | 5972 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5973 | |
5974 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5975 (is_in, how_many_lgt, all_ones): New functions. | |
5976 | |
4493 | 5977 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5978 | |
5979 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5980 | |
5981 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5982 | |
5983 * ArrayN-inline.h: New file. | |
5984 (index_in_bounds, increment_index): Move here. | |
5985 * ArrayN.cc: From here. | |
5986 | |
5987 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5988 * ArrayN-idx.h (assign): New function. | |
5989 | |
4490 | 5990 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5991 | |
5992 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5993 Also zero imaginary part of result if real part of input value is | |
5994 zero. | |
5995 | |
4478 | 5996 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5997 | |
5998 * mx-base.h: Include ArrayN.h. | |
5999 | |
4476 | 6000 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6001 | |
6002 * ArrayN.cc (operator <<): Corrected output. | |
6003 | |
4474 | 6004 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6005 | |
6006 * ArrayN.cc (increment_index): New arg, start_dimension. | |
6007 | |
5095 | 6008 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 6009 |
6010 * ArrayN.cc (operator <<): Improve output readability. | |
6011 | |
4493 | 6012 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 6013 |
6014 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
6015 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
6016 Initialize old_len before changing size. | |
6017 | |
4472 | 6018 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6019 | |
6020 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 6021 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 6022 |
4469 | 6023 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6024 | |
6025 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
6026 way. Handle NA in an R-compatible way. | |
6027 | |
6028 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
6029 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
6030 | |
6031 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
6032 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
6033 | |
6034 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
6035 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
6036 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
6037 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
6038 | |
4461 | 6039 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6040 | |
6041 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6042 Pass true for resize_ok arg to freeze. | |
6043 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6044 Likewise. | |
6045 | |
6046 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
6047 resize_ok arg is now bool. | |
6048 * idx-vector.h (idx_vector::freeze): Likewise. | |
6049 | |
6050 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
6051 Rename from liboctave_rre_flag. Now bool. | |
6052 (liboctave_wfi_flag): Now bool. | |
6053 | |
6054 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
6055 | |
5095 | 6056 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 6057 |
6058 * Array.h (resize_fill_value): Now a top-level template function. | |
6059 Accept object as argument. Change all uses. | |
6060 | |
4455 | 6061 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6062 | |
6063 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
6064 | |
6065 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
6066 liboctave_dfi_flag. | |
6067 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
6068 X undefined or empty, always create a row vector. | |
6069 | |
6070 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
6071 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
6072 | |
4437 | 6073 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6074 | |
6075 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6076 Magic colon indexing always produces an object with one column. | |
6077 | |
5095 | 6078 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 6079 |
6080 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
6081 | |
6082 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
6083 | |
4431 | 6084 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6085 | |
6086 * dMatrix.cc (any_element_is_negative): If new optional arg | |
6087 neg_zero is true, also return true for negative zero. | |
6088 | |
4429 | 6089 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6090 | |
6091 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
6092 Handle step limit. | |
6093 * DASSL-opts.in: New option for step limit. | |
6094 | |
5095 | 6095 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 6096 |
6097 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
6098 | |
4428 | 6099 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6100 | |
6101 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
6102 Store step limit in iwork(20), not iwork(18). | |
6103 | |
5095 | 6104 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 6105 |
6106 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
6107 | |
4412 | 6108 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6109 | |
4413 | 6110 * Makefile.in: Handle DESTDIR. |
6111 | |
4412 | 6112 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
6113 (kpse_path_iterator::set_end): Don't miss last element when not | |
6114 followed by a colon. | |
6115 | |
4409 | 6116 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6117 | |
6118 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
6119 | |
6120 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6121 | |
6122 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
6123 (find_first_of): Also do an absolute search on each | |
6124 name before looking in the path. | |
6125 | |
4407 | 6126 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6127 | |
6128 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
6129 directory separator. | |
6130 | |
4399 | 6131 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6132 | |
6133 * pathsearch.cc: Include kpse.cc here. | |
6134 | |
6135 * kpse.cc: All functions are now static. Massive surgery to | |
6136 condense kpathsearch library to a single file of just the | |
6137 essentials for Octave and convert to using C++ strings (no more | |
6138 calls to malloc, very few calls to new, so there should be much | |
6139 less potential for introducing memory leaks now). | |
6140 | |
6141 * Makefile.in (EXTRAS): Move kpse.cc here from | |
6142 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
6143 | |
6144 * kpse.h, kpse-config.h: Delete. | |
6145 * Makefile.in (INCLUDES): Delete them from the list. | |
6146 | |
4392 | 6147 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6148 | |
6149 * str-vec.cc (string_vector::append (const std::string&), | |
6150 string_vector::append (const string_vector&)): New methods. | |
6151 | |
4386 | 6152 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6153 | |
4389 | 6154 * kpse.cc, kpse.h: Replace fn_type with std::string. |
6155 | |
4387 | 6156 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
6157 | |
4386 | 6158 * kpse.cc (xclosedir): Don't define or declare for Windows. |
6159 (READABLE): Now a static function to avoid warnings from MinGW | |
6160 compiler. | |
6161 | |
4384 | 6162 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6163 | |
4385 | 6164 * kpse.cc: Move most functions from kpse-xfns.c here and make |
6165 static. Include most of kpse-xfns.h directly, removing | |
6166 unnecessary bits. | |
6167 | |
4384 | 6168 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
6169 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6170 | |
4378 | 6171 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6172 | |
6173 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
6174 * Makefile.in: Add them to the appropriates lists. | |
6175 | |
6176 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
6177 | |
6178 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
6179 for new locations of kpathsea objects. | |
6180 Delete kpathsea targets. | |
6181 | |
6182 * pathsearch.cc (dir_path::set_program_name): Delete. | |
6183 | |
6184 * kpse.cc: New file. | |
6185 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
6186 | |
6187 * kpse.c: New file. | |
6188 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
6189 | |
6190 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
6191 * Makefile.in (INCLUDES): Add them to the list. | |
6192 | |
6193 * oct-kpse.h: Delete. | |
6194 * Makefile.in (INCLUDES): Delete it from the list. | |
6195 | |
4374 | 6196 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6197 | |
6198 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
6199 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
6200 Likewise. | |
6201 From Quentin H. Spencer <qspencer@ieee.org>. | |
6202 | |
4365 | 6203 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6204 | |
6205 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
6206 | |
4349 | 6207 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6208 | |
4352 | 6209 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
6210 without placement delete. | |
6211 | |
4349 | 6212 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
6213 imaginary parts. | |
6214 | |
6215 * lo-ieee.h (lo_ieee_signbit): New macro. | |
6216 | |
5095 | 6217 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 6218 |
6219 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
6220 Use Lapack instead of Linpack. | |
5315 | 6221 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 6222 ComplexMatrix::solve): Likewise. |
6223 | |
6224 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
6225 calc_cond. If 0, skip condition number calculation. | |
6226 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
6227 Likewise. | |
6228 | |
6229 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
6230 * dbleLU.cc (LU::LU): Likewise. | |
6231 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
6232 | |
6233 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6234 | |
6235 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
6236 | |
4323 | 6237 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6238 | |
6239 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
6240 Additional compatibility fix. | |
6241 | |
6242 2003-02-13 Arno Klaassen <arno@scito.com> | |
6243 | |
6244 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6245 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
6246 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
6247 | |
4322 | 6248 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6249 | |
6250 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6251 Compatibility fix. | |
6252 | |
4316 | 6253 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6254 | |
6255 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
6256 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
6257 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
6258 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
6259 * dRowVector.cc (RowVector::extract_n): Likewise. | |
6260 * dMatrix.cc (Matrix::extract_n): Likewise. | |
6261 | |
6262 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
6263 with make_unique and xelem. | |
6264 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
6265 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
6266 ComplexMatrix::extract, ComplexMatrix::row, | |
6267 ComplexMatrix::column): Likewise. | |
6268 * dColVector.cc (ColumnVector::insert): Likewise. | |
6269 * dRowVector.cc (RowVector::insert): Likewise. | |
6270 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
6271 Matrix::row, Matrix::column): Likewise. | |
6272 | |
4313 | 6273 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6274 | |
6275 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
6276 | |
4309 | 6277 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6278 | |
6279 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
6280 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
6281 * CMatrix.h, dMatrix.h: Provide decls. | |
6282 | |
4307 | 6283 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6284 | |
6285 * oct-rand.h, oct-rand.cc: New files. | |
6286 * Makefile.in: Add them to the appropriate lists. | |
6287 | |
4306 | 6288 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6289 | |
6290 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
6291 | |
4299 | 6292 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
6293 | |
6294 * oct-syscalls.cc: Include signal.h. | |
6295 | |
4294 | 6296 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6297 | |
6298 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
6299 * oct-syscalls.h: Provide decl. | |
6300 | |
6301 | |
4293 | 6302 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6303 | |
6304 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
6305 there is nothing to read. | |
6306 | |
4290 | 6307 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6308 | |
6309 * lo-cutils.c: Define _XOPEN_SOURCE. | |
6310 | |
4286 | 6311 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6312 | |
4288 | 6313 * getopt.h: Update to version from kpathsearch, so we will install |
6314 the version that we are using. | |
6315 | |
6316 * getopt.c, getopt1.c: Delete. | |
6317 (INCLUDES): Delete them from the list. We'll get these files from | |
6318 kpathsearch. | |
6319 | |
4286 | 6320 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
6321 ../kpathsea/STATIC/*.o. | |
6322 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
6323 | |
4270 | 6324 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6325 | |
4282 | 6326 * dMatrix.cc (read_int, write_int): Avoid warnings about |
6327 unreachable code. | |
6328 | |
4279 | 6329 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
6330 to correspond to placement new operator. | |
6331 | |
4278 | 6332 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
6333 (DET::value_will_underflow): Likewise. | |
6334 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
6335 (ComplexDET::value_will_underflow): Likewise. | |
6336 | |
4276 | 6337 * Makefile.in (distclean): Also remove stamp-prereq. |
6338 | |
4306 | 6339 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
6340 RHS and index are empty matrices, don't do anything. | |
4270 | 6341 |
4242 | 6342 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6343 | |
6344 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
6345 delete_c_names): New helper functions. | |
6346 (dir_path::find_first_of): New function. | |
6347 (dir_path::find_all_first_of): Likewise. | |
6348 * pathsearch.h: Provide decls. | |
6349 | |
6350 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
6351 (octave_kpse_all_path_find_first_of): Likewise. | |
6352 * oct-kpse.h: Provide decls. | |
6353 | |
4231 | 6354 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6355 | |
6356 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
6357 * ODESSA-opts.in: Likewise. | |
6358 | |
6359 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
6360 * LSODE-opts.in: Likewise. | |
6361 | |
4229 | 6362 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
4230 | 6364 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
6365 in all constructors. | |
6366 | |
4229 | 6367 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
6368 (LINK_DEPS): Not here. | |
6369 | |
4219 | 6370 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6371 | |
4220 | 6372 * str-vec.cc (string_vector::compare): New static member function. |
6373 * str-vec.h: Provide decl. | |
6374 (string_vector::sort): Use it. | |
6375 (str_vec_compare): Delete static function. | |
6376 | |
4219 | 6377 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
6378 a placement operator new. | |
6379 | |
4209 | 6380 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6381 | |
4210 | 6382 * Matrix.h: Include mx-ops.h too. |
4209 | 6383 * mx-ops.h: New file. |
6384 | |
4192 | 6385 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6386 | |
6387 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
6388 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
6389 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
6390 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
6391 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6392 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6393 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
6394 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
6395 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
6396 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
6397 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
6398 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
6399 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
6400 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
6401 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
6402 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
6403 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
6404 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
6405 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
6406 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
6407 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
6408 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
6409 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
6410 | |
4184 | 6411 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6412 | |
6413 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
6414 From Remy Bruno <remy.bruno@libertysurf.fr> | |
6415 | |
4180 | 6416 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6417 | |
6418 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
6419 fortran code that should run fast enough that it is not worth all | |
6420 the setup costs of F77_XFCN. | |
6421 | |
6422 * Quad.cc (user_function): Surround body of function with | |
6423 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
6424 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
6425 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
6426 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
6427 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
6428 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
6429 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
6430 | |
4164 | 6431 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6432 | |
6433 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
6434 of ! defined (linux). | |
6435 | |
5095 | 6436 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 6437 |
6438 * oct-shlib.cc (octave_dyld_shlib): New class. | |
6439 (make_shlib): Instantiate octave_dyld_shlib. | |
6440 | |
4152 | 6441 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6442 | |
4153 | 6443 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
6444 | |
4152 | 6445 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
6446 | |
6447 * Array.h: Include <cstddef> here. | |
6448 | |
4142 | 6449 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6450 | |
4144 | 6451 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
6452 using them. Accept inequality contraint option of 0. Assign | |
6453 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
6454 abs_tol and rel_tol. | |
6455 | |
4143 | 6456 * cmd-edit.h (command_editor::filename_completion_desired): New |
6457 static function. | |
6458 (command_editor::do_filename_completion_desired): New virtual function. | |
6459 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
6460 * oct-rl-edit.h: Provide decl. | |
6461 | |
4142 | 6462 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
6463 avoid OS X linker bug. | |
6464 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
6465 | |
4139 | 6466 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6467 | |
4141 | 6468 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
6469 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
6470 solvers. | |
6471 * ODESSA.cc: Fix all callers. | |
6472 | |
4139 | 6473 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
6474 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
6475 sum(zeros(1,0)) returns 0, not [](1x0)). | |
6476 | |
4136 | 6477 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6478 | |
6479 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
6480 | |
4132 | 6481 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6482 | |
4133 | 6483 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
6484 (ddasrt_f): Combine loops. | |
6485 | |
4132 | 6486 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
6487 instead of empty vector if user termninates iteration. | |
6488 | |
4130 | 6489 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6490 | |
6491 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
6492 octave_read_complex, octave_write_double, octave_write_complex): | |
6493 New functions. | |
6494 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
6495 Use octave_write_complex. | |
6496 (operator >> (std::istream&, const ComplexMatrix&)): | |
6497 Use octave_read_complex. | |
6498 * dMatrix.cc (operator << (std::ostream&, double)): | |
6499 Use octave_write_double. | |
6500 (operator >> (std::istream&, double)): Use octave_read_double. | |
6501 | |
4126 | 6502 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6503 | |
6504 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
6505 * oct-kpse.h: Delete decl. | |
6506 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
6507 ::octave_kpse_clear_dir_cache. | |
6508 | |
4123 | 6509 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6510 | |
4124 | 6511 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
6512 earlier than 3.0. | |
6513 | |
4123 | 6514 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
6515 (liboctave.$(SHLEXT)): Not here. | |
6516 | |
5095 | 6517 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 6518 |
6519 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
6520 | |
4108 | 6521 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6522 | |
6523 * Makefile.in (install-lib): Don't bother with versions for | |
6524 $(SHLBIN) files. | |
6525 | |
5095 | 6526 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 6527 |
6528 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
6529 | |
4102 | 6530 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6531 | |
6532 * lo-cieee.c: Move everything but lo_ieee_init here. | |
6533 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
6534 New functions. | |
6535 | |
6536 * Makefile.in (install): No need to use cd to create links. | |
6537 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
6538 | |
5095 | 6539 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 6540 |
6541 * Makefile.in: Merge liboctave with liboct-readline and | |
6542 liboct-pathsearch. | |
6543 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
6544 (libraries): Depend on versioned library. | |
6545 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
6546 build unversioned library, symbolic link adds version info. | |
6547 (install, uninstall): Handle link and load forms of the library | |
6548 separately. | |
6549 | |
4101 | 6550 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6551 | |
6552 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
6553 __CYGWIN__. | |
6554 | |
6555 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
6556 file_ops::dir_sep_chars): New static functions to replace | |
6557 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
6558 | |
6559 * oct-env.cc (octave_env::do_set_program_name): | |
6560 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
6561 (octave_env::do_base_pathname): Likewise. | |
6562 (octave_env::do_make_absolute): Likewise. | |
6563 | |
6564 * oct-env.cc (octave_env::do_make_absolute): | |
6565 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
6566 (octave_env::do_get_home_directory): Likewise. | |
6567 | |
6568 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
6569 that information here too. | |
6570 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
6571 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
6572 | |
6573 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
6574 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
6575 | |
4097 | 6576 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6577 | |
6578 * oct-env.h (octave_env::current_directory): Now mutable. | |
6579 (octave_env:do_getcwd): Now const. | |
6580 | |
6581 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
6582 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
6583 OCTAVE_CURRENT_DIR_STR): New macros. | |
6584 * oct-env.cc (is_dir_sep): Delete. | |
6585 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
6586 (octave_env::do_set_program_name): Likewise. | |
6587 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
6588 instead of checking for '/'. | |
6589 (octave_env::pathname_backup): Likewise. | |
6590 (octave_env::do_absolute_pathname): Likewise. | |
6591 (octave_env::do_make_absolute): Likewise. | |
6592 If dot_path is empty, use getcwd to set current_dir. | |
6593 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
6594 instead of "/". | |
6595 | |
5095 | 6596 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6597 |
6598 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
6599 | |
5095 | 6600 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 6601 |
6602 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
6603 absolute path names under MinGW as well. | |
6604 | |
6605 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6606 | |
6607 * oct-env.cc: Include <cctype> too. | |
6608 | |
4087 | 6609 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6610 | |
6611 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
6612 filenames. | |
6613 (octave_env::do_make_absolute): Check for absolute name with | |
6614 do_absolute_path. | |
4088 | 6615 (octave_env::do_chdir): Likewise. |
6616 (is_dir_sep): New function. | |
4087 | 6617 |
5095 | 6618 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 6619 |
4086 | 6620 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
6621 systems. | |
4085 | 6622 |
4083 | 6623 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6624 | |
6625 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
6626 | |
4080 | 6627 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6628 | |
4081 | 6629 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
6630 | |
4080 | 6631 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
6632 | |
5095 | 6633 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 6634 |
6635 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
6636 gr_gid too. | |
6637 | |
4072 | 6638 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6639 | |
4074 | 6640 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
6641 lo_ieee_* functions. | |
4072 | 6642 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 6643 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
6644 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 6645 * lo-cieee.c: New file. |
4074 | 6646 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 6647 * lo-ieee.h: Now all extern "C". |
4074 | 6648 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
6649 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
6650 | |
4072 | 6651 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
6652 Now extern. | |
6653 | |
4066 | 6654 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6655 | |
6656 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6657 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6658 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6659 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6660 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6661 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6662 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6663 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6664 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6665 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6666 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6667 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6668 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6669 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6670 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6671 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6672 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6673 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6674 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6675 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6676 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6677 oct-alloc.cc: | |
6678 If __GNUG__, use pragma interface/implementation. Allow this to | |
6679 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
6680 | |
5095 | 6681 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 6682 |
4066 | 6683 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
6684 system readlink function is not available. | |
6685 | |
4065 | 6686 * lo-mappers.cc (xerf, xerfc): Delete. |
6687 * lo-mappers.h (xerf, xerfc): Delete decls. | |
6688 | |
4064 | 6689 * lo-mappers.cc: Remove unused #define M_PI. |
6690 * lo-specfun.cc: Add #define M_PI if needed. | |
6691 | |
4062 | 6692 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6693 | |
6694 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
6695 that geteuid doesn't exist. | |
6696 | |
6697 * LP.h: Rename LP class to octave_LP. | |
6698 LPsolve.h: Change all uses. | |
6699 | |
6700 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
6701 incorrect token-pasting op. | |
6702 | |
6703 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
6704 define lstat. | |
6705 | |
4061 | 6706 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6707 | |
6708 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6709 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
6710 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
6711 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
6712 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6713 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6714 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
6715 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
6716 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
6717 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
6718 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
6719 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
6720 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
6721 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
6722 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
6723 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
6724 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
6725 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
6726 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
6727 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
6728 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
6729 oct-alloc.cc: | |
6730 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
6731 to decide whether to use the interface/implementation pragmas. | |
6732 | |
4058 | 6733 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6734 | |
6735 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
6736 | |
4055 | 6737 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
6738 | |
6739 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
6740 qualified names. | |
6741 | |
4051 | 6742 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6743 | |
4054 | 6744 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
6745 ArrayN.cc: Add typename where needed. | |
4053 | 6746 |
4051 | 6747 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
6748 strstream classes directly. | |
6749 * DASRT.cc: Likewise. | |
6750 * DASSL.cc: Likewise. | |
6751 * LSODE.cc: Likewise. | |
6752 * ODESSA.cc: Likewise. | |
6753 | |
6754 * cmd-hist.cc: Don't include <strstream>. | |
6755 * oct-shlib.cc: Likewise. | |
6756 | |
6757 * lo-sstream.h: New file. | |
6758 | |
4049 | 6759 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6760 | |
6761 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
6762 New data members. | |
6763 (LSODE::sanity_checked): Delete unused data member. | |
6764 | |
6765 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
6766 prel_tol, pinfo, piwork, prwork): New data members. | |
6767 * DASSL.h (DASSL): Likewise. | |
6768 | |
6769 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
6770 | |
6771 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
6772 initialization, changes in options, etc. | |
6773 * DASPK.cc (DASPK::do_integrate): Likewise. | |
6774 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6775 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6776 | |
4047 | 6777 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6778 | |
4049 | 6779 * DAEFunc.h (DAEFunc::reset): New data member. |
6780 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
6781 | |
6782 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
6783 (base_diff_eqn::clear_stop_time): Likewise. | |
6784 | |
4047 | 6785 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
6786 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
6787 | |
5095 | 6788 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 6789 |
6790 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
6791 * DASRT-opts.in, DASRT.h: Likewise. | |
6792 * DASSL-opts.in, DASSL.h: Likewise. | |
6793 * LSODE-opts.in, LSODE.h: Likewise. | |
6794 * NLEqn-opts.in, NLEqn.h: Likewise. | |
6795 * ODESSA-opts.in, ODESSA.h: Likewise. | |
6796 | |
4038 | 6797 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6798 | |
4042 | 6799 * LSODE.cc (LSODE::error_message): Also return current T on |
6800 failures when that makes sense. | |
4043 | 6801 * DASSL.cc (DASSL::error_message): Likewise. |
6802 * DASRT.cc (DASRT::error_message): Likewise. | |
6803 * DASPK.cc (DASPK::error_message): Likewise. | |
6804 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 6805 |
4038 | 6806 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
6807 $(LIBKPATHSEA) here. | |
6808 | |
4025 | 6809 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
6811 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
6812 (lo_ieee_is_NaN_or_NA): New function. | |
6813 (octave_NA): New global value. | |
6814 (octave_ieee_init): Initialize it. | |
6815 * lo-mappers.cc (octave_is_NA): New function. | |
6816 (octave_is_NaN_or_NA): New function. | |
6817 (xisnan): Return false if NaN looks like a missing value. | |
6818 (xisnan (const Complex&)): Use xisnan here. | |
6819 | |
4015 | 6820 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6821 | |
4017 | 6822 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
6823 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
6824 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
6825 Default value for dim is -1, not 0. | |
6826 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
6827 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
6828 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
6829 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
6830 | |
4015 | 6831 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
6832 New macros. | |
6833 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
6834 MX_BASE_REDUCTION_OP. | |
6835 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
6836 | |
4014 | 6837 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6838 | |
4015 | 6839 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
6840 Return boolMatrix, not Matrix. | |
6841 | |
6842 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
6843 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
6844 (Matrix::all): Replace guts with MX_ALL_OP. | |
6845 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
6846 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
6847 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
6848 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
6849 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
6850 (charMatrix::all): Replace guts with MX_ALL_OP. | |
6851 | |
6852 * dMatrix.h (Matrix::any): New arg, dim. | |
6853 (Matrix::all): Likewise. | |
6854 * CMatrix.h (ComplexMatrix::any): Likewise. | |
6855 (ComplexMatrix::all): Likewise. | |
6856 * boolMatrix.h (boolMatrix::any): Likewise. | |
6857 (boolMatrix::all): Likewise. | |
6858 * chMatrix.h (charMatrix::any): Likewise. | |
6859 (charMatrix::all): Likewise. | |
6860 | |
4014 | 6861 * Makefile.in: Use $@-t instead of $@.t. |
6862 | |
4004 | 6863 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6864 | |
6865 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
6866 Use it in matrix versions to avoid spewing multiple errors. | |
6867 Call xgammainc instead of dgamit. | |
6868 | |
3998 | 6869 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6870 | |
6871 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
6872 Get rows and columns right in loop. | |
6873 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
6874 | |
6875 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6876 | |
6877 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
6878 * DASRT.cc (DASRT::integrate): Likewise. | |
6879 * DASSL.cc (DASSL::do_integrate): Likewise. | |
6880 | |
6881 * Quad.cc: Don't pass tolerances in constructors. | |
6882 | |
6883 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
6884 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
6885 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
6886 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
6887 from corresponding .in files. | |
6888 * LSODE.h, Quad.h: Replace options class definitions with included | |
6889 file. | |
6890 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
6891 create OPTS_INC files from OPTS_INC_SRC files. | |
6892 (stamp-prereq): New target. | |
6893 (libraries): Depend on stamp-prereq. | |
6894 Include stamp-prereq along with $(MAKEDEPS). | |
6895 | |
3997 | 6896 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6897 | |
6898 * base-de.h (base_diff_eqn::istate): New data member. | |
6899 (base_diff_eqn::integration_state): New member function. | |
6900 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
6901 data members and functions. | |
6902 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
6903 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
6904 | |
3990 | 6905 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6906 | |
3995 | 6907 * base-de.h (base_diff_eqn::stop_time, |
6908 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
6909 base_diff_eqn::integration_error): New data members. | |
6910 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
6911 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
6912 base_diff_eqn::error_message): New member functions. | |
6913 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
6914 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
6915 members and functions. | |
6916 | |
3992 | 6917 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
6918 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 6919 (DASRT::integrate): Don't forget to set nn. |
3992 | 6920 |
3991 | 6921 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
6922 * DASSL.cc (ddassl_j): Make it work. | |
6923 * DASPK.cc (ddaspk_j): Likewise. | |
6924 | |
3990 | 6925 * DAE.cc: Delete. |
6926 | |
6927 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6928 solving with root finding. | |
6929 * Makefile.in: Add them to the appropriate lists. | |
6930 | |
6931 * base-dae.h: New file. | |
6932 * Makefile.in (INCLUDES): Add it to the list. | |
6933 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6934 | |
3984 | 6935 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6936 | |
6937 * ODE.h: Move integrate and do_integrate method declarations and | |
6938 definitions here. | |
6939 * base-de.h: From here. | |
6940 | |
6941 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6942 * Makefile.in: Add them to the appropriate lists. | |
6943 (LIBOCTAVE_CXX_SOURCES): | |
6944 | |
3971 | 6945 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6946 | |
6947 * NLEqn.cc (NLEqn::error_message): New function. | |
6948 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6949 | |
3970 | 6950 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6951 | |
6952 * lo-utils.cc (octave_fgetl): New function. | |
6953 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6954 | |
3959 | 6955 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6956 | |
6957 * LSODE.cc (LSODE::error_message): New function. | |
6958 * LSODE.h: Provide decl. | |
6959 (LSODE::integration_state): New function. | |
6960 (LSODE::integration_ok): New function. | |
6961 | |
3952 | 6962 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6963 | |
3955 | 6964 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6965 (LSODE_options::set_integration_method, | |
6966 LSODE_options::integration_method): New functions. | |
3954 | 6967 |
3952 | 6968 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6969 Change all uses. | |
6970 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6971 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6972 New function. | |
6973 | |
6974 * Array.h (Array::fortran_vec): New const version. | |
6975 | |
3951 | 6976 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6977 | |
6978 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6979 (gnu_readline::history_search_forward): Likewise. | |
6980 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6981 to extern "C" functions to octave_rl_ad_defun. | |
6982 | |
5095 | 6983 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6984 |
6985 * DASPK.cc (ddaspk_psol): Return value. | |
6986 * oct-rl-edit.c: Use /* ... */ to comment. | |
6987 | |
3945 | 6988 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6989 | |
6990 * DASSL.h (DASSL_options::init): Undo previous change. | |
6991 (DASSL_options::set_absolute_tolerance): Likewise. | |
6992 * LSODE.h (LSODE_options::init): Likewise. | |
6993 (LSODE_options::set_absolute_tolerance): Likewise. | |
6994 | |
6995 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6996 sqrt(eps), not eps^2. | |
6997 DASPK_options::set_absolute_tolerance): Likewise. | |
6998 | |
5095 | 6999 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 7000 |
7001 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
7002 object. | |
7003 | |
3933 | 7004 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7005 | |
7006 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
7007 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
7008 (octave_rl_set_basic_word_break_characters, | |
7009 octave_rl_set_completer_word_break_characters): New functions. | |
7010 * oct-rl-edit.h: Provide decls. | |
7011 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
7012 gnu_readline::do_set_completer_word_break_characters): New functions. | |
7013 (command_editor::set_basic_quote_characters, | |
7014 command_editor::set_completion_append_character): New static functions. | |
7015 * cmd-edit.h: Provide decls. | |
7016 (command_editor::do_set_basic_word_break_characters, | |
7017 command_editor::do_set_completer_word_break_characters): | |
7018 New virtual functions. | |
7019 | |
7020 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
7021 (resize_fill_value): New static function. | |
7022 | |
7023 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
7024 resize_fill_value. | |
7025 * Array2-idx.h (Array2<T>::index): Likewise. | |
7026 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
7027 | |
7028 * Array2.cc (Array<T>::print_info): New function. | |
7029 * Array2.h: Provide decl. | |
7030 | |
7031 * Array.cc (Array<T>::print_info): New function. | |
7032 * Array.h: Provide decl. | |
7033 | |
3928 | 7034 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7035 | |
7036 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
7037 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
7038 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
7039 | |
7040 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
7041 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
7042 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
7043 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
7044 | |
5095 | 7045 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 7046 |
7047 * Array3.h (Array3<T>::checkelem): Improve error message. | |
7048 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
7049 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
7050 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
7051 | |
3919 | 7052 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7053 | |
7054 * DASSL.h (DASSL_options::init): Undo previous change. | |
7055 (DASSL_options::set_absolute_tolerance): Likewise. | |
7056 | |
3912 | 7057 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7058 | |
7059 * DASPK.h, DASPK.cc: New files. | |
7060 * Makefile.in: Add them to the appropriate lists. | |
7061 | |
3904 | 7062 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7063 | |
7064 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
7065 Simplify indexing when one or both of the indices are empty. | |
7066 | |
3896 | 7067 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7068 | |
7069 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
7070 (DASSL_options::set_absolute_tolerance): Likewise. | |
7071 * LSODE.h (LSODE_options::init): Likewise. | |
7072 (LSODE_options::set_absolute_tolerance): Likewise. | |
7073 | |
5095 | 7074 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 7075 |
7076 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
7077 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
7078 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
7079 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
7080 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
7081 * file-stat.h: Likewise. | |
7082 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
7083 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
7084 instead of HAVE_STRUCT_TM_TM_ZONE. | |
7085 * strftime.c: Likewise. | |
7086 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
7087 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
7088 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
7089 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
7090 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7091 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7092 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
7093 | |
5095 | 7094 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 7095 |
7096 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
7097 internally when the user requests it. | |
7098 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
7099 * dbleQR.cc (QR::init): Ditto. | |
7100 * dbleQRP.cc (QRP::init): Ditto. | |
7101 | |
3874 | 7102 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7103 | |
7104 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
7105 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
7106 (octave_fftw::ifft2d): Likewise. | |
7107 | |
5095 | 7108 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 7109 |
7110 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
7111 | |
3867 | 7112 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7113 | |
7114 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
7115 (LS_DO_WRITE): Likewise. | |
7116 | |
3864 | 7117 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7118 | |
7119 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
7120 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
7121 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
7122 | |
7123 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
7124 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
7125 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
7126 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
7127 | |
7128 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
7129 DIM == -1 now means no orientation for vector sums. | |
7130 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
7131 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
7132 | |
3858 | 7133 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7134 | |
7135 * Range.cc (Range::nelem_internal): Special case ranges that must | |
7136 have zero elements. | |
7137 | |
3854 | 7138 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7139 | |
3857 | 7140 * Makefile.in: Split out readline and pathsearch functionality |
7141 into separate liboct-readline and liboct-pathsearch libraries. | |
7142 | |
3854 | 7143 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 7144 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
7145 to do nothing for this call to rl_clear_screen. | |
3854 | 7146 |
3849 | 7147 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7148 | |
7149 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
7150 function. | |
7151 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
7152 | |
3838 | 7153 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7154 | |
7155 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
7156 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
7157 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
7158 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
7159 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
7160 | |
3836 | 7161 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7162 | |
7163 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
7164 | |
7165 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
7166 Array-b.cc: Instantiate three arg assign functions. | |
7167 | |
7168 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
7169 New arg, resize_fill_value. | |
7170 * ArrayN.h: Provide declaration. | |
7171 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
7172 three arg version. | |
7173 | |
7174 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
7175 New arg, resize_fill_value. | |
7176 * Array3.h: Provide declaration. | |
7177 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
7178 three arg version. | |
7179 | |
7180 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7181 New arg, resize_fill_value. | |
7182 * Array2.h: Provide declaration. | |
7183 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
7184 three arg version. | |
7185 | |
7186 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7187 New arg, resize_fill_value. | |
7188 * Array.h: Provide declaration. | |
7189 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
7190 three arg version. | |
7191 | |
3833 | 7192 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7193 | |
7194 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
7195 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
7196 to the empty string. | |
7197 | |
3832 | 7198 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7199 | |
7200 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
7201 Don't check for rep != a.rep. | |
7202 | |
3827 | 7203 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
7204 | |
7205 * oct-fftw.h, oct-fftw.cc: New files. | |
7206 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
7207 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
7208 ifourier2d}): Use fftw if available. | |
7209 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
7210 Likewise. | |
7211 | |
3821 | 7212 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7213 | |
7214 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
7215 (install-inc): Don't use mk-includedir-link. | |
7216 | |
3803 | 7217 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7218 | |
7219 * lo-cutils.c (octave_gethostname): New function. | |
7220 * lo-utils.h: Provide declaration. | |
7221 * oct-env.cc (octave_env::do_get_host_name): | |
7222 Call octave_gethostname, instead of gethostname. | |
7223 | |
7224 * lo-cutils.c (gethostname): Define here. | |
7225 * lo-sysdep.cc: Not here. | |
7226 | |
3786 | 7227 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7228 | |
7229 * lo-cutils.c: Don't declare strptime. | |
7230 (oct_strptime): Cast return type of strptime to char*. | |
7231 | |
3777 | 7232 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7233 | |
3779 | 7234 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
7235 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
7236 (octave_rl_read_init_file): Ditto. | |
7237 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
7238 free_undo_list. | |
7239 (octave_rl_completion_matches): Call rl_completion_matches, not | |
7240 completion_matches. | |
7241 (octave_rl_enable_paren_matching): New function. | |
7242 (octave_rl_set_blink_matching_paren_flag): Delete. | |
7243 (octave_rl_get_blink_matching_paren_flag): Delete. | |
7244 | |
3777 | 7245 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
7246 tanh (const Complex&)): Declare and define if not | |
7247 CXX_ISO_COMPLIANT_LIBRARY. | |
7248 | |
3776 | 7249 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7250 | |
7251 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
7252 CXX_ISO_COMPLIANT_LIBRARY. | |
7253 | |
3775 | 7254 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
7255 | |
3776 | 7256 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
7257 CXX_ISO_COMPLIANT_LIBRARY. | |
7258 | |
3775 | 7259 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
7260 archive libraries containing templates. | |
7261 | |
7262 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
7263 get_zero_len_size, all_colon_equiv): Inline. | |
7264 (ArrayN<T>::index): Rename idx to arr_idx. | |
7265 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
7266 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
7267 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
7268 | |
7269 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7270 | |
7271 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
7272 log10 (const Complex&)): Delete. | |
7273 | |
7274 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
7275 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
7276 sinh, sqrt, tan, and tanh. | |
7277 | |
3769 | 7278 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7279 | |
7280 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
7281 Add std:: namespace qualifier as needed. | |
7282 | |
7283 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
7284 Change all uses to match. | |
7285 | |
3767 | 7286 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7287 | |
7288 * lo-cutils.c: Don't delcare strptime. | |
7289 | |
3760 | 7290 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7291 | |
7292 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
7293 Return correct size result for empty matrix case. | |
7294 | |
3757 | 7295 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7296 | |
7297 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
7298 If args are equal in magnitude, return first arg instead of | |
7299 second. | |
7300 | |
3752 | 7301 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7302 | |
3755 | 7303 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
7304 then try harder to compute correct number of elements. | |
3753 | 7305 |
3752 | 7306 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
7307 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
7308 | |
3750 | 7309 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7310 | |
3751 | 7311 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
7312 Rename n_intervals to be n_elt. | |
7313 | |
3750 | 7314 * strptime.c: Surround everything after including config.h in |
7315 #ifndef HAVE_STRPTIME ... #endif. | |
7316 | |
3742 | 7317 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7318 | |
7319 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
7320 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
7321 | |
3741 | 7322 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7323 | |
7324 * MArray-defs.h: Protect against multiple inclusion. | |
7325 | |
3739 | 7326 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7327 | |
7328 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
7329 end of the list, to be compatible with previous versions of Octave. | |
7330 | |
3736 | 7331 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7332 | |
7333 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
7334 since mktime is supposed to `normalize' the results for us. | |
7335 | |
3731 | 7336 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7337 | |
7338 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 7339 and vectors. Use xelem for faster access to elements when copying. |
3731 | 7340 |
3726 | 7341 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7342 | |
7343 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
7344 Correct indexing for operation across rows. | |
7345 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
7346 | |
3725 | 7347 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7348 | |
7349 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
7350 elements if arg is a colon. | |
7351 | |
5095 | 7352 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 7353 |
3795 | 7354 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 7355 (Matrix::cumsum (int) const): Likewise. |
7356 (Matrix::prod (int) const): Likewise. | |
7357 (Matrix::sum (int) const): Likewise. | |
7358 (Matrix::sumsq (int) const): Likewise. | |
7359 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
7360 (ComplexMatrix::cumsum (int) const): Likewise. | |
7361 (ComplexMatrix::prod (int) const): Likewise. | |
7362 (ComplexMatrix::sum (int) const): Likewise. | |
7363 (ComplexMatrix::sumsq (int) const): Likewise. | |
7364 | |
3722 | 7365 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7366 | |
7367 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
7368 size if Array<T>::index returns an empty array. | |
7369 | |
3710 | 7370 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7371 | |
7372 * file-ops.cc (file_ops::link, file_ops::symlink, | |
7373 file_ops::readlink): New functions. | |
7374 | |
3709 | 7375 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7376 | |
7377 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
7378 indexed, always return an object the same size as the index arg. | |
7379 | |
7380 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
7381 empty format. | |
7382 | |
3706 | 7383 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7384 | |
7385 * lo-cutils.c (oct_strptime): New function. | |
7386 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
7387 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
7388 | |
3702 | 7389 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7390 | |
3703 | 7391 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
7392 | |
3702 | 7393 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
7394 | |
3689 | 7395 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7396 | |
7397 * dMatrix.h (read_int): Provide declaration. | |
7398 | |
3688 | 7399 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
7400 | |
7401 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
7402 (write_doubles): Ditto. | |
7403 * data-conv.h: Ditto. | |
7404 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
7405 | |
3685 | 7406 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7407 | |
7408 * boolMatrix.h: Declare MM_CMP_OPS here. | |
7409 * boolMatrix.cc: Define them here. | |
7410 | |
3680 | 7411 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7412 | |
7413 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
7414 previously undefined and set size of x to size of bool index. | |
7415 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
7416 Allow z_len to be zero. | |
7417 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
7418 If frozen, don't assert that frozen_at_z_len == z_len. | |
7419 | |
3670 | 7420 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7421 | |
7422 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
7423 instead of rl_clear_screen. | |
7424 | |
3665 | 7425 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7426 | |
7427 * Array-d.cc: Instantiate ArrayN<double> here too. | |
7428 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
7429 * Makefile.in: Add them to the appropriate lists. | |
7430 | |
3657 | 7431 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7432 | |
7433 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
7434 | |
3635 | 7435 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7436 | |
7437 * lo-sysdep.h: octave_chdir returns int, not bool. | |
7438 | |
3615 | 7439 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7440 | |
7441 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
7442 before rebuilding. | |
7443 | |
5095 | 7444 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 7445 |
5261 | 7446 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 7447 (libraries): Depend only on library targets, not archive members. |
7448 | |
3613 | 7449 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7450 | |
7451 * Makefile.in: (objects): New target. | |
7452 | |
7453 * lo-cutils.c: New file. | |
7454 * Makefile.in (SOURCES): Add it to the list. | |
7455 * lo-utils.h: Declare octave_qsort here. | |
7456 * Array.h (Array::qsort): Use it here. | |
7457 | |
3607 | 7458 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7459 | |
7460 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
7461 | |
3598 | 7462 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7463 | |
7464 * oct-rl-hist.c (octave_history_list): Do something when not | |
7465 printing line numbers. Fix reallocation of retval. | |
7466 | |
3597 | 7467 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7468 | |
7469 * Makefile.in (install-inc): Install files in | |
7470 $(octincludedir)/octave. | |
7471 (uninstall): Remove them from the correct directory too. | |
7472 | |
7473 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
7474 they are not already defined. | |
7475 | |
3588 | 7476 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7477 | |
7478 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
7479 Delete declarations and definitions of mixed-type vector-vector ops. | |
7480 | |
3585 | 7481 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7482 | |
7483 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
7484 matrix and vector objects. | |
7485 | |
7486 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
7487 return type from second arg type. | |
7488 (MDM_BIN_OP): Likewise, for first arg type. | |
7489 | |
7490 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
7491 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
7492 | |
7493 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
7494 request ColumnVector to ComplexColumnVector, and Matrix to | |
7495 ComplexMatrix conversions. | |
7496 | |
7497 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
7498 initial value using ComplexMatrix constructor. | |
7499 | |
7500 * CColVector.cc (product, quotient, | |
7501 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
7502 Fix type of returned value. | |
7503 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
7504 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
7505 | |
7506 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
7507 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
7508 dRowVector.h: Declare some constructors explicit, to disallow | |
7509 potentially problematic automatic type conversions. | |
7510 | |
3580 | 7511 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7512 | |
3582 | 7513 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
7514 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
7515 More new files. | |
7516 * Makefile.in: Add them to the appropriate lists. | |
7517 | |
7518 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
7519 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
7520 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
7521 vx-s-crv.cc:, New files. | |
7522 * Makefile.in: Add them to the appropriate lists. | |
7523 | |
7524 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
7525 Delete scalar by vector and vector by scalar binary ops. | |
7526 | |
3580 | 7527 * MArray-defs.h: More new macros to handle MDiagArray operators. |
7528 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
7529 | |
3573 | 7530 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7531 | |
3578 | 7532 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
7533 rl_event_hook before casting to void **. | |
7534 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
7535 | |
3574 | 7536 * MArray-defs.h: Many new macros to make declaration and |
7537 definition of operators more consistent. | |
7538 | |
7539 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
7540 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 7541 |
3569 | 7542 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7543 | |
3572 | 7544 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
7545 (Matrix::ifourier2d): Likewise. | |
7546 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
7547 (ComplexMatrix::ifourier2d): Likewise. | |
7548 | |
3569 | 7549 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
7550 | |
3504 | 7551 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7552 | |
3519 | 7553 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
7554 readline library. | |
7555 * Makefile.in: Add them to the appropriate lists. | |
7556 | |
7557 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
7558 readline history library. | |
7559 * Makefile.in: Add them to the appropriate lists. | |
7560 | |
3517 | 7561 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
7562 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 7563 (write_doubles): Likewise. |
7564 (read_doubles): Likewise. | |
3517 | 7565 |
3516 | 7566 * oct-env.cc (octave_env::do_polite_directory_format): |
7567 Use operator== and substr method to do limited-length string | |
7568 comparison. | |
7569 | |
3513 | 7570 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 7571 |
3511 | 7572 * Quad.h: Use do_integrate as name of pure virtual function. |
7573 | |
3508 | 7574 * base-de.h: Use tt instead of t as arg names. |
3511 | 7575 Add method with tcrit arg. |
7576 | |
3509 | 7577 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 7578 |
3507 | 7579 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
7580 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
7581 * Quad.cc (quad_fcn_ptr): Ditto. | |
7582 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
7583 | |
3505 | 7584 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 7585 * Makefile.in: Add them to the appropriate lists. |
3505 | 7586 |
7587 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 7588 * Makefile.in: Add them to the appropriate lists. |
3505 | 7589 |
3504 | 7590 * dMatrix.cc (write_int, read_int): No longer declared static. |
7591 | |
7592 * CDiagMatrix.h: Delete decls for friend operators that are | |
7593 handled by MDiagArray2 class. Move others outside class decl and | |
7594 strip friend status. | |
7595 * dDiagMatrix.h: Likewise. | |
7596 | |
7597 * MArray.h: Delete decls for friend operators inside class decl. | |
7598 * MArray2.h: Ditto. | |
7599 * MDiagArray2.h: Ditto. | |
7600 | |
7601 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
7602 necessary parameters. Don't allocate memory in the macro. Change | |
7603 all uses. | |
7604 | |
7605 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
7606 * CMatrix.h (class ComplexMatrix): Ditto. | |
7607 | |
7608 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
7609 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
7610 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
7611 avoid type conflicts. Change all uses. | |
7612 | |
7613 * strptime.c (__mon_yday): Fix size of array decl. | |
7614 | |
7615 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
7616 | |
7617 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
7618 default value for second arg. | |
7619 | |
7620 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
7621 references to ArrayRep. | |
7622 | |
3503 | 7623 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7624 | |
3504 | 7625 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 7626 |
7627 * All source files: Include iostream, fstream, strstream, | |
7628 etc. as needed instead of using forward declarations for these | |
3504 | 7629 classes. Add std:: qualifier as needed. |
3503 | 7630 |
3498 | 7631 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7632 | |
7633 * oct-time.cc: Declare strptime extern "C". | |
7634 | |
3496 | 7635 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7636 | |
7637 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
7638 | |
3488 | 7639 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7640 | |
3492 | 7641 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
7642 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
7643 to get total size to be allocated. | |
7644 | |
3488 | 7645 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
7646 as bool, not int. | |
7647 | |
3482 | 7648 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7649 | |
7650 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7651 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
7652 as A, even when do_fortran_indexing is not enabled. | |
7653 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
7654 | |
3473 | 7655 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7656 | |
3480 | 7657 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
7658 function pointer as final arg. Passed function (if any) will be | |
7659 called for singularity errors. | |
7660 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
7661 | |
7662 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
7663 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7664 | |
3475 | 7665 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
7666 No longer bother with infinity or quiet_nan. | |
7667 | |
3473 | 7668 * Array2.cc (Array2<T>::get_size): New function. |
7669 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
7670 | |
3472 | 7671 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7672 | |
7673 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
7674 New function. | |
7675 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7676 Use it when indexing with one arg instead of faking a second one. | |
7677 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
7678 Return empty matrices with the correct dimensions for A(:,:) = [] | |
7679 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
7680 rows or columns. | |
7681 | |
7682 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
7683 vector that is all true values with a length equal to n as colon | |
7684 equivalent. | |
7685 | |
3470 | 7686 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7687 | |
7688 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
7689 | |
5095 | 7690 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 7691 |
7692 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
7693 operations directly in step 2 and reverse step 2. | |
7694 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
7695 operations directly in step 2 and reverse step 2. | |
7696 | |
3465 | 7697 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7698 | |
7699 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
7700 | |
7701 * strptime.c: New file, from glibc 2.1.2. | |
7702 * Makefile.in (SOURCES): Add strptime.c to the list. | |
7703 | |
3419 | 7704 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7705 | |
7706 * MArray.h (MArray <const Array<T>&)): New constructor. | |
7707 | |
3415 | 7708 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7709 | |
7710 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
7711 NULL directory list returned from kpse_element_dirs | |
7712 | |
3375 | 7713 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7714 | |
7715 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
7716 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
7717 directly, instead of calling ZGESV. | |
7718 | |
3358 | 7719 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7720 | |
7721 * data-conv.cc (init_sized_type_lookup_table): New function. | |
7722 (string_to_data_type): Use it to improve lookup of data types. | |
7723 | |
3354 | 7724 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7725 | |
7726 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
7727 * Array2.h (is_symmetric): Delete declaration. | |
7728 | |
3347 | 7729 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7730 | |
7731 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
7732 | |
3344 | 7733 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7734 | |
7735 * oct-time.cc (Fstrftime): Undo previous change. | |
7736 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7737 | |
3334 | 7738 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7739 | |
3336 | 7740 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
7741 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
7742 | |
3334 | 7743 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
7744 Don't forget to pass length of third string argument to dgeesx. | |
7745 | |
7746 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
7747 of third string argument to zgeesx. | |
7748 | |
3333 | 7749 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7750 | |
7751 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
7752 On errors, simply return `T ()'. | |
7753 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
7754 | |
5095 | 7755 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 7756 |
7757 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
7758 AEPBALANCE class. | |
7759 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
7760 | |
3325 | 7761 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7762 | |
7763 * oct-shlib.cc, oct-shlib.h: New files. | |
7764 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7765 | |
3322 | 7766 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7767 | |
7768 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
7769 * dRowVector.cc (linspace): Ditto. | |
7770 | |
7771 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
7772 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
7773 | |
3312 | 7774 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7775 | |
7776 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
7777 to evaluate the Jacobian, set info(4), not iwork(4). | |
7778 Set rwork(1) to the maximum step size, not rwork(2). | |
7779 | |
3290 | 7780 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7781 | |
7782 * oct-time.cc: Include <climits>. | |
7783 | |
3281 | 7784 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7785 | |
7786 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
7787 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
7788 (gnu_readline::do_resize_terminal): New function. | |
7789 | |
3268 | 7790 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7791 | |
7792 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
7793 * lo-ieee.c: Likewise. | |
7794 Delete extern "C" declarations for infinity and quiet_nan. | |
7795 | |
3262 | 7796 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7797 | |
3263 | 7798 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
7799 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
7800 `inline', not `static inline'. | |
7801 | |
3262 | 7802 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
7803 then cast to const int * to compare. | |
7804 | |
3257 | 7805 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7806 | |
7807 * DAEFunc.h: Remove useless preprocessor conditional. | |
7808 | |
3255 | 7809 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7810 | |
3257 | 7811 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
7812 Use octave_time object instead of time_t. | |
7813 | |
7814 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
7815 file_stat::fs_ctime): Now octave_time objects. | |
7816 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
7817 Return octave_time objects. | |
7818 (file_stat::is_newer): Args are now octave_time objects instead of | |
7819 time_t. | |
7820 | |
3255 | 7821 * oct-time.h (octave_time::as_double): Delete. |
7822 (octave_time::operator double ()): New function. | |
7823 (octave_time::operator time_t ()): New function. | |
7824 (octave_time::ctime): New function. | |
7825 (octave_base_tm::strftime): Renamed from format_as_string. | |
7826 (octave_base_tm::asctime): New function. | |
7827 (operator == (const octave_time&, const octave_time&), | |
7828 operator != (const octave_time&, const octave_time&), | |
7829 operator < (const octave_time&, const octave_time&), | |
7830 operator <= (const octave_time&, const octave_time&), | |
7831 operator > (const octave_time&, const octave_time&), | |
7832 operator >= (const octave_time&, const octave_time&)): | |
7833 New comparison functions. | |
7834 | |
7835 * strftime.c: Move here from src directory. | |
7836 * Makefile.in (SOURCES): Add it to the list. | |
7837 | |
7838 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
7839 | |
3253 | 7840 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7841 | |
7842 * oct-time.h, oct-time.cc: New files. | |
7843 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
7844 | |
7845 * systime.h: Move here from src directory. | |
7846 * Makefile.in (INCLUDES): Add it to the list. | |
7847 | |
3248 | 7848 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7849 | |
7850 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
7851 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
7852 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
7853 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
7854 | |
7855 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
7856 | |
3243 | 7857 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7858 | |
7859 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
7860 | |
7861 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7862 | |
7863 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
7864 column vector for A(:), for compatibility with Matlab. | |
7865 | |
7866 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7867 | |
7868 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
7869 iopt when there are optional inputs in rwork or iwork. | |
7870 | |
3238 | 7871 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7872 | |
7873 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
7874 creating static libs. | |
7875 | |
5095 | 7876 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 7877 |
7878 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
7879 and uint32 data types. | |
7880 | |
7881 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7882 | |
7883 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
7884 for Linux. Remove old Linux-specific code. | |
7885 | |
3233 | 7886 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
7887 | |
7888 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
7889 Don't require lengths to be equal. | |
7890 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
7891 ComplexRowVector& a)): Likewise | |
7892 | |
5095 | 7893 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 7894 |
7895 * statdefs.h: Only define mode_t if not already defined. | |
7896 | |
5095 | 7897 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 7898 |
7899 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
7900 when appropriate. | |
7901 | |
7902 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7903 | |
7904 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
7905 before calling rl_initialize. | |
7906 | |
3220 | 7907 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7908 | |
7909 * lo-specfun.cc (besselh, airy, biry): New functions. | |
7910 Update Bessel function support to use library by D. E. Amos. | |
7911 | |
3219 | 7912 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7913 | |
7914 * cmd-edit.h (command_editor::readline): Add new variation that | |
7915 allows EOF information to be passed back to caller. | |
7916 | |
7917 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
7918 amount of data to read is unspecified. | |
7919 | |
3215 | 7920 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7921 | |
3219 | 7922 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
7923 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7924 | |
3215 | 7925 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7926 Add volatile qualifier to void* arg. | |
7927 Cast volatile void* arg to volatile char*. | |
7928 | |
7929 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7930 | |
7931 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7932 (command_editor::do_restore_event_hook): Ditto. | |
7933 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7934 (command_editor::restore_event_hook): Ditto. | |
7935 (gnu_readline::do_set_event_hook): Ditto. | |
7936 (gnu_readline::do_restore_event_hook): Ditto. | |
7937 (gnu_readline::previous_event_hook): New data member. | |
7938 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7939 | |
3206 | 7940 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7941 | |
7942 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7943 | |
7944 * Makefile.in (stmp-pic): New target. | |
7945 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7946 (clean): Remove stmp-pic | |
7947 | |
7948 * Makefile.in: Undo previous change to avoid optmization when | |
7949 compiling lo-ieee.cc. | |
7950 | |
7951 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7952 | |
7953 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7954 imaginary parts. | |
7955 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7956 | |
3203 | 7957 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7958 | |
7959 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7960 | |
3196 | 7961 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7962 | |
7963 * pathsearch.h (dir_path::default_path): New data member. | |
7964 * pathsearch.cc (dir_path::init): Use it. | |
7965 | |
7966 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7967 | |
3189 | 7968 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7969 | |
7970 * chMatrix.cc (charMatrix::extract): New function. | |
7971 (charMatrix::charMatrix (char c)): New constructor. | |
7972 | |
7973 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7974 | |
7975 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7976 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7977 (gnu_readline::do_read_init_file): Likewise. | |
7978 | |
3185 | 7979 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7980 | |
7981 * oct-env.cc (octave_env::do_get_home_directory): | |
7982 If HOME can't be found, set it to "/". | |
7983 (octave_env::do_get_user_name) | |
7984 If user name can't be found, set it to "unknown". | |
7985 (octave_env::do_get_host_name) | |
7986 If host name can't be found, set it to "unknown". | |
7987 | |
7988 * pathsearch.h (dir_path::rehash): New function. | |
7989 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7990 diretcory cache before doing initialization. | |
7991 | |
3180 | 7992 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7993 | |
3185 | 7994 * dMatrix.cc (Qzval): Delete. |
7995 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7996 * dMatrix.h (Qzval): Delete declaration. | |
7997 | |
7998 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7999 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
8000 * mx-ext.h: Don't include dbleGEPBAL. | |
8001 | |
3180 | 8002 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
8003 static_cast. | |
8004 | |
8005 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8006 | |
8007 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
8008 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
8009 | |
8010 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8011 | |
8012 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
8013 HUGE_VAL and NAN. | |
8014 | |
8015 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8016 | |
8017 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8018 Handle x(i) = scalar for do_fortran_indexing == 1. | |
8019 | |
8020 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8021 | |
8022 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
8023 Alloctate space before attempting to use it. | |
8024 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
8025 | |
5095 | 8026 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 8027 |
8028 * EIG.cc (EIG::init): Move invariant code outside loop. | |
8029 | |
8030 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8031 | |
8032 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
8033 have the same size as the operands. | |
8034 | |
8035 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8036 | |
8037 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
8038 call to ddassl, set integration_error to 1 before calling the | |
8039 error handler and returning. | |
8040 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8041 | |
3177 | 8042 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8043 | |
8044 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
8045 do_fortran_indexing is set, A([]) = scalar. | |
8046 * Array-idx.h (assign): Allow A([]) = scalar. | |
8047 | |
3176 | 8048 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8049 | |
8050 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
8051 if dm_nc == 0. | |
8052 | |
3174 | 8053 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8054 | |
8055 * pathsearch.h (dir_path::p_orig): New field. | |
8056 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
8057 expansion on the original path here. | |
8058 (dir_path::find_all): Don't do anything if not initialized. | |
8059 | |
3164 | 8060 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8061 | |
8062 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
8063 is not set. | |
8064 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
8065 | |
8066 * lo-specfun.cc (gammainc): Use dgamit to compute | |
8067 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
8068 \int_0^x exp(-t) t^(a-1) dt. | |
8069 | |
8070 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8071 | |
8072 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
8073 Array-s.cc: Change return types of all `assign' explicit | |
8074 instantiations to be int, not void, to match the template decl in | |
8075 Array.h. | |
8076 | |
3162 | 8077 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8078 | |
8079 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
8080 | |
3156 | 8081 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8082 | |
8083 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
8084 * lo-mappers.cc: Not here. | |
8085 | |
8086 * lo-specfun.h: Declare xgamma and xlgamma here. | |
8087 * lo-mappers.h: Not here. | |
8088 | |
8089 * lo-specfun.h: Never declare gamma or lgamma. | |
8090 | |
3154 | 8091 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8092 | |
8093 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
8094 empty matrix of any dimension. | |
8095 | |
3145 | 8096 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8097 | |
3147 | 8098 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
8099 | |
3146 | 8100 * lo-specfun.cc: Don't include dbleBessel.h. |
8101 | |
8102 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
8103 | |
3145 | 8104 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
8105 * file-stat.h (file_stat::operator bool ()): Likewise. | |
8106 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
8107 * oct-group.h (octave_group::operator bool ()): Likewise. | |
8108 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
8109 | |
8110 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
8111 Don't cast arg in call to swap_8_bytes. | |
8112 (IEEE_big_double_to_IEEE_little_double): Ditto | |
8113 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
8114 swap_4_bytes. | |
8115 (IEEE_little_float_to_IEEE_big_float): Ditto | |
8116 | |
8117 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
8118 * prog-args.cc (prog_args::getopt): Likewise. | |
8119 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
8120 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
8121 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
8122 Likewise. | |
8123 | |
8124 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
8125 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
8126 | |
3141 | 8127 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8128 | |
8129 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
8130 Use $(mk-libdir-link). | |
8131 | |
8132 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
8133 not SAFE_STAT and SAFE_LSTAT. | |
8134 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
8135 * safe-xstat.hin, safe-xstat.cin: Delete. | |
8136 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
8137 safe-lstat.h, and safe-lstat.cc. | |
8138 | |
3136 | 8139 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8140 | |
8141 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
8142 | |
3130 | 8143 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8144 | |
8145 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
8146 trace is negative. | |
8147 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
8148 the real part of the trace is negative. | |
8149 | |
8150 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8151 | |
8152 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
8153 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
8154 | |
8155 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
8156 to succeed. | |
8157 | |
3125 | 8158 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8159 | |
8160 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
8161 (make_uniq): Likewise. | |
8162 | |
8163 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8164 | |
8165 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
8166 | |
3119 | 8167 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8168 | |
3121 | 8169 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
8170 | |
8171 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 8172 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
8173 | |
3121 | 8174 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
8175 oct-math.h: Delete. | |
8176 * Makefile.in (SOURCES): Delete them from the list. | |
8177 | |
3112 | 8178 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8179 | |
8180 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
8181 | |
5095 | 8182 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 8183 |
8184 Changes to make support egcs snapshots that implement explicit | |
8185 specification of template functions according to CD2. | |
8186 | |
8187 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
8188 template function specs for template friends. | |
8189 * MArray2.h: Likewise. | |
8190 * MDiagArray2.h: Likewise. | |
8191 | |
3095 | 8192 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8193 | |
8194 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
8195 | |
3092 | 8196 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
8197 | |
8198 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
8199 to complex<double>(int) instead of complex<double>(double). | |
8200 | |
8201 * lo-mappers.cc (atanh): Ditto. | |
8202 | |
3079 | 8203 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8204 | |
8205 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
8206 * idx-vector.h (idx_vector::sort): Ditto. | |
8207 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
8208 trying to delete elements specified by the index vectors. | |
8209 | |
3075 | 8210 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8211 | |
8212 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
8213 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
8214 | |
3074 | 8215 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8216 | |
8217 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
8218 | |
3069 | 8219 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8220 | |
8221 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
8222 Call error handler if we can't find the current directory. | |
8223 | |
3068 | 8224 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8225 | |
3069 | 8226 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
8227 (xfinite (double)): Ditto. | |
8228 | |
3068 | 8229 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
8230 * CmplxQR.cc (ComplexQR::init): Ditto. | |
8231 | |
3056 | 8232 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8233 | |
8234 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
8235 compatible with Matlab. | |
8236 | |
3050 | 8237 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8238 | |
8239 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
8240 single colon. | |
8241 | |
3040 | 8242 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8243 | |
3049 | 8244 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
8245 (xgamma): Likewise, for calling xdgamma. | |
8246 | |
3042 | 8247 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
8248 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
8249 | |
3040 | 8250 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
8251 to do better job expanding tildes. | |
8252 | |
8253 * str-vec.cc (string_vector::string_vector (const char * const *): | |
8254 Use temporary variable to compute length. | |
8255 | |
3029 | 8256 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8257 | |
3034 | 8258 * Makefile.in: Make building of static library optional. |
3036 | 8259 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 8260 |
3029 | 8261 * Makefile.in (stamp-picdir): Delete. |
8262 (pic): New target. Don't worry so much about creating pic | |
8263 directory only when it is really needed. | |
8264 (stamp-interp): Delete. | |
8265 (libraries): New target. Depend on shared library directly. | |
8266 | |
3024 | 8267 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8268 | |
8269 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
8270 New static function. | |
8271 | |
3012 | 8272 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8273 | |
8274 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
8275 | |
3004 | 8276 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8277 | |
8278 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
8279 set_basic_quote_characters, to match new version of readline. | |
8280 | |
8281 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
8282 for restoring terminal state through rl_deprep_term_function, now | |
8283 declared in readline.h | |
8284 (rl_deprep_terminal): Delete declaration. | |
8285 | |
2993 | 8286 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8287 | |
8288 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
8289 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
8290 | |
2968 | 8291 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8292 | |
8293 * cmd-edit.cc (command_editor::increment_current_command_number): | |
8294 New static function. | |
8295 | |
2964 | 8296 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8297 | |
2966 | 8298 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
8299 the vector is not sorted. | |
8300 | |
2964 | 8301 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
8302 * dMatrix.cc (Matrix::operator !): Likewise | |
8303 | |
2941 | 8304 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8305 | |
8306 * oct-syscalls.h, oct-syscalls.cc: New files. | |
8307 | |
8308 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
8309 | |
8310 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
8311 | |
2938 | 8312 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8313 | |
2941 | 8314 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
8315 (install-inc): Use it. | |
8316 | |
2938 | 8317 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
8318 Handle errors and missing functions consistently. | |
8319 | |
8320 * oct-group.h, oct-group.cc: New files. | |
8321 | |
8322 * oct-passwd.cc: Handle errors and missing functions consistently. | |
8323 | |
8324 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
8325 | |
2934 | 8326 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8327 | |
8328 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
8329 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
8330 | |
8331 * oct-passwd.h, oct-passwd.cc: New files. | |
8332 | |
2926 | 8333 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8334 | |
8335 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
8336 | |
8337 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
8338 (instance_ok ()): New function. | |
8339 | |
8340 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
8341 | |
8342 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
8343 | |
8344 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
8345 src/utils.h and src/utils.cc. | |
8346 (octave_fgets): New function, extracted from src/input.cc. | |
8347 | |
8348 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
8349 GNU readline, and allow Octave to work without GNU readline. | |
8350 | |
8351 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
8352 system-dependent functions. | |
8353 | |
8354 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
8355 | |
8356 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
8357 from file-ops.h and file-ops.cc and move here. | |
8358 | |
8359 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
8360 tilde_expand functions here from src/dirfns.cc. | |
8361 | |
8362 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8363 | |
8364 * pathlen.h: New file, from ../src. | |
8365 | |
2917 | 8366 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8367 | |
8368 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
8369 out-of-bounds indexing of the index array. | |
8370 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
8371 | |
2850 | 8372 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8373 | |
8374 * LSODE.h (x_step_limit): New field. | |
8375 (LSODE_options::init): Initialize it. | |
8376 (LSODE_options::copy): Copy it. | |
8377 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
8378 New functions. | |
8379 (LSODE::working_too_hard): Delete. | |
8380 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
8381 | |
2844 | 8382 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8383 | |
8384 * MArray-b.cc: Delete. | |
8385 * Makefile.in: Delete it from the lists. | |
8386 | |
8387 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
8388 MArray2, since most of the numeric ops don't really make sense. | |
8389 | |
2829 | 8390 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8391 | |
2832 | 8392 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
8393 | |
8394 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
8395 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
8396 | |
2830 | 8397 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
8398 idx_vector::freeze): Delete prefer_zero_one arg. | |
8399 * Array-idx.h, Array2-idx.h: Change all callers. | |
8400 | |
8401 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
8402 | |
2829 | 8403 * mx-op-defs.h: New file for operator definitions. |
8404 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
8405 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
8406 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
8407 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
8408 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
8409 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
8410 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
8411 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
8412 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
8413 mx-s-cm.cc, mx-s-dm.cc: | |
8414 New files for mixed-type operations. | |
8415 * Makefiles.in: Add them to the appropriate lists. | |
8416 | |
8417 * mx-inlines.cc: Add bool by bool EQ ops. | |
8418 | |
8419 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
8420 boolMatrix types. | |
8421 (idx_vector::maybe_convert_one_zero_to_idx, | |
8422 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
8423 Delete second arg, prefer_zero_one. Change all callers. | |
8424 | |
8425 * boolMatrix.h, boolMatrix.cc: New files. | |
8426 * mx-base.h: Include boolMatrix.h here. | |
8427 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
8428 | |
8429 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
8430 | |
8431 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
8432 operator-, operator*, product, and quotient functions. | |
8433 Add constructor for boolMatrix type. | |
8434 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
8435 product, and quotient functions. | |
8436 | |
8437 * CDiagMatrix.h: Delete friend declarations for operator+, | |
8438 operator-, and product functions. | |
8439 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
8440 | |
8441 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
8442 | |
2815 | 8443 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8444 | |
8445 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
8446 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
8447 (EIG::symmetric_init (const Matrix&)): New function. | |
8448 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
8449 | |
8450 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
8451 | |
8452 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8453 | |
8454 * Array2.cc (is_symmetric): New function. | |
8455 * Array2.h (is_square): New function. | |
8456 | |
2811 | 8457 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8458 | |
8459 * Makefile.in (install-strip): New target. | |
8460 | |
2804 | 8461 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8462 | |
8463 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8464 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
8465 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8466 dbleSVD.cc: Don't include mx-inlines.cc. | |
8467 | |
8468 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
8469 duplicate code. | |
8470 | |
2800 | 8471 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8472 | |
2804 | 8473 * dbleQR.h (QR): Delete extra comma at end of list. |
8474 | |
8475 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
8476 | |
8477 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
8478 | |
8479 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
8480 idx_vecotr_rep:: qualifiers. | |
8481 | |
8482 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
8483 | |
8484 * data-conv.h (save_type): Delete extra comma at end of list. | |
8485 | |
2800 | 8486 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
8487 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
8488 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
8489 old C-style `(T) val' casts. | |
8490 | |
2795 | 8491 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8492 | |
8493 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
8494 just breaking out of the innermost loop. | |
8495 * CMatrix.cc (operator >>): Likewise. | |
8496 | |
2779 | 8497 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 8498 |
8499 * Version 2.0.5 released. | |
8500 | |
2767 | 8501 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8502 | |
8503 * CmplxQR.cc (ComplexQR::init): New function. | |
8504 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
8505 * CmplxQRP.cc (ComplexQRP::init): New function. | |
8506 Get sizes right in all cases. | |
8507 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
8508 | |
8509 * dbleQR.cc (QR::init): New function. | |
8510 (QR::QR): Use it. Use initializer list too. | |
8511 * dbleQRP.cc (QRP::init): New function. | |
8512 Get sizes right in all cases. | |
8513 (QR::QRP): Use it. Use initializer list too. | |
8514 | |
2759 | 8515 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8516 | |
8517 * mach-info.cc (oct_mach_info::string_to_float_format): | |
8518 Recognize "vaxg", not "vax_g". | |
8519 | |
2713 | 8520 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8521 | |
2714 | 8522 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
8523 dimension in check for colon equivalent index. | |
8524 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
8525 index whose value is 0 is also colon eqivalent for n == 1. | |
8526 | |
2713 | 8527 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
8528 system-specific tests first. | |
8529 | |
2709 | 8530 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 8531 |
8532 * Version 2.0.4 released. | |
8533 | |
8534 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8535 | |
8536 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
8537 | |
2693 | 8538 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 8539 |
8540 * Version 2.0.3 released. | |
8541 | |
2686 | 8542 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8543 | |
8544 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
8545 | |
2673 | 8546 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8547 | |
2676 | 8548 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
8549 (all): Don't depend on stamp-prereq or stamp-picdir. | |
8550 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
8551 (stamp-picdir): Silence noise about making pic. | |
8552 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
8553 | |
2673 | 8554 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
8555 Fix typo in last change. | |
8556 | |
8557 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
8558 Convert from friend (moved from dColVector.cc). | |
8559 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
8560 Likewise (moved from dMatrix.cc). | |
8561 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
8562 Likewise (moved from dRowVector.cc). | |
8563 | |
8564 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
8565 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
8566 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
8567 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
8568 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
8569 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
8570 | |
8571 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
8572 * dMatrix.cc (Matrix::apply): Likewise. | |
8573 * dRowVector.cc (RowVector::apply): Likewise. | |
8574 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
8575 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
8576 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
8577 | |
2668 | 8578 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8579 | |
8580 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
8581 | |
8582 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8583 | |
8584 * file-ops.cc (oct_unlink (const string&, string&)): | |
8585 New two-arg version. | |
8586 (oct_rmdir (const string&, string&)): New two-arg version. | |
8587 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
8588 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
8589 (oct_rename (const string&, const string&, string&)): | |
8590 New three-arg version. | |
8591 | |
2663 | 8592 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8593 | |
8594 * idx-vector.h (idx_vector::orig_empty): New function. | |
8595 | |
8596 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
8597 Don't always resize to [](0x0) if one of the indices is empty or | |
8598 zero. | |
8599 | |
2658 | 8600 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8601 | |
8602 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
8603 Set line_in_file here too. | |
8604 (command_history::read_range): New arg, must_exist. | |
8605 | |
2651 | 8606 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8607 | |
8608 * f2c-main.c: Change C++-style comments to C-style comments. | |
8609 | |
2638 | 8610 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8611 | |
8612 * Makefile.in (install-inc): Create a relative symbolic link. | |
8613 | |
2634 | 8614 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8615 | |
8616 * Version 2.0.2 released. | |
8617 | |
2624 | 8618 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8619 | |
8620 * Makefile.in (bin-dist): New target. | |
8621 | |
2621 | 8622 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8623 | |
8624 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
8625 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
8626 | |
2613 | 8627 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8628 | |
8629 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8630 If the number of columns is zero, also set the number of rows to zero. | |
8631 (charMatrix::charMatrix (const char *)): Likewise. | |
8632 | |
2602 | 8633 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8634 | |
8635 * Version 2.0.1 released. | |
8636 | |
2601 | 8637 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8638 | |
8639 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
8640 columns for resizing when the number of rows is specified but the | |
8641 number of columns is not. | |
8642 | |
2598 | 8643 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8644 | |
2599 | 8645 * Range.cc (operator -): New function. |
8646 | |
2598 | 8647 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
8648 | |
2589 | 8649 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8650 | |
8651 * Array2-idx.h (assign): Delay resizing left hand side until we | |
8652 know if the assignment conforms. | |
8653 | |
2583 | 8654 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8655 | |
8656 * Version 2.0 released. | |
8657 | |
2570 | 8658 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8659 | |
2575 | 8660 * Array2-idx.h (assign): If index is a colon, set number of |
8661 elements to the lhs dimension if the lhs dimension is greater than | |
8662 zero. Otherwise, set it to the rhs dimension. | |
8663 | |
8664 * Version 1.94. | |
8665 | |
2570 | 8666 * Array2-idx.h (assign): Test for rhs scalar case first. |
8667 If index is colon, set number of elements to lhs dimension, not | |
8668 rhs dimension. | |
8669 | |
2563 | 8670 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8671 | |
2566 | 8672 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
8673 * sun-utils.cc: Delete. | |
8674 * f2c-main.c: New file | |
8675 | |
8676 * Makefile.in: Fix file name lists. | |
8677 | |
2563 | 8678 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
8679 | |
2561 | 8680 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8681 | |
8682 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
8683 Create result using Complex constructor, not multiplication. | |
8684 Order elements as they are returned from Eispack. | |
8685 | |
2559 | 8686 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8687 | |
2560 | 8688 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
8689 Only include nan.h if SCO is defined. Define _IEEE before | |
8690 including it and undefine it afterward. | |
8691 [SCO] (isnan): Don't mistake Inf as NaN. | |
8692 | |
2559 | 8693 * Array-idx.h (assign): Only resize if assignment conforms. |
8694 | |
2551 | 8695 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8696 | |
8697 * Makefile.in (INCLUDES): Delete lo-error.h. | |
8698 * lo-error.h: Delete (moved to libcruft/misc). | |
8699 | |
8700 * Version 1.93. | |
8701 | |
2546 | 8702 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8703 | |
2549 | 8704 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
8705 be the same as they are in fnmatch.h. | |
8706 | |
2546 | 8707 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
8708 | |
8709 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
8710 (SOURCES): Delete f77-fcn.c. | |
8711 | |
2522 | 8712 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8713 | |
8714 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
8715 | |
2512 | 8716 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8717 | |
8718 * Version 1.92. | |
8719 | |
2508 | 8720 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8721 | |
2512 | 8722 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
8723 lines that have only carriage return or newline. | |
8724 | |
2508 | 8725 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
8726 | |
2500 | 8727 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8728 | |
8729 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
8730 (IDX_VEC_REP::idx_vector_rep): Use it. | |
8731 | |
2493 | 8732 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8733 | |
8734 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
8735 from vectors of C strings. | |
8736 | |
8737 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
8738 vector. | |
8739 (glob_match::match): Allow match string to be a string vector. | |
8740 (glob_match::glob): New function. | |
8741 | |
8742 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
8743 | |
8744 * Array-b.cc: New file. | |
8745 * Makefile.in (TI_SRC): Add it to the list. | |
8746 | |
2492 | 8747 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8748 | |
8749 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
8750 and safe-stat.h, to avoid getting them from $srcdir when we really | |
8751 want the version from the build directory. (Maybe this should be | |
8752 done for all the include files, not just those that are | |
8753 auto-generated? Hmm.) | |
8754 | |
2481 | 8755 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8756 | |
2482 | 8757 * Version 1.91. |
8758 | |
2481 | 8759 * Array3.cc (Array3<T>::resize): Make it work. |
8760 | |
8761 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8762 | |
8763 * oct-alloc.h, oct-alloc.cc: New files. | |
8764 * Makefile.in: Add them to the lists. | |
8765 | |
8766 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8767 | |
8768 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
8769 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
8770 | |
2466 | 8771 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8772 | |
8773 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
8774 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
8775 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
8776 underlying macro is not defined. | |
8777 | |
8778 * oct-math.h (lgamma, gamma): Delete declarations. | |
8779 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
8780 Protect declarations with #ifdef HAVE_*. | |
8781 | |
2440 | 8782 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8783 | |
2452 | 8784 * Version 1.90. |
8785 | |
8786 * Makefile.in (DISTFILES): Add ChangeLog. | |
8787 | |
2444 | 8788 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
8789 | |
8790 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
8791 | |
2443 | 8792 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 8793 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
8794 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 8795 |
2440 | 8796 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
8797 since that is now accepatble syntax, even for built-in types. | |
8798 * Array2.h (T Array2<T>::checkelem): Likewise | |
8799 | |
2433 | 8800 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8801 | |
8802 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
8803 message and return -1. | |
8804 | |
2428 | 8805 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8806 | |
2431 | 8807 * str-vec.h (str_vec_compare): Declare args as const void *, then |
8808 cast them to const string * in the body of the function. | |
8809 | |
8810 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
8811 string from buf. | |
8812 | |
2428 | 8813 * Array3.h (Array3::checkelem): Tag bogus return value with |
8814 GCC_ATTRIBUTE_UNUSED. | |
8815 * Array2.h (Array2::checkelem): Likewise. | |
8816 | |
2424 | 8817 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8818 | |
8819 * Quad.h (Quad): Define virtual destructor. | |
8820 | |
2408 | 8821 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8822 | |
8823 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
8824 | |
2401 | 8825 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8826 | |
8827 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
8828 and MAIN__ extern "C". | |
8829 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
8830 | |
2391 | 8831 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8832 | |
8833 * MArray-misc.cc: New file. | |
8834 * Makefile.in (MATRIX_SRC): Add it to the list. | |
8835 | |
8836 * mx-inlines.cc (equal): Return bool, not int. | |
8837 | |
8838 * idx-vector.h (idx_vector (double)): New constructor. | |
8839 | |
8840 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
8841 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
8842 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
8843 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
8844 CRowVector.cc: Logical operators return bool, not int. | |
8845 | |
8846 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
8847 New function. | |
8848 | |
8849 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
8850 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
8851 Matrix::all_elements_are_inf_or_nan): New functions. | |
8852 | |
8853 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
8854 | |
8855 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
8856 for errors. Simplify macros by converting FCN to string for error | |
8857 messages. | |
8858 | |
8859 * Array-idx.h (Array<T>::index): New function. Don't call | |
8860 clear_index() here. | |
8861 (Array<T>::value): Call it, do call clear_index() here. | |
8862 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
8863 one and two arg index functions. | |
8864 | |
8865 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8866 | |
8867 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
8868 separate implementation file. | |
8869 | |
2354 | 8870 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8871 | |
2358 | 8872 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
8873 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
8874 | |
2356 | 8875 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
8876 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
8877 them uniq. | |
8878 | |
2354 | 8879 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
8880 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
8881 Rewrite. Also return index as a reference arg. | |
8882 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
8883 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
8884 Delete. | |
8885 | |
8886 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
8887 Matrix::column_max, Matrix::column_min): | |
8888 Rewrite. Also return index as a reference arg. | |
8889 (Matrix::row_max_loc, Matrix::row_min_loc, | |
8890 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
8891 | |
8892 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8893 | |
8894 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
8895 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
8896 Matrix::column_min_loc, Matrix::column_max, | |
8897 Matrix::column_max_loc): Ignore leading NaNs. | |
8898 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
8899 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
8900 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
8901 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
8902 leading NaNs. | |
8903 | |
2352 | 8904 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8905 | |
8906 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
8907 starting at n, not 0. | |
8908 | |
2349 | 8909 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8910 | |
8911 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
8912 Matrix::Matrix (const ColumnVector&)): New constructors. | |
8913 | |
8914 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
8915 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
8916 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
8917 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
8918 New constructors. | |
8919 | |
8920 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
8921 New constructor. | |
8922 | |
2343 | 8923 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8924 | |
8925 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8926 derivative vectors are the same size. | |
2344 | 8927 * DASSL.cc (do_integrate): Likewise. |
2343 | 8928 |
2330 | 8929 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8930 | |
8931 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8932 iostreams and handler data format conversions. Delete old methods | |
8933 that used stdio. | |
8934 | |
8935 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8936 | |
8937 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8938 | |
8939 * mach-info.h: Rename from float-fmt.h. | |
8940 * mach-info.cc: Rename from float-fmt.cc. | |
8941 Handle machine information using a singlton class. | |
8942 * Makefile.in: Update appropriate lists. | |
8943 | |
8944 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8945 | |
8946 * Array-flags.cc: Provide definitions for the flags even if | |
8947 OCTAVE_SOURCE is not defined. | |
8948 | |
8949 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8950 operator(), not elem(). | |
8951 * Array3.h: Move indexing methods here from Array3.cc. | |
8952 | |
8953 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8954 | |
8955 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8956 | |
8957 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8958 INSTALL_DATA for shared libs. | |
8959 | |
8960 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8961 | |
8962 * Quad.cc: Include lo-error.h here too. | |
8963 | |
8964 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8965 | |
8966 * file-ops.h: Include sys/types.h here. | |
8967 | |
8968 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8969 | |
8970 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8971 | |
8972 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8973 elements in result. | |
8974 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8975 rows and columns in result. | |
8976 | |
8977 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8978 | |
8979 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8980 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8981 | |
8982 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8983 | |
8984 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8985 | |
8986 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8987 | |
8988 * Makefile.in (uninstall): Also delete shared library. | |
8989 Split install into install-libs and install-includes. | |
8990 (install-inc): If linkdir is a directory, leave it alone. | |
8991 | |
8992 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8993 | |
8994 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8995 | |
8996 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8997 * Array2-idx.h (assign): Likewise. | |
8998 | |
8999 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9000 | |
9001 * Array2.cc (Array2<T>::range_error): New functions. | |
9002 | |
9003 * Array.h (class Array<T>): elem() and operator() are now | |
9004 equivalent, and do bounds checking by default. | |
9005 * Array2.cc (class Array2<T>): Likewise. | |
9006 | |
9007 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9008 | |
9009 * Makefile.in (maintainer-clean, distclean): Also delete | |
9010 stamp-picdir, stamp-shared, and pic directory. | |
9011 (stamp-prereq): New target. | |
9012 | |
9013 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9014 | |
9015 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
9016 New function. | |
9017 | |
9018 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
9019 * Array.h (Array<T>::checkelem): Use them. | |
9020 | |
9021 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
9022 elements too. | |
9023 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
9024 | |
9025 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
9026 | |
9027 * Makefile.in (distclean): Delete so_locations, which is created | |
9028 on DEC Alpha systems. | |
9029 | |
9030 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9031 | |
9032 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
9033 already defined. | |
9034 | |
9035 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9036 | |
9037 * pathsearch.cc: Include config.h. | |
9038 | |
9039 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9040 | |
9041 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
9042 allow M(I, J) = scalar if I or J is empty. | |
9043 | |
9044 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
9045 and Array3-idx.h). | |
9046 | |
9047 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9048 | |
9049 * lo-error.h: Make comments C friendly. | |
9050 | |
9051 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9052 | |
9053 * Array2.h (make_unique): Move all indexing functions here. | |
9054 * Array2.cc: From here. | |
9055 | |
9056 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
9057 whether operator() calls elem or checkelem. | |
9058 | |
9059 * Array.h (make_unique): New private function. | |
9060 Move all indexing functions here. | |
9061 * Array.cc: From here. | |
9062 | |
9063 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
9064 it too. | |
9065 | |
9066 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
9067 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
9068 MArray-C.cc: Include config.h. | |
9069 | |
9070 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
9071 Don't define HEAVYWEIGHT_INDEXING here. | |
9072 | |
9073 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9074 | |
9075 * base-lu.h, base-lu.cc: New files. | |
9076 * Makefile.in: Add them to the appropriate lists. | |
9077 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
9078 | |
9079 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9080 | |
9081 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
9082 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
9083 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
9084 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
9085 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9086 | |
9087 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
9088 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
9089 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
9090 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
9091 Simplify using new macros. | |
9092 | |
9093 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9094 | |
9095 * Makefile.in (install): If $(includedir) ends in version string, | |
9096 make link to name that does not include version info. | |
9097 | |
9098 * lo-ieee.cc: Include <cmath> here. | |
9099 | |
9100 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9101 | |
9102 * lo-ieee.cc, lo-ieee.h: New files. | |
9103 * lo-mappers.cc, lo-mappers.h: New files. | |
9104 * lo-utils.cc, lo-utils.h: New files. | |
9105 * Makefile.in: Add them to the appropriate lists. | |
9106 | |
9107 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9108 | |
9109 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
9110 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
9111 | |
9112 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
9113 float-fmt.cc: New files. | |
9114 * Makefile.in: Include them in the appropriate lists. | |
9115 | |
9116 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9117 | |
9118 * dMatrix.cc (Qzval): New function. | |
9119 | |
9120 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9121 | |
9122 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
9123 char*. | |
9124 | |
9125 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
9126 Use F77_XFCN to call Fortran subroutine. | |
9127 * dColVector.cc, CColVector.cc: Likewise. | |
9128 * dRowVector.cc, CRowVector.cc: Likewise. | |
9129 * NPSOL.h, NPSOL.cc: Likewise. | |
9130 * CmplxCHOL.cc: Likewise. | |
9131 * dbleCHOL.cc: Likewise. | |
9132 * CMatrix.cc: Likewise. | |
9133 * dMatrix.cc: Likewise. | |
9134 * QPSOL.cc: Likewise. | |
9135 * LSODE.cc: Likewise. | |
9136 | |
9137 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9138 | |
9139 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
9140 | |
9141 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
9142 workspace. Use F77_XFCN to call Fortran subroutine. | |
9143 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
9144 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
9145 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
9146 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
9147 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
9148 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
9149 * dbleHESS.h, dbleHESS.cc: Likewise. | |
9150 * dbleSVD.h, dbleSVD.cc: Likewise. | |
9151 * EIG.h, EIG.cc; Likewise. | |
9152 * CollocWt.cc: Likewise. | |
9153 * NLEqn.cc: Likewise. | |
9154 * Quad.cc: Likewise. | |
9155 | |
9156 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9157 | |
9158 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
9159 Use F77_XFCN to call Fortran subroutine. | |
9160 * CmplxLU.h, CmplxLU.cc: Ditto. | |
9161 * dbleQR.h, dbleQR.cc: Ditto. | |
9162 * CmplxQR.h, CmplxQR.cc: Ditto. | |
9163 * dbleQRP.h, dbleQRP.cc: Ditto. | |
9164 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
9165 | |
9166 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
9167 (struct DIR): delete forward declaration. | |
9168 (dir_entry::operator = (const dir_entry$)): Protect against | |
9169 copying same object. | |
9170 * dir-ops.cc: Cast dir appropriately. | |
9171 | |
9172 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9173 | |
9174 * lo-error.cc: Moved to libcruft/misc. | |
9175 * Makefile.in: Delete it from the list. | |
9176 | |
9177 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
9178 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
9179 | |
9180 * Array-flags.h: New file. | |
9181 * Array-idx.h: Include it here. | |
9182 * Makefile.in (MATRIX_INC): Add it to the list. | |
9183 | |
9184 * Array-flags.cc: Renamed from Array-ext.cc. | |
9185 (liboctave_dfi_flag): Renamed from dfi_flag. | |
9186 (liboctave_pcv_flag): Renamed from pcv_flag. | |
9187 (liboctave_pzo_flag): Renamed from pzo_flag. | |
9188 (liboctave_rre_flag): Renamed from rre_flag. | |
9189 * Array-idx.h: Change all uses of dfi_flag, etc. | |
9190 * Makefile.in (MATRIX_SRC): Change file name here too. | |
9191 | |
9192 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
9193 (stamp-shared): Use them here. | |
9194 | |
9195 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9196 | |
9197 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
9198 argument value. | |
9199 | |
9200 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9201 | |
9202 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
9203 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
9204 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
9205 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
9206 Clean up constructors, assigment operator. | |
9207 | |
9208 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9209 | |
9210 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
9211 Check f77_exception_encountered on return. | |
9212 | |
9213 * f77-fcn.c (f77_exception_encountered): New variable. | |
9214 (F77_XFCN): Set it. | |
9215 * f77-fcn.h: Provide declaration. | |
9216 | |
9217 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
9218 | |
9219 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
9220 | |
9221 * NLEqn.h (NLEqn_options::set_options): New function. | |
9222 * Quad.h (Quad_options::set_options): Likewise. | |
9223 | |
9224 * LP.h (class LP): Add accessors for LP data. | |
9225 | |
9226 * NLEqn.h (NLEqn::n): Delete. | |
9227 | |
9228 * NLEqn.h (class NLEqn::n): Likewise. | |
9229 | |
9230 * NLP.h (class NLP): Add accessors for NLP data. | |
9231 | |
9232 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
9233 access functions here. | |
9234 * NPSOL.cc.cc: From here. | |
9235 | |
9236 * QLD.h (class QLD): Add destructor definition. | |
9237 * Objective.h (class Objective): Likewise. | |
9238 * ODEFunc.h (class ODEFunc): Likewise. | |
9239 * NLFunc.h (class NLFunc): Likewise. | |
9240 * NLEqn.h (class NLEqn): Likewise. | |
9241 * NLConst.h (class NLConst): Likewise. | |
9242 * LinConst.h (class LinConst): Likewise. | |
9243 * LSODE.h (class LSODE_options): Likewise. | |
9244 * CollocWt.h (class CollocWt): Likewise. | |
9245 * Bounds.h (class Bounds): Likewise. | |
9246 | |
9247 * QLD.cc (QLD::set_default_options): Delete. | |
9248 | |
9249 * QP.h (QP): Add accessors for QP data. | |
9250 Add copy constructor, operator =, and destructor definitions. | |
9251 | |
9252 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
9253 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
9254 DAEFunc.h, CollocWt.h, Bounds.h: | |
9255 Clean up constructors, assigment operator. | |
9256 | |
9257 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
9258 counting to avoid duplicating the data immediately. | |
9259 * dColVector.cc (ColumnVector::transpose): Likewise. | |
9260 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
9261 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
9262 | |
9263 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9264 | |
9265 * prog-args.h (prog_args::option_argument): New enum. | |
9266 | |
9267 * f77-fcn.h: Rename from f77-uscore.h. | |
9268 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
9269 * f77-fcn.c: New file. | |
9270 * Makefile.in (SOURCES): Add it to the list. | |
9271 | |
9272 * ODEFunc.h: Clean up. | |
9273 | |
9274 * DASSL.cc, DASSL.h: New files. | |
9275 * Makefile.in: Add them to the appropriate lists. | |
9276 | |
9277 * LSODE.cc, LSODE.h: New files. | |
9278 * Makefile.in: Add them to the appropriate lists. | |
9279 | |
9280 * ODE.cc: Delete. | |
9281 * Makefile.in (SOURCES): Remove from list. | |
9282 | |
9283 * base-de.h, DAE.cc: New files. | |
9284 * Makefile.in: Add them to the appropriate lists. | |
9285 * ODE.h: Only define interface for ODE classes. | |
9286 * DAE.h: Only define interface for ODE classes. | |
9287 | |
9288 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
9289 (LPsolve::set_default_options)): Delete | |
9290 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
9291 destructor. | |
9292 | |
9293 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
9294 | |
9295 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
9296 (QPSOL::operator =): Call base class operator = instead of assuming | |
9297 we know what to copy. | |
9298 | |
9299 * base-min.h (size): New function. | |
9300 | |
9301 * NLP.h (NLP::size): Delete. | |
9302 (NLP::NLP (const NLP&)): New constructor. | |
9303 (NLP::operator =): Call base class operator = instead of assuming | |
9304 we know what to copy. | |
9305 | |
9306 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
9307 (class NPSOL): Add operator = and destructor. | |
9308 | |
9309 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
9310 | |
9311 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9312 | |
9313 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
9314 | |
9315 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9316 | |
9317 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
9318 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
9319 | |
9320 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9321 | |
9322 * prog-args.h, prog-args.cc: New files. | |
9323 * Makefile.in: Add them to lists. | |
9324 | |
9325 * getopt.h, getopt.c, getopt1.c: New files. | |
9326 * Makefile.in: Add them to the lists. | |
9327 | |
9328 * oct-term.h, oct-term.cc: New files. | |
9329 * Makefile.in: Add them to the lists. | |
9330 | |
9331 * str-vec.cc: New file. | |
9332 * Makefile.in (SOURCES): Add it to the list. | |
9333 | |
9334 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
9335 | |
9336 * tempname.c, tempnam.c: Move here from src directory. | |
9337 * Makefile.in: Add to lists. | |
9338 | |
9339 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9340 | |
9341 * cmd-hist.h, cmd-hist.cc: New files. | |
9342 * Makefile.in: Add them to lists. | |
9343 | |
9344 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9345 | |
9346 * oct-glob.h, oct-glob.cc: New files. | |
9347 * Makefile.in: Add them to lists. | |
9348 | |
9349 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9350 | |
9351 * pathsearch.h, pathsearch.cc: New files. | |
9352 * Makefile.in: Add them to lists. | |
9353 | |
9354 * dir-ops.h, dir-ops.cc: New files. | |
9355 * sysdir.h: Move here from src directory. | |
9356 * Makefile.in: Add them to lists. | |
9357 | |
9358 * Array.h (Array::qsort): Return *this, not void. | |
9359 * str-vec.h (string_vector::qsort): Likewise. | |
9360 | |
9361 * chMatrix.cc (row_as_string): Resize result to eliminate | |
9362 unnecessary NULs. | |
9363 | |
9364 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9365 | |
9366 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
9367 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
9368 Files moved here from src directory. | |
9369 * Makefile.in: Add them to lists. Include appropriate rules. | |
9370 | |
9371 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9372 Use pointers, not references (this is C code!). | |
9373 | |
9374 * oct-math.h: New file. | |
9375 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9376 Files moved here from src directory. | |
9377 * Makefile.in: Add them to lists. | |
9378 | |
9379 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9380 | |
9381 * idx-vector.cc (make_uniq): Fix major brain-o. | |
9382 | |
9383 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
9384 Convert to use string class instead of char*. | |
9385 | |
9386 * str-vec.h, Array-str.cc: New files. | |
9387 | |
9388 * Array.h (Array::qsort): New function. | |
9389 | |
9390 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9391 | |
9392 * Array.h: Nest ArrayRep class inside Array class. | |
9393 Refer to ArrayRep, not ArrayRep<T>. | |
9394 Move all ArrayRep functions inline. | |
9395 Don't declare other Array classes as friends of ArrayRep. | |
9396 * Array.cc: Delete ArrayRep functions. | |
9397 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
9398 | |
9399 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
9400 Don't instantiate ArrayRep objects. | |
9401 | |
9402 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9403 | |
9404 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9405 New constructor. | |
9406 | |
9407 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9408 | |
9409 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
9410 for balance_job arg. | |
9411 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
9412 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
9413 | |
9414 * chMatrix.cc (row_as_string): Return string, not const char*. | |
9415 | |
9416 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9417 | |
9418 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
9419 | |
9420 * chMatrix.cc (row_as_string): Undo previous change. | |
9421 | |
9422 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9423 | |
9424 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
9425 is expected to save string if necessary. | |
9426 | |
9427 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9428 | |
9429 * Array.h (class DiagArray): Enable nested Proxy class for all | |
9430 platforms. | |
9431 | |
9432 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
9433 a.rep, don't mess with count. | |
9434 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
9435 don't do anything if reps are the same. | |
9436 (Array3<T>& operator = (const Array3<T>&) | |
9437 | |
9438 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
9439 Declare private with no definition to prevent misuse. | |
9440 | |
9441 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
9442 Get range check right. | |
9443 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
9444 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
9445 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9446 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
9447 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
9448 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
9449 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9450 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
9451 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
9452 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
9453 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
9454 * dColVector.cc | |
9455 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9456 * CRowVector.cc | |
9457 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
9458 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
9459 * CColVector.cc | |
9460 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9461 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
9462 | |
9463 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
9464 Also fill in zeros, not just the diagonal. | |
9465 | |
9466 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
9467 Use END parameter properly. | |
9468 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
9469 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
9470 | |
9471 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
9472 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
9473 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
9474 Don't copy count. Set it to 1. | |
9475 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
9476 | |
9477 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
9478 don't set rep->count to 1 here (now handled by ArrayRep | |
9479 constructors). | |
9480 (Array<T>::Array (void)): Ditto. | |
9481 (Array<T>::Array (int)): Ditto. | |
9482 (Array<T>::T& elem (int)): Ditto. | |
9483 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
9484 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
9485 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
9486 (Array<T>::resize (int)): Ditto. | |
9487 (Array<T>::resize (int, const T&)) :Ditto. | |
9488 (Array<T>::fortran_vec (void)): Ditto. | |
9489 (Array2<T>::resize (int, int)): Ditto. | |
9490 (Array2<T>::resize (int, int, const T&)): Ditto. | |
9491 (DiagArray<T>::resize (int, int)): Ditto. | |
9492 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
9493 | |
9494 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9495 | |
9496 * Array-ch.cc: Rename from Array-c.cc. | |
9497 * MArray-ch.cc: Rename from MArray-c.cc. | |
9498 * chMatrix.cc: Rename from cMatrix.cc. | |
9499 * chMatrix.h: Rename from cMatrix.h. | |
9500 * Makefile.in (TI_SRC): Use new names here. | |
9501 * mx-base.h: Likewise. | |
9502 | |
9503 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9504 | |
9505 * Makefile.in: Handle shared libraries. | |
9506 | |
9507 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9508 | |
9509 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
9510 Correctly compute length of return value. Correct rows and | |
9511 columns in zgemv call. | |
9512 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
9513 | |
9514 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9515 | |
9516 * Makefile.in (stamp-picdir): New target. | |
9517 (all): Depend on it. | |
9518 | |
9519 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9520 | |
9521 * Makefile.in (INCLUDES): Remove QLD.h. | |
9522 (SOURCES): Remove QLD.cc. | |
9523 | |
9524 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9525 | |
9526 * dMatrix.cc (Matrix::inverse): New arg, force. | |
9527 If force is nonzero, invert even if matrix is singular. | |
9528 (ComplexMatrix::inverse): Likewise. | |
9529 | |
9530 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
9531 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
9532 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
9533 Include "oct-cmplx.h" instead of <Complex.h>. | |
9534 | |
9535 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
9536 for class Complex. | |
9537 | |
9538 * oct-cmplx.h: New file. | |
9539 * Makefile.in (INCLUDES): Add it to the list. | |
9540 | |
9541 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
9542 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
9543 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
9544 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
9545 Avoid g++ bugs. | |
9546 | |
9547 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9548 | |
9549 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
9550 | |
9551 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
9552 | |
9553 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9554 | |
9555 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
9556 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
9557 | |
9558 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9559 | |
9560 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
9561 index vector object with Array, not ArrayRep. | |
9562 | |
9563 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9564 | |
9565 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
9566 if index is a colon and resizing is maybe needed. | |
9567 | |
9568 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9569 | |
9570 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
9571 if we have a vector of 1's. | |
9572 | |
9573 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
9574 current orientation, require index and rhs to conform unless | |
9575 do_fortran_indexing flag is set. | |
9576 | |
9577 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9578 | |
9579 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
9580 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
9581 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
9582 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
9583 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
9584 Massive changes to support additional data types. Only charMatrix | |
9585 is currently used in Octave. | |
9586 | |
9587 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9588 | |
9589 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
9590 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
9591 Simply call Array2<Complex> version. | |
9592 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
9593 call Array2<double> version. | |
9594 | |
9595 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
9596 | |
9597 * Array.h, Array.cc: Massive overhaul to support new way of | |
9598 handling indexing. | |
9599 * idx-vector.h, idx-vector.cc: Likewise. | |
9600 * Array-ext.cc, Array-idx.h: New files. | |
9601 * Makefile.in: Add them to the appropriate lists. | |
9602 | |
9603 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9604 | |
9605 * Range.cc (nelem_internal): Use tfloor here, not round. | |
9606 | |
9607 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9608 | |
9609 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
9610 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
9611 | |
9612 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9613 | |
9614 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
9615 | |
9616 * Array.h: Move simple member functions here. | |
9617 * Array.cc: From here. | |
9618 | |
9619 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9620 | |
9621 * Range.cc (tfloor, tceil, round): New static functions. | |
9622 (Range::nelem_internal): Rewrite to use better method. | |
9623 | |
9624 * dbleSVD.h (SVD::type): New item, sigma_only. | |
9625 (type_computed): New var. | |
9626 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
9627 Handle possible error condition. | |
9628 (init): Allow for SVD::sigma_only, save type computed. | |
9629 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
9630 Handle possible error condition. | |
9631 (init): Allow for SVD::sigma_only, save type computed. | |
9632 | |
9633 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9634 | |
9635 * Nearly all non-matrix .h and .cc files: | |
9636 Move short function bodies into class declarations for inlining. | |
9637 Generally clean up. | |
9638 | |
9639 * base-min.h: New file. | |
9640 * LP.h (class LP): Derive from base_minimizer. | |
9641 * QLP.h (class QLP): Derive from base_minimizer. | |
9642 * NLP.h (class NLP): Derive from base_minimizer. | |
9643 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
9644 | |
9645 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
9646 NLFunc.cc, Objective.cc and QP.cc from list. | |
9647 | |
9648 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9649 | |
9650 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
9651 (SCHUR::SCHUR): Delete unused parameter ord. | |
9652 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
9653 | |
9654 * CRowVector.cc | |
9655 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
9656 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
9657 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
9658 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
9659 Actually do something. | |
9660 | |
9661 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
9662 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
9663 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
9664 | |
9665 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
9666 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
9667 tolerances. | |
9668 | |
9669 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
9670 * LPsolve.cc (LPsolve::minimize): Likewise. | |
9671 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
9672 * ODE.cc (lsode_f, lsode_j): Likewise. | |
9673 * QPSOL.cc (qphess): Likewise. | |
9674 | |
9675 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9676 | |
9677 * dMatrix.cc: Include <cstring>. | |
9678 | |
9679 * Array.cc: Try harder to avoid warnings from gcc in functions | |
9680 that return bogus values after calling the error handler. | |
9681 | |
9682 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9683 | |
9684 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
9685 | |
9686 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
9687 | |
9688 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9689 | |
9690 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
9691 (dassl_j): Likewise. | |
9692 | |
9693 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
9694 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
9695 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
9696 Update for change in for loop variable scope for gcc 2.7.0. | |
9697 | |
9698 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
9699 | |
9700 * Makefile.in: Only include dependency files if $(omit_deps) is | |
9701 not set. | |
9702 | |
9703 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
9704 | |
9705 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
9706 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
9707 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
9708 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
9709 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
9710 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
9711 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
9712 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
9713 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
9714 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
9715 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
9716 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
9717 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
9718 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
9719 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
9720 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
9721 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
9722 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
9723 NLP.h: Use pragma interface/implementation. Don't surround | |
9724 contents in extern "C++". | |
9725 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
9726 | |
9727 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9728 | |
9729 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
9730 identifiers. | |
9731 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9732 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9733 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9734 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9735 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9736 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9737 Quad.cc: Change usage of F77_FCN to match new definition | |
9738 | |
9739 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
9740 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
9741 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
9742 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
9743 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
9744 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
9745 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
9746 args by reference instead of pointer. Change all callers. | |
9747 | |
9748 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9749 | |
9750 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
9751 functions. Make += and -= operators friend functions. | |
9752 | |
9753 * Array.h (Array2::~Array2, Array3::~Array3, | |
9754 DiagArray::~DiagArray): New functions. | |
9755 | |
9756 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9757 | |
9758 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
9759 (MATRIX_INC): Don't distribute mx-kludge.h. | |
9760 | |
9761 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9762 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9763 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9764 dRowVector.h dRowVector.cc: | |
9765 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
9766 Array2, and DiagArray2. | |
9767 Don't use functions defined in mx-kludge.cc for arithmetic | |
9768 like-type operations on arrays. | |
9769 | |
9770 * MArray.cc: Use the classes defined here like-type mathematical | |
9771 operations on Array objects. Abuse CPP more. | |
9772 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
9773 (EXTRAS): Delete it from this list. | |
9774 | |
9775 * MArray-C.cc, MArray-d.cc: New files. | |
9776 * Makefile.in (TI_SRC): Add them to the list. | |
9777 | |
9778 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9779 | |
9780 * mx-kludge.cc: Abuse CPP even more. | |
9781 | |
9782 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9783 | |
9784 * Objective.h (objective_function): Add missing const. | |
9785 (gradient_function): Likewise. | |
9786 | |
9787 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
9788 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
9789 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
9790 dRowVector.h dRowVector.cc: | |
9791 Reorganize to declare and define friends where they should be, | |
9792 based on the use of private constructors. | |
9793 | |
9794 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
9795 | |
9796 * CRowVector.h (linspace): Add declaration. | |
9797 * dRowVector.h (linspace): Likewise. | |
9798 | |
9799 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
9800 Force result of rcond + 1.0 to be stored. | |
9801 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
9802 ComplexMatrix::solve): Likewise. | |
9803 | |
9804 See ChangeLog.1 in the top level directory for earlier changes. |