Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 9647:54f45f883a53
optimize & extend randperm
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 16 Sep 2009 13:41:49 +0200 |
parents | cbabf50315ca |
children | 11844593875a |
rev | line source |
---|---|
9647
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
1 2009-09-16 Jaroslav Hajek <highegg@gmail.com> |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
2 |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
3 * oct-rand.cc (octave_rand::do_matrix, do_nd_array, do_vector): |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
4 Use Array::clear rather than Array::resize. |
54f45f883a53
optimize & extend randperm
Jaroslav Hajek <highegg@gmail.com>
parents:
9625
diff
changeset
|
5 |
9625
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
6 2009-09-06 Jaroslav Hajek <highegg@gmail.com> |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
7 |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
8 * dColVector.h (operator *(const Matrix&, const ColumnVector)): |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
9 Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
10 * fColVector.h (operator *(const FloatMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
11 FloatColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
12 * CColVector.h (operator *(const ComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
13 ComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
14 * fCColVector.h (operator *(const FloatComplexMatrix&, const |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
15 FloatComplexColumnVector)): Optimize. |
cbabf50315ca
optimize Matrix*ColumnVector
Jaroslav Hajek <highegg@gmail.com>
parents:
9624
diff
changeset
|
16 |
9624
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
17 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
18 |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
19 * Array.cc (Array<T>::clear (const dim_vector&)): new method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
20 * Array.h: Declare it. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
21 (Array<T>::clear (octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
22 (Array<T>::clear (octave_idx_type, octave_idx_type)): New method. |
3fc7272937ce
implement Array<T>::clear overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
9612
diff
changeset
|
23 |
9612
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
24 2009-09-04 Jaroslav Hajek <highegg@gmail.com> |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
25 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
26 * mx-inlines.cc (DEFMXBOOLOPEQ): New macro. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
27 (mx_inline_and2, mx_inline_or2): New loops. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
28 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
29 * MArray.h (MArray<T>::MArray (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
30 (MArray<T>::MArray (const Array<T>&)): Ensure column vector. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
31 (MArray<T>::resize): New method. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
32 * DiagArray2.h (DiagArray2<T>::DiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
33 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
34 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2 (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
35 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
36 * dColVector.h (ColumnVector::ColumnVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
37 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
38 * fColVector.h (FloatColumnVector::FloatColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
39 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
40 * CColVector.h (ComplexColumnVector::ComplexColumnVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
41 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
42 * fCColVector.h (FloatComplexColumnVector::FloatComplexColumnVector |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
43 (const dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
44 * dRowVector.h (RowVector::RowVector (const dim_vector&)): New |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
45 constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
46 * fRowVector.h (FloatRowVector::FloatRowVector (const dim_vector&)): |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
47 New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
48 * CRowVector.h (ComplexRowVector::ComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
49 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
50 * fCRowVector.h (FloatComplexRowVector::FloatComplexRowVector (const |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
51 dim_vector&)): New constructor. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
52 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
53 * CNDArray.cc (operator *= (const ComplexNDArray, double)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
54 * fCNDArray.cc (operator *= (const FloatComplexNDArray, float)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
55 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
56 * MArray.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
57 (operator += (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
58 (operator -= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
59 (operator *= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
60 (operator /= (MArray<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
61 (operator += (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
62 (operator -= (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
63 (product (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
64 (quotient (MArray<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
65 (MARRAY_AS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
66 (MARRAY_SA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
67 (MARRAY_AA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
68 (operator - (const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
69 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
70 * MArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
71 (operator += (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
72 (operator -= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
73 (operator *= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
74 (operator /= (MArray2<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
75 (operator += (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
76 (operator -= (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
77 (product (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
78 (quotient (MArray2<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
79 (MARRAY_A2S_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
80 (MARRAY_SA2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
81 (MARRAY_A2A2_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
82 (operator - (const MArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
83 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
84 * MArrayN.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
85 (operator += (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
86 (operator -= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
87 (operator *= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
88 (operator /= (MArrayN<T>&, const T&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
89 (operator += (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
90 (operator -= (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
91 (product (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
92 (quotient (MArrayN<T>&, const MArray<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
93 (MARRAY_NDS_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
94 (MARRAY_SND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
95 (MARRAY_NDND_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
96 (operator - (const MArrayN<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
97 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
98 * MDiagArray2.cc |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
99 (operator += (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
100 (operator -= (MDiagArray2<T>&, const MDiagArray2<T>&)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
101 (operator *= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
102 (operator /= (MDiagArray2<T>&, T)): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
103 (MARRAY_DAS_OP, MARRAY_SDA_OP, MARRAY_DADA_OP): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
104 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): Simplify. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
105 |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
106 * MArray-defs.h (DO_VS_OP, DO_SV_OP, DO_VV_OP, |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
107 DO_VS_OP2, DO_VV_OP2, NEGV): Remove. |
66970dd627f6
further liboctave design improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9607
diff
changeset
|
108 |
9607
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
109 2009-09-03 Jaroslav Hajek <highegg@gmail.com> |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
110 |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
111 * mx-inlines.cc (DEFMXUNOPEQ): New macro. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
112 (mx_inline_not2, mx_inline_uminus2): New loops. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
113 * boolNDArray.cc (boolNDArray::invert): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
114 * boolNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
115 * MArrayN.cc (MArrayN<T>::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
116 * MArrayN.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
117 * dNDArray.cc (NDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
118 * dNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
119 * fNDArray.cc (FloatNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
120 * fNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
121 * CNDArray.cc (ComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
122 * CNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
123 * fCNDArray.cc (FloatComplexNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
124 * fCNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
125 * intNDArray.cc (intNDArray::changesign): New method. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
126 * intNDArray.h: Declare it. |
1be3c73ed7b5
reuse temporary arrays in nested expressions
Jaroslav Hajek <highegg@gmail.com>
parents:
9604
diff
changeset
|
127 |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
128 2009-09-02 Jaroslav Hajek <highegg@gmail.com> |
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
129 |
9604
4dd8fc7c106c
ChangeLog fix for last change: FLOAT_STORE->FLOAT_TRUNCATE
Jaroslav Hajek <highegg@gmail.com>
parents:
9603
diff
changeset
|
130 * oct-cmplx.h: Rewrite the comaprison ops. Use FLOAT_TRUNCATE. |
9603
8bea4e89326f
implement FLOAT_STORE to allow safer complex comparisons on x87
Jaroslav Hajek <highegg@gmail.com>
parents:
9594
diff
changeset
|
131 |
9594
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
132 2009-09-01 Jaroslav Hajek <highegg@gmail.com> |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
133 |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
134 * oct-cmplx.h: Correct strict operators in macros. |
01004c3cde2c
fix non-strict complex comparisons
Jaroslav Hajek <highegg@gmail.com>
parents:
9591
diff
changeset
|
135 |
9591
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
136 2009-08-31 John W. Eaton <jwe@octave.org> |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
137 |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
138 * liboctave/lo-ieee.cc (octave_ieee_init): Abort if floating point |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
139 format is not recognized as IEEE. |
264fb5520973
abort if floating point format is not recognized as IEEE
John W. Eaton <jwe@octave.org>
parents:
9582
diff
changeset
|
140 |
9582
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
141 2009-08-27 John W. Eaton <jwe@octave.org> |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
142 |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
143 * str-vec.cc, str-vec.h (string_vector::string_vector (const |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
144 std::set<std::string>&)): New constructor. |
bdcfb756d721
improve error messages for ambiguous graphics property names
John W. Eaton <jwe@octave.org>
parents:
9578
diff
changeset
|
145 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
146 2009-08-27 Jaroslav Hajek <highegg@gmail.com> |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
147 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
148 * mx-inlines.cc (DEFCMPLXCMOP): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
149 * oct-cmplx.h (operator <, operator >): Remove definitions. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
150 (DEF_COMPLEXR_COMP): New macro. Instantiate for <, >, <=, >=. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
151 * mx-op-defs.h (MM_CMP_OP, MS_CMP_OP, SM_CMP_OP, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
152 NDND_CMP_OP, NDS_CMP_OP, SND_CMP_OP): Replace by one-liners. Remove |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
153 unused parameters. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
154 (MM_CMP_OPS, MS_CMP_OPS, SM_CMP_OPS, NDND_CMP_OPS, NDS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
155 SND_CMP_OPS): Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
156 (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, NDS_CMP_OPS2, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
157 SND_CMP_OP1, SND_CMP_OPS1, SND_CMP_OP2, SND_CMP_OPS2): Remove. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
158 * mk-ops.awk: Simplify CMP_OPS branch. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
159 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS, SPARSE_SMS_CMP_OPS, |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
160 SPARSE_SSM_CMP_OPS, SPARSE_MSM_CMP_OPS, SPARSE_SMM_CMP_OPS): |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
161 Update. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
162 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
163 * CNDArray.cc: Update syntax. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
164 * boolNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
165 * chNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
166 * dNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
167 * fCNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
168 * fNDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
169 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
170 * int16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
171 * int32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
172 * int64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
173 * int8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
174 * uint16NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
175 * uint32NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
176 * uint64NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
177 * uint8NDArray.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
178 |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
179 * CMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
180 * boolMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
181 * chMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
182 * dMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
183 * fCMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
184 * fMatrix.cc: Ditto. |
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9557
diff
changeset
|
185 |
9557
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
186 2009-08-24 Jaroslav Hajek <highegg@gmail.com> |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
187 |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
188 * MArray.cc (MArray<T>::product_eq, MArray<T>::quotient_eq): New |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
189 methods. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
190 * MArray2.cc (MArray2<T>::product_eq, MArray2<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
191 * MArrayN.cc (MArrayN<T>::product_eq, MArrayN<T>::quotient_eq): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
192 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLX): New macro. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
193 (MARRAY_OP_ASSIGN_DECLS, MARRAY_OP_ASSIGN_FWD_DEFS): Include |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
194 product_eq and quotient_eq. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
195 (MARRAY_FORWARD_DEFS): Use MARRAY_OP_ASSIGN_FWD_DEFS1. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
196 (MDIAGARRAY2_OPS_FORWARD_DECLS): Don't instantiate |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
197 OP= operators for diag matrices. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
198 (MDIAGARRAY2_FORWARD_DEFS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
199 * MArray-defs.h (INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
3a1dd361f978
optimize .*=, ./= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9556
diff
changeset
|
200 |
9556
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
201 2009-08-23 Jaroslav Hajek <highegg@gmail.com> |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
202 |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
203 * Array.h (Array::make_unique, Array::~Array, Array::operator =): |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
204 Move here to allow inlining. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
205 * Array.cc: Remove from here. |
948795dc1974
make a few Array methods inline
Jaroslav Hajek <highegg@gmail.com>
parents:
9553
diff
changeset
|
206 |
9553
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
207 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
208 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
209 * mx-inlines.cc (logical_value): New overloaded template. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
210 (DEFMXBOOL_OP): Use it in definitions. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
211 (mx_inline_not): Also use logical_value. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
212 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): Remove |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
213 (also from all macros). |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
214 |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
215 * CMatrix.cc (operator !): Simply call mx_inline_not. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
216 * CNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
217 * dMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
218 * dNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
219 * fCMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
220 * fCNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
221 * fMatrix.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
222 * fNDArray.cc: Ditto. |
0c72d9284087
further bool ops tweaks
Jaroslav Hajek <highegg@gmail.com>
parents:
9551
diff
changeset
|
223 |
9551
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
224 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
225 |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
226 * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
227 * fMatrix.cc (FloatMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
228 * CMatrix.cc (ComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
229 * fCMatrix.cc (FloatComplexMatrix::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
230 * dNDArray.cc (NDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
231 * fNDArray.cc (FloatNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
232 * CNDArray.cc (ComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
233 * fCNDArray.cc (FloatComplexNDArray::operator!): Ditto. |
19d298e6f7e5
make ! operator check for NaNs, simplify implementations in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
234 |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
235 2009-08-20 Jaroslav Hajek <highegg@gmail.com> |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
236 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
237 * mx-inlines.cc (mx_inline_add, mx_inline_sub, mx_inline_mul, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
238 mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
239 mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
240 mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
241 mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
242 mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
243 mx_inline_eq, mx_inline_ne): New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
244 (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
245 do_ms_binary_op, do_mm_inplace_op,do_ms_inplace_op): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
246 New templates. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
247 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
248 * mx-op-defs.h (ND_LOGICAL_NAN_CHECK, SC_LOGICAL_NAN_CHECK): |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
249 New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
250 (NDND_BIN_OP, NDS_BIN_OP, SND_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
251 (MM_BIN_OP, MS_BIN_OP, MM_BIN_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
252 (NDND_BOOL_OP, NDS_BOOL_OP, SND_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
253 (MM_BOOL_OP, MS_BOOL_OP, MM_BOOL_OP): Simplify. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
254 (NDND_BOOL_OPS2, NDS_BOOL_OPS2, SND_BOOL_OPS2, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
255 MM_BOOL_OPS2, MS_BOOL_OPS2, SM_BOOL_OPS2): Remove. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
256 * mx-op-decl.h (NDND_BOOL_OPX_DECLS, NDS_BOOL_OPX_DECLS, |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
257 SND_BOOL_OPX_DECLS): New macros. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
258 * mk-ops.awk: use _BOOL_OPS rather than _BOOL_OPS2. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
259 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
260 * boolMatrix.cc: Add missing bool op defs. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
261 * boolMatrix.h: Add missing bool op decls. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
262 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
263 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
264 * boolNDArray.cc: Remove unused arg to BOOL_OPS. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
265 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
266 * CNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
267 * ChangeLog: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
268 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
269 * chNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
270 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
271 * dNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
272 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
273 * fCNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
274 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
275 * fNDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
276 * int16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
277 * int32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
278 * int64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
279 * int8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
280 * uint16NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
281 * uint32NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
282 * uint64NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
283 * uint8NDArray.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
284 |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
285 * CColVector.cc: Update syntax where needed. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
286 * CDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
287 * CMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
288 * CRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
289 * chMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
290 * dColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
291 * dDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
292 * dMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
293 * dRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
294 * fCColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
295 * fCDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
296 * fCMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
297 * fCRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
298 * fColVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
299 * fDiagMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
300 * fMatrix.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
301 * fRowVector.cc: Ditto. |
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9549
diff
changeset
|
302 |
9549
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
303 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
304 |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
305 * Array-util.cc (zero_dims_inquire): Add matching ndims case. |
ed34b1da0e26
zero matrix assignment fix
Jaroslav Hajek <highegg@gmail.com>
parents:
9548
diff
changeset
|
306 |
9548
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
307 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
308 |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
309 * MArrayN.cc (operator+=, operator-=): Test matching dimensions first. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
310 * boolNDArray.cc (mx_el_and_assign, mx_el_or_assign): New functions. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
311 * boolNDArray.h: Declare them. |
e5f7aee2ab8c
optimize &=, |= operators
Jaroslav Hajek <highegg@gmail.com>
parents:
9546
diff
changeset
|
312 |
9546
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
313 2009-08-19 Jaroslav Hajek <highegg@gmail.com> |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
314 |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
315 * Array.cc (Array<T>::clear): New method. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
316 * Array.h: Declare it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
317 * MArray-decl.h (MARRAY_OP_ASSIGN_DECLS1, MARRAY_OP_ASSIGN_FWD_DECLS1, |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
318 MARRAY_OP_ASSIGN_FRIENDS1, MARRAY_OP_ASSIGN_FWD_DEFS1): New macros. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
319 (MARRAY_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS): Use them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
320 * MArray-defs.h (MARRAY_OP_ASSIGN_DEFS1): New macro. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
321 (INSTANTIATE_MARRAY_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
322 (INSTANTIATE_MARRAY2_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
323 (INSTANTIATE_MARRAYN_FRIENDS): Use it. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
324 * MArray.cc (operator+=, operator-=): |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
325 Operate out-of-place when this is shared copy. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
326 (operator*=, operator/=): New operator overloads. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
327 * MArray2.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
328 * MArrayN.cc: Ditto. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
329 * CNDArray.cc (operator *= (ComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
330 operator /= (ComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
331 * CNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
332 * fCNDArray.cc (operator *= (FloatComplexNDArray&, double), |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
333 operator /= (FloatComplexNDArray&, double)): New operators. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
334 * fCNDArray.h: Declare them. |
1beb23d2b892
optimize op= in common cases
Jaroslav Hajek <highegg@gmail.com>
parents:
9534
diff
changeset
|
335 |
9534
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
336 2009-08-17 John W. Eaton <jwe@octave.org> |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
337 |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
338 * Makefile.in (LINK_DEPS): List LIBS last. |
baeecd69fd44
liboctave/Makefile.in (LINK_DEPS): list LIBS last
John W. Eaton <jwe@octave.org>
parents:
9528
diff
changeset
|
339 |
9528
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
340 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
341 |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
342 * dMatrix.cc, fMatrix.cc, CMatrix.cc, fCMatrix.cc: Add more tests. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
343 * CMatrix.cc (xgemm): Fix vector * matrix case. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
344 * fCMatrix.cc (xgemm): Ditto. |
ec066ba012c8
more fixes & tests for matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9527
diff
changeset
|
345 |
9527
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
346 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
347 |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
348 * fMatrix.cc, fCMatrix.cc: Make tests use single precision. |
6a9fd5f653c9
make single prec. matrix mutliply tests really single
Jaroslav Hajek <highegg@gmail.com>
parents:
9526
diff
changeset
|
349 |
9526
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
350 2009-08-16 Jaroslav Hajek <highegg@gmail.com> |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
351 |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
352 * CMatrix.cc (xgemm): Fix typo. Add test. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
353 * fCMatrix.cc (xgemm): Ditto. |
f3ebc728ffd7
fix typos in complex xgemm
Jaroslav Hajek <highegg@gmail.com>
parents:
9524
diff
changeset
|
354 |
9524
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
355 2009-08-14 John W. Eaton <jwe@octave.org> |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
356 |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
357 * Makefile.in (LINK_DEPS): Include BLAS_LIBS in the list. |
ace0febd263e
link liboctave with blas libs
John W. Eaton <jwe@octave.org>
parents:
9523
diff
changeset
|
358 |
9523
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
359 2009-08-13 John W. Eaton <jwe@octave.org> |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
360 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
361 * CMatrix.cc, CNDArray.cc, dMatrix.cc, dNDArray.cc, fCMatrix.cc, |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
362 fCNDArray.cc, fMatrix.cc, fNDARray.cc, oct-fftw.cc, oct-fftw.h: |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
363 Update for new FFTW defines. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
364 |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
365 * Makefile.in: Add library-specific CPPFLAGS and LDFLAGS variables |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
366 to CPPFLAGS and LDFLAGS for files that use sparse matrices or fftw. |
0ce82753dd72
more configure changes for libraries
John W. Eaton <jwe@octave.org>
parents:
9518
diff
changeset
|
367 |
9518
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
368 2009-08-12 Jaroslav Hajek <highegg@gmail.com> |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
369 |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
370 * Makefile.in: Include LDFLAGS when linking shared executable. |
113dba092d8c
include LDFLAGS for shared liboctave and liboctinterp
Jaroslav Hajek <highegg@gmail.com>
parents:
9516
diff
changeset
|
371 |
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
372 2009-08-11 John W. Eaton <jwe@octave.org> |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
373 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
374 * oct-fftw.h, oct-fftw.cc (octave_fftw_planner): Convert to singleton. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
375 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
376 |
9515 | 377 2009-08-11 John W. Eaton <jwe@octave.org> |
378 | |
379 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
380 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
381 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
382 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
383 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
384 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
385 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
386 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
387 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
388 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
389 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
390 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
391 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
392 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
393 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
394 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
395 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
396 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
397 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
398 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
399 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
400 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
401 * dim-vector.h (dim_vector::first_non_singleton): New method. |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
402 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
403 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
404 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
405 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
406 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
407 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
408 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
409 |
9493 | 410 2009-08-05 John W. Eaton <jwe@octave.org> |
411 | |
412 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
413 not BIND_DEFERRED to shl_load. | |
414 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
415 | |
9490 | 416 2009-08-05 John W. Eaton <jwe@octave.org> |
417 | |
418 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
419 Include $(RLD_FLAG) in the list. | |
420 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
421 2009-08-05 John W. Eaton <jwe@octave.org> |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
422 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
423 * Makefile.in (LINK_DEPS): Include $(PTHREAD_LIBS) in the list. |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
424 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
425 2009-08-04 Kristian Rumberg <kristianrumberg@gmail.com> |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
426 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
427 * cmd-edit.cc (gnu_readline::do_get_line_buffer, |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
428 default_command_editor::do_get_line_buffer): New functions. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
429 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
430 * cmd-edit.h (command_editor::get_line_buffer): Provide decls. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
431 (command_editor::do_get_line_buffer): New pure virtual function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
432 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
433 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
434 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
435 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
436 (idx_vector::copy_data, idx_vector::unconvert): New method decls. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
437 * idx-vector.cc (idx_vector::copy_data, idx_vector::unconvert): New |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
438 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
439 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
440 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
441 2009-07-29 John W. Eaton <jwe@octave.org> |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
442 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
443 * fMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
444 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
445 * fCMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
446 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
447 * dMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
448 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
449 * CMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
450 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
451 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
452 * lo-utils.cc, lo-utils.h (octave_read_value): New template |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
453 (octave_read_value<double>, octave_read_value<Complex>): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
454 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
455 (octave_read_double, octave_read_complex, octave_read_float, |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
456 octave_rread_float_complex): Define in terms of template functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
457 * Sparse.h (read_sparse_matrix): New template function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
458 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
459 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
460 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
461 * sparse-util.cc, sparse-util.h (sparse_indices_ok): New function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
462 * Sparse.cc (Sparse<T>::indices_ok, Sparse<T>::SparseRep::indices_ok): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
463 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
464 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
465 2009-07-20 John W. Eaton <jwe@octave.org> |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
466 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
467 * lo-ieee.cc (octave_ieee_init) [__NetBSD__]: Call nan to |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
468 initialize Octave_NaN and nanf, to initialize Octave_Float_NaN. |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
469 |
9431 | 470 2009-07-11 John W. Eaton <jwe@octave.org> |
471 | |
472 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
473 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
474 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
475 2009-07-08 John W. Eaton <jwe@octave.org> |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
476 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
477 * dim-vector.h (dim_vector::dim_vector_rep::dim_vector_rep |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
478 (octave_idx_type, const dim_vector_rep *, int)): |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
479 Enforce 2-d objects here. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
480 (dim_vector::dim_vector_rep::dim_vector_rep): Simply copy object. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
481 (dim_vector::resize): Allow N < 2. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
482 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
483 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
484 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
485 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
486 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
487 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
488 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
489 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
490 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
491 * Sparse-diag-op-defs.h (inner_do_add_sm_dm): Rewrite to ensure |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
492 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
493 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
494 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
495 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
496 * oct-sort.cc (octave_sort<T>::lookupb<Comp>): Fix typo. |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
497 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
498 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
499 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
500 * oct-sort.cc (octave_sort<T>::lookup_merge): Delete. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
501 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
502 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
503 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
504 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
505 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
506 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
507 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
508 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
509 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
510 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
511 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
512 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Slightly speed-up |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
513 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
514 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
515 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
516 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
517 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Fix lower-part |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
518 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
519 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
520 2009-06-24 Alexander Barth <barth.alexander@gmail.com> |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
521 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
522 * eigs-base.cc (EigsRealSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
523 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
524 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
525 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
526 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
527 Use octave_idx_type for parameters of type LOGICAL in ARPACK. |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
528 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
529 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
530 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
531 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
532 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
533 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
534 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
535 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
536 * oct-sort.cc (lookup_impl<T, Comp>): New helper inline function. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
537 (octave_sort<T>::lookup_merge<Comp>): New private template method. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
538 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
539 (octave_sort<T>::lookupm<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
540 (octave_sort<T>::lookupb<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
541 (out_of_range_pred, out_of_range): Remove. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
542 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
543 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
544 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
545 * dMatrix.cc (xgemm): Replace resize() with uninitialized allocations |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
546 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
547 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
548 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
549 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
550 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
551 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
552 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
553 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
554 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
555 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
556 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
557 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
558 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
559 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
560 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
561 * cmd-edit.cc (command_editor::force_default_editor): New static |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
562 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
563 * cmd-edit.h: Declare it. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
564 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
565 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
566 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
567 * lo-mappers.cc (xlog2 (const Complex&, int&), xlog2 (const |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
568 FloatComplex&, int&)): Use more robust expression. |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
569 |
9310 | 570 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
571 | |
572 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
573 order for backward searches. | |
574 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
575 2009-06-02 Jaroslav Hajek <highegg@gmail.com> |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
576 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
577 * Array-C.cc (class DiagArray2<Complex>::Proxy): Only explicitly |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
578 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
579 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
580 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
581 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
582 |
9267 | 583 2009-05-26 John W. Eaton <jwe@octave.org> |
584 | |
585 * pathsearch.h (dir_path::path_sep_char (char), | |
586 dir_path::static_members::path_sep_char (char)): New functions. | |
587 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
588 2009-05-21 Michael Goffioul <michael.goffioul@gmail.com> |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
589 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
590 * Array-C.cc (class DiagArray2<Complex>::Proxy): Tag with OCTAVE_API. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
591 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
592 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
593 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
594 * Array.cc (class octave_sort<T>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
595 * CColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
596 * CDiagMatrix.h (class ComplexDiagMatrix, conj, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
597 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
598 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
599 * PermMatrix.h (class PermMatrix, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
600 * dDiagMatrix.h (class DiagMatrix): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
601 * fCColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
602 * fCDiagMatrix.h (class FloatComplexDiagMatrix, conj, operator*): |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
603 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
604 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
605 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
606 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
607 * oct-locbuf.h (octave_chunk_buffer::octave_chunk_buffer, |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
608 octave_chunk_buffer::~octave_chunk_buffer): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
609 * oct-inttypes.cc (octave_int_cmp_op::emulate_op): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
610 * DET.h (class base_det<T>): Remove OCTAVE_API (cannot be applied on |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
611 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
612 * oct-inttypes.cc (octave_int_cmp_op::emulate_op<class xop>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
613 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
614 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::delete_col): Copy |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
615 volatile variable to avoid MSVC compilation error (cannot pass |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
616 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
617 * dbleQR.cc (QR::insert_col, QR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
618 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
619 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
620 * floatQR.cc (FloatQR::insert_col, FloatQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
621 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
622 * oct-mutex.cc: Exclude pthread.h inclusion under Win32. |
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
623 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
624 * base-aepbal.h (base_aepbal::operator=): Add missing return |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
625 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
626 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
627 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
628 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
629 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
630 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
631 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
632 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
633 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
634 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
635 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
636 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
637 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
638 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
639 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
640 2009-05-21 Jaroslav Hajek <highegg@gmail.com> |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
641 |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
642 * CMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
643 (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
644 ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
645 ComplexMatrix::sumsq): Use explicit template qualifications |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
646 to workaround bugs in Intel C++ and MSVC++ compilers. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
647 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
648 (ComplexNDArray::all, ComplexNDArray::any, ComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
649 ComplexNDArray::cumsum, ComplexNDArray::prod, ComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
650 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
651 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
652 (boolMatrix::all, boolMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
653 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
654 (boolNDArray::all, boolNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
655 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
656 (charMatrix::all, charMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
657 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
658 (charNDArray::all, charNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
659 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
660 (Matrix::all, Matrix::any, Matrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
661 Matrix::cumsum, Matrix::prod, Matrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
662 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
663 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
664 (NDArray::all, NDArray::any, NDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
665 NDArray::cumsum, NDArray::prod, NDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
666 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
667 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
668 (FloatComplexMatrix::all, FloatComplexMatrix::any, FloatComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
669 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, FloatComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
670 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
671 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
672 (FloatComplexNDArray::all, FloatComplexNDArray::any, FloatComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
673 FloatComplexNDArray::cumsum, FloatComplexNDArray::prod, FloatComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
674 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
675 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
676 (FloatMatrix::all, FloatMatrix::any, FloatMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
677 FloatMatrix::cumsum, FloatMatrix::prod, FloatMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
678 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
679 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
680 (FloatNDArray::all, FloatNDArray::any, FloatNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
681 FloatNDArray::cumsum, FloatNDArray::prod, FloatNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
682 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
683 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
684 (intNDArray<T>::all, intNDArray<T>::any, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
685 intNDArray<T>::cumsum, intNDArray<T>::sum): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
686 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
687 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
688 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
689 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
690 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
691 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
692 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
693 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
694 * Array.cc (NO_INSTANTIATE_ARRAY_SORT): const T& -> T const & |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
695 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
696 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
697 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
698 |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
699 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
700 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
701 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
702 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
703 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
704 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
705 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
706 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
707 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
708 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
709 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
710 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
711 * Array-util.cc (zero_dims_inquire): Move j++ out of branch. |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
712 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
713 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
714 |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
715 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
716 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
717 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
718 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
719 * file-ops.h (file_ops::tail) New function. |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
720 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
721 2009-05-05 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
722 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
723 * Quad.cc (user_function): Use access_double and assign_double on |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
724 SPARC only, not on all Sun systems. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
725 * sun-utils.h: Likewise, define these functions on SPARC only. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
726 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
727 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
728 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
729 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
730 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
731 2009-05-04 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
732 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
733 * Quad.cc (float_user_function): Remove Sun/GCC special case. |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
734 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
735 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
736 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
737 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep (const |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
738 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
739 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
740 2009-04-15 Jaroslav Hajek <highegg@gmail.com> |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
741 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
742 * Array.cc (rec_permute_helper::blk_trans): Declare as static. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
743 (Array<T>::transpose): Reuse it. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
744 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
745 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
746 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
747 * Array.cc (Array<T>::make_unique): Don't economize when unique. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
748 (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
749 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
750 (Array<T>::delete_elements (const idx_vector&)): Do pop operation |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
751 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
752 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
753 2009-03-29 Jaroslav Hajek <highegg@gmail.com> |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
754 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
755 * Array.cc (Array<T>::assign): Remove redundant checks after invalid |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
756 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
757 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
758 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
759 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
760 * Array.cc (Array<T>::find): Reshape result for Matlab compatibility. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
761 * Array.h (Array<T>): Add friend template declaration. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
762 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
763 2009-03-27 Jaroslav Hajek <highegg@gmail.com> |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
764 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
765 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
766 Array<bool>&): Use more M*b-compatible behaviour. |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
767 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
768 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
769 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
770 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
771 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
772 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
773 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
774 * Array.h (Array<T>::dims): Return a const reference. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
775 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
776 |
9025 | 777 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
778 | |
779 * Array.cc (Array<T>::find): New method. | |
780 * Array.h: Declare it. | |
781 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
782 2009-03-25 John W. Eaton <jwe@octave.org> |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
783 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
784 * EIG.cc (EIG::init (const Matrix&, bool), |
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
785 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 786 Avoid volatile declaration for tmp variable. |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
787 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
788 * Makefile.in (MATRIX_INC): Add Sparse-diag-op-defs.h and |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
789 Sparse-perm-op-defs.h to the list. |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
790 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
791 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
792 |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
793 * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
794 INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
795 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
796 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
797 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
798 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
799 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
800 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
801 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
802 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
803 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
804 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
805 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
806 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
807 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
808 2009-03-21 Jaroslav Hajek <highegg@gmail.com> |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
809 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
810 * Array-d.cc: lo_ieee_isnan -> xisnan. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
811 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
812 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
813 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
814 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
815 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
816 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
817 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
818 |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
819 * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
820 boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
821 dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
822 fColVector.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, intNDArray.cc: |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
823 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
824 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
825 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
826 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
827 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
828 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
829 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
830 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
831 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
832 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
833 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
834 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
835 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
836 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
837 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
838 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
839 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
840 * lo-mappers.h (xisnan, xisinf, xfinite): If possible, use definitions |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
841 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
842 |
9501 | 843 2009-03-18 Jaroslav Hajek <highegg@gmail.com> |
8995
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
844 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
845 * oct-norm.cc (get_eps): Remove that hack. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
846 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
847 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
848 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
849 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
850 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
851 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
852 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
853 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
854 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
855 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
856 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
857 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
858 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
859 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
860 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
861 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
862 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
863 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
864 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
865 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
866 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
867 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
868 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
869 |
8971 | 870 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
871 | |
872 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
873 constructor body. | |
874 * Range.cc: Move it here. Check for invalid range op results. | |
875 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
876 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
877 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
878 singleton dimension. |
8971 | 879 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
880 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
881 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
882 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
883 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
884 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
885 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
886 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
887 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
888 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
889 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
890 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
891 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
892 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
893 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
894 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
895 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
896 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
897 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
898 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
899 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
900 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
901 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
902 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
903 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
904 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
905 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
906 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
907 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
908 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
909 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
910 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
911 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
912 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
913 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
914 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
915 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
916 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
917 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
918 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
919 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
920 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
921 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
922 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
923 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
924 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
925 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
926 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
927 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
928 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
929 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
930 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
931 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
932 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
933 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
934 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
935 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
936 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
937 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
938 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
939 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
940 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
941 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
942 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
943 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
944 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
945 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
946 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
947 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
948 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
949 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
950 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
951 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
952 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
953 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
954 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
955 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
956 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
957 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
958 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
959 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
960 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
961 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
962 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
963 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
964 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
965 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
966 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
967 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
968 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
969 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
970 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
971 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
972 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
973 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
974 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
975 Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
976 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
977 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
978 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
979 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
980 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
981 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
982 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
983 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
984 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
985 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
986 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
987 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
988 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
989 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
990 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
991 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
992 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
993 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
994 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
995 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
996 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
997 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
998 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
999 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1000 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1001 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1002 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1003 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1004 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1005 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
1006 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1007 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1008 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
1009 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1010 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1011 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1012 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1013 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1014 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
1015 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1016 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1017 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1018 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1019 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1020 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1021 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1022 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1023 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1024 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1025 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1026 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1027 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1028 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
1029 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1030 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1031 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1032 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
1033 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1034 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1035 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1036 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1037 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1038 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1039 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1040 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
1041 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1042 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1043 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1044 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1045 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1046 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1047 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1048 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1049 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1050 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1051 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
1052 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1053 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1054 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1055 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1056 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1057 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1058 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1059 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
1060 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1061 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1062 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1063 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
1064 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1065 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1066 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1067 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
1068 |
8897 | 1069 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
1070 | |
1071 * mx-inlines.cc: Add missing #include. | |
1072 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1073 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1074 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1075 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
1076 |
8864 | 1077 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
1078 | |
1079 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
1080 Simplify. | |
1081 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1082 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1083 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1084 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1085 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1086 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1087 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1088 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1089 defs for octave_int_cmp_op::emulate_mop. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1090 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1091 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
1092 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1093 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1094 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1095 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1096 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1097 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1098 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1099 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1100 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1101 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1102 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
1103 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1104 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1105 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1106 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1107 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1108 (octave_sort<T>::MergeState::~MergeState): New destructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1109 (octave_sort<T>::MergeState::reset, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1110 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1111 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1112 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1113 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1114 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
1115 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1116 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1117 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1118 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1119 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1120 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1121 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1122 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1123 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1124 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1125 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1126 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1127 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
1128 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1129 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1130 |
8811 | 1131 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
1132 call to std::max. | |
1133 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
1134 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
1135 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
1136 | |
1137 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
1138 std::max and as operand to -= operator. | |
1139 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
1140 * floatQRP.cc (FloatQRP::init): Ditto. | |
1141 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
1142 | |
1143 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
1144 Declare info as octave_idx_type, not int. | |
1145 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
1146 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
1147 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
1148 Ditto. | |
1149 | |
8806 | 1150 * dMatrix.cc (Matrix::determinant): |
1151 Declare local variables volatile as needed to avoid "maybe | |
1152 clobbered by vfork" warning from GCC. | |
1153 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
1154 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
1155 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
1156 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
1157 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
1158 FloatQR::delete_col): Likewise. | |
1159 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
1160 ComplexQR::delete_col): Likewise. | |
1161 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
1162 FloatComplexQR::delete_col): Likewise. | |
1163 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1164 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1165 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1166 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1167 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1168 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
1169 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1170 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1171 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1172 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1173 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
1174 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1175 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1176 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1177 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1178 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
1179 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1180 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1181 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1182 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
1183 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1184 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1185 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1186 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1187 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1188 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1189 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1190 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1191 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1192 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
1193 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1194 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1195 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1196 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1197 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1198 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1199 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1200 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1201 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1202 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1203 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1204 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1205 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1206 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1207 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1208 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1209 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1210 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1211 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1212 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1213 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1214 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1215 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1216 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1217 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
1218 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1219 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1220 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1221 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
1222 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1223 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1224 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1225 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1226 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1227 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1228 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1229 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1230 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1231 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1232 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1233 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1234 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1235 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1236 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1237 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1238 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1239 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1240 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1241 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1242 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1243 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1244 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
1245 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
1246 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
1247 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
1248 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
1249 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
1250 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
1251 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
1252 |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
1253 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
1254 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
1255 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
1256 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
1257 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
1258 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
1259 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
1260 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1261 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1262 |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1263 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1264 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1265 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1266 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
1267 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1268 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1269 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1270 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1271 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1272 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1273 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1274 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1275 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
1276 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1277 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1278 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1279 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1280 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1281 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1282 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1283 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1284 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1285 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1286 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1287 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1288 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1289 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
1290 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
1291 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
1292 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
1293 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
1294 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
1295 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
1296 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
1297 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
1298 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
1299 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1300 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1301 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1302 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1303 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1304 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1305 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1306 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1307 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1308 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1309 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1310 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1311 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1312 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1313 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1314 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1315 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1316 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1317 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1318 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1319 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1320 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1321 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1322 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1323 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1324 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1325 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1326 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1327 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1328 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1329 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1330 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1331 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1332 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1333 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
1334 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
1335 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
1336 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
1337 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
1338 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
1339 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
1340 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1341 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1342 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1343 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1344 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1345 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1346 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1347 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1348 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1349 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1350 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1351 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1352 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1353 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1354 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1355 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1356 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1357 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1358 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1359 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1360 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
1361 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1362 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1363 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1364 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1365 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
1366 |
8725 | 1367 2009-02-12 John W. Eaton <jwe@octave.org> |
1368 | |
1369 * lo-traits.h: New file. | |
1370 * Makefile.in (INCLUDES): Add it to the list. | |
1371 | |
1372 * Array.h (compare_fcn_type): New typedef. | |
1373 * oct-sort.h (compare_fcn_type): Ditto. | |
1374 | |
1375 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
1376 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
1377 Use typedef to simplify decl. | |
1378 (octave_sort<T>::ascending_compare, | |
1379 octave_sort<T>::descending_compare): | |
1380 Use ref_param<T>::type for parameter decl. | |
1381 | |
1382 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
1383 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
1384 | |
1385 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
1386 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
1387 all uses. Use typedef for return value to simplify decl. | |
1388 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
1389 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
1390 of sortrows_comparator. | |
1391 | |
1392 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
1393 descending_compare, nan_ascending_compare, | |
1394 nan_descending_compare): | |
1395 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1396 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1397 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1398 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1399 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1400 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1401 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1402 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1403 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1404 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1405 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1406 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1407 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1408 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1409 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1410 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1411 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1412 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1413 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1414 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1415 |
8700 | 1416 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
1417 | |
1418 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
1419 inlined comparison functor and by-the-way indexed sorting. | |
1420 * oct-sort.h (octave_sort<T>): Update interface. | |
1421 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
1422 mechanism. | |
1423 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
1424 Array-i.cc: Reflect changes. | |
1425 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1426 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1427 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1428 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1429 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1430 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1431 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1432 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1433 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1434 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1435 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1436 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1437 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1438 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1439 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1440 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1441 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1442 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1443 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1444 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1445 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1446 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1447 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1448 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1449 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1450 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1451 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1452 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1453 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1454 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1455 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1456 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1457 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1458 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1459 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1460 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1461 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1462 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1463 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1464 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1465 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1466 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1467 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1468 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1469 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1470 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1471 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1472 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1473 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1474 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1475 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1476 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1477 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1478 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1479 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1480 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1481 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1482 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1483 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1484 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1485 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1486 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1487 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1488 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1489 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1490 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1491 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1492 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1493 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1494 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1495 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1496 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1497 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1498 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1499 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1500 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1501 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1502 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1503 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1504 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1505 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1506 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1507 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1508 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1509 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1510 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1511 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1512 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1513 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1514 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1515 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1516 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1517 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1518 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1519 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1520 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1521 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1522 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1523 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1524 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 1525 (Matrix::Matrix (const ColumnVector&)): Ditto. |
1526 (Matrix::row): Ditto. | |
1527 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1528 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1529 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1530 shallow copy. |
8628 | 1531 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
1532 (FloatMatrix::row): Ditto. | |
1533 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1534 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1535 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1536 Use shallow copy. |
8628 | 1537 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
1538 (ComplexMatrix::row): Ditto. | |
1539 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1540 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1541 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1542 Use shallow copy. |
8628 | 1543 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
1544 (FloatComplexMatrix::row): Ditto. | |
1545 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1546 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1547 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1548 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1549 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1550 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1551 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1552 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1553 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1554 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1555 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1556 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1557 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1558 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1559 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1560 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1561 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1562 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1563 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1564 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1565 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1566 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1567 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1568 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1569 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1570 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1571 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1572 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1573 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1574 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1575 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1576 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1577 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1578 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1579 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1580 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1581 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1582 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1583 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1584 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1585 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1586 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1587 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1588 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1589 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1590 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1591 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 1592 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1593 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1594 |
8565 | 1595 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
1596 | |
1597 * Range.cc (sort_internal): Add missing test. | |
1598 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1599 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1600 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1601 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1602 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1603 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1604 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1605 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1606 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1607 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1608 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1609 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1610 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1611 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1612 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1613 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1614 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1615 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1616 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1617 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1618 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1619 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1620 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1621 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1622 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1623 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1624 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1625 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1626 |
8549 | 1627 2009-01-20 John W. Eaton <jwe@octave.org> |
1628 | |
1629 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
1630 (class file_stat): Derive from base_file_stat. | |
1631 (class file_fstat): New class, derived from base_file_stat. | |
1632 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1633 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1634 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1635 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1636 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1637 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1638 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1639 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1640 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1641 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1642 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1643 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1644 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1645 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1646 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1647 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1648 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1649 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1650 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1651 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1652 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1653 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1654 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1655 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1656 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1657 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1658 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1659 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1660 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1661 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1662 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1663 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1664 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1665 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1666 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1667 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1668 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1669 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1670 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1671 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1672 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1673 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1674 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1675 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1676 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1677 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1678 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1679 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1680 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1681 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1682 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1683 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1684 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1685 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1686 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1687 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1688 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1689 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1690 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1691 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1692 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1693 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1694 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1695 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1696 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1697 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1698 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1699 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1700 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1701 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1702 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1703 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1704 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1705 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1706 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1707 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1708 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1709 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1710 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1711 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1712 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1713 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1714 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1715 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1716 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 1717 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1718 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1719 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1720 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1721 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1722 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1723 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1724 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1725 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1726 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1727 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1728 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1729 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1730 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1731 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1732 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1733 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1734 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1735 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1736 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1737 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1738 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1739 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1740 |
8521 | 1741 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
1742 | |
1743 * oct-md5.cc: Include <cstdio>. | |
1744 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1745 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1746 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1747 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1748 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1749 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1750 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1751 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1752 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1753 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1754 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1755 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1756 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1757 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1758 |
8410 | 1759 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
1760 | |
1761 * Array.cc (rec_permute_helper): New class. | |
1762 (Array<T>::permute): Rewrite using the recursive algorithm. | |
1763 | |
8403 | 1764 2008-12-12 David Bateman <dbateman@free.fr> |
1765 | |
1766 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
1767 factorization. | |
1768 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1769 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1770 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1771 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1772 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1773 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1774 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1775 |
8397 | 1776 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
1777 | |
1778 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
1779 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1780 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1781 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1782 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1783 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1784 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1785 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1786 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1787 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1788 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1789 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1790 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1791 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1792 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1793 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1794 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1795 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1796 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1797 * 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
|
1798 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1799 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1800 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1801 * 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
|
1802 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1803 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1804 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1805 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1806 * Makefile.in (INCLUDES): Add oct-locbuf.h |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1807 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1808 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
|
1809 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1810 * 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
|
1811 * 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
|
1812 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 1813 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1814 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1815 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1816 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1817 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1818 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1819 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1820 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1821 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1822 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1823 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1824 * 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
|
1825 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1826 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1827 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1828 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
|
1829 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
|
1830 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
|
1831 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
|
1832 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1833 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
|
1834 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1835 * 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
|
1836 (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
|
1837 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
|
1838 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1839 * 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
|
1840 * 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
|
1841 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1842 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1843 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1844 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1845 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1846 * 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
|
1847 (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
|
1848 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
|
1849 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1850 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1851 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
|
1852 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1853 * 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
|
1854 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1855 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1856 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1857 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1858 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1859 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1860 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1861 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1862 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1863 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1864 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1865 |
8369 | 1866 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
1867 | |
1868 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
1869 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1870 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
|
1871 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1872 * 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
|
1873 * 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
|
1874 * 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
|
1875 * 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
|
1876 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1877 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1878 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1879 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1880 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1881 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1882 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1883 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1884 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1885 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1886 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1887 * 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
|
1888 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1889 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1890 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1891 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1892 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1893 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1894 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1895 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1896 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1897 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1898 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1899 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1900 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1901 * 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
|
1902 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1903 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1904 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1905 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1906 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1907 * 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
|
1908 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1909 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1910 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1911 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1912 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1913 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1914 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1915 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1916 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1917 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1918 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1919 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1920 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1921 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1922 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1923 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1924 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1925 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1926 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1927 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1928 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1929 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1930 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1931 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1932 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1933 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1934 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1935 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1936 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1937 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1938 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1939 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1940 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1941 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1942 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1943 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1944 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1945 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1946 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1947 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1948 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1949 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1950 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1951 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1952 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1953 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1954 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1955 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1956 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1957 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1958 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1959 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1960 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1961 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1962 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1963 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1964 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1965 * 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
|
1966 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1967 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1968 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1969 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1970 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1971 (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
|
1972 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1973 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1974 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1975 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1976 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1977 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1978 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1979 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1980 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1981 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1982 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1983 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1984 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1985 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1986 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1987 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1988 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1989 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1990 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1991 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1992 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1993 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1994 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1995 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1996 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1997 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1998 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1999 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2000 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2001 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2002 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2003 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
2004 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2005 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2006 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2007 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2008 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2009 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2010 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
2011 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
|
2012 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2013 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
|
2014 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2015 * 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
|
2016 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2017 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2018 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2019 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2020 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
2021 * 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
|
2022 |
8335 | 2023 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
2024 | |
2025 * DET.h: New source. | |
2026 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
2027 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
2028 * Makefile.in: Reflect changes. | |
2029 * mx-defs.h: Remove DET decls. | |
2030 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
2031 dSparse.h, CSparse.h: Include only DET.h. | |
2032 * dMatrix.cc (Matrix::determinant), | |
2033 fMatrix.cc (FloatMatrix::determinant), | |
2034 CMatrix.cc (ComplexMatrix::determinant), | |
2035 fCMatrix.cc (FloatComplexMatrix::determinant), | |
2036 dSparse.cc (SparseMatrix::determinant), | |
2037 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
2038 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2039 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2040 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2041 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2042 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
|
2043 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
2044 |
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
|
2045 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
|
2046 |
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
|
2047 * 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
|
2048 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
|
2049 |
8324 | 2050 2008-11-14 David Bateman <dbateman@free.fr> |
2051 | |
2052 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
2053 resize_fill_value. | |
2054 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2055 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2056 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2057 * 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
|
2058 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2059 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2060 * 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
|
2061 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
|
2062 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
|
2063 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2064 * 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
|
2065 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
|
2066 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2067 * 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
|
2068 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2069 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2070 * 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
|
2071 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2072 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
2073 |
9501 | 2074 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2075 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2076 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2077 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
2078 |
9501 | 2079 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2080 |
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
|
2081 * 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
|
2082 (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
|
2083 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
|
2084 Array<T>::resize. |
8628 | 2085 (row_norms (const MArray2<T>&, ...)): Ditto. |
2086 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
2087 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
2088 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2089 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2090 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2091 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2092 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2093 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2094 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2095 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2096 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2097 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2098 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2099 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2100 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2101 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2102 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
|
2103 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2104 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
2105 |
9501 | 2106 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2107 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2108 * 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
|
2109 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
2110 * 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
|
2111 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
2112 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2113 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2114 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2115 * 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
|
2116 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2117 * 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
|
2118 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
2119 |
9501 | 2120 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2121 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2122 * 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
|
2123 (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
|
2124 std::abs. |
8628 | 2125 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
2126 |
9501 | 2127 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2128 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2129 * 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
|
2130 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2131 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2132 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2133 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2134 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2135 * 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
|
2136 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2137 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2138 * 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
|
2139 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2140 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2141 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2142 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2143 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2144 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2145 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2146 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2147 * 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
|
2148 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2149 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2150 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
2151 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2152 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
|
2153 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2154 * 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
|
2155 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
|
2156 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
2157 |
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
|
2158 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
|
2159 |
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
|
2160 * 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
|
2161 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
|
2162 (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
|
2163 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
|
2164 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2165 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
|
2166 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2167 * 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
|
2168 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
2169 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2170 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
|
2171 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
2172 * 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
|
2173 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
|
2174 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2175 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
|
2176 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2177 * 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
|
2178 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
2179 |
9501 | 2180 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2181 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2182 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2183 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2184 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2185 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2186 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
2187 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2188 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2189 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2190 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2191 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2192 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
2193 |
9501 | 2194 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2195 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2196 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2197 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
|
2198 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2199 (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
|
2200 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
2201 |
8198 | 2202 2008-10-08 John W. Eaton <jwe@octave.org> |
2203 | |
2204 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
2205 sparse arguments rather than rely on extern function. | |
2206 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2207 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
|
2208 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2209 * 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
|
2210 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
|
2211 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
2212 (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
|
2213 |
9501 | 2214 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2215 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2216 * 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
|
2217 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
2218 |
8187 | 2219 2008-10-06 David Bateman <dbateman@free.fr> |
2220 | |
2221 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
2222 sparse arguments rather than rely on extern function. | |
2223 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2224 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
|
2225 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
2226 * 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
|
2227 |
9501 | 2228 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2229 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2230 * 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
|
2231 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2232 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2233 * 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
|
2234 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2235 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2236 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
2237 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
2238 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
2239 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
2240 * 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
|
2241 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
2242 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
|
2243 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
2244 * 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
|
2245 * 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
|
2246 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
|
2247 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
|
2248 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
2249 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
2250 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
2251 * 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
|
2252 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
2253 * 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
|
2254 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
2255 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
2256 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
|
2257 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
2258 * 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
|
2259 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
2260 |
8182 | 2261 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
2262 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
2263 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
2264 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
2265 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
2266 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
|
2267 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
2268 * 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
|
2269 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
2270 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2271 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2272 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2273 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2274 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2275 (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
|
2276 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2277 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2278 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
2279 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
2280 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
|
2281 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
2282 * 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
|
2283 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
|
2284 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
2285 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
|
2286 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
2287 * 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
|
2288 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
2289 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
|
2290 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
2291 * 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
|
2292 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
|
2293 (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
|
2294 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
2295 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
2296 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
2297 * 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
|
2298 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
2299 (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
|
2300 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
|
2301 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
2302 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
|
2303 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
2304 * 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
|
2305 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
2306 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
2307 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
2308 * 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
|
2309 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
2310 |
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
|
2311 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
|
2312 |
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
|
2313 * 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
|
2314 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
|
2315 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
|
2316 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
|
2317 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
|
2318 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
|
2319 (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
|
2320 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
|
2321 (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
|
2322 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
|
2323 (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
|
2324 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
|
2325 (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
|
2326 (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
|
2327 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
|
2328 (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
|
2329 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
|
2330 (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
|
2331 (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
|
2332 (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
|
2333 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
|
2334 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
|
2335 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
|
2336 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
|
2337 (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
|
2338 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
|
2339 (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
|
2340 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
|
2341 octave_int<T>&, float)): New functions. |
8040 | 2342 |
2343 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
|
2344 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
2345 * 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
|
2346 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
2347 |
8040 | 2348 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
|
2349 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
2350 * 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
|
2351 (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
|
2352 |
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
|
2353 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
|
2354 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
2355 * 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
|
2356 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
2357 * 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
|
2358 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
|
2359 |
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
|
2360 * 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
|
2361 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
|
2362 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2363 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
|
2364 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
2365 * 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
|
2366 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
|
2367 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
2368 * 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
|
2369 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
|
2370 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2371 * 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
|
2372 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2373 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2374 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
|
2375 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2376 * 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
|
2377 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
|
2378 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2379 (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
|
2380 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
|
2381 (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
|
2382 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2383 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2384 * 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
|
2385 (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
|
2386 * 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
|
2387 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2388 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2389 (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
|
2390 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2391 (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
|
2392 (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
|
2393 (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
|
2394 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
|
2395 (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
|
2396 (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
|
2397 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2398 * 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
|
2399 |
7999 | 2400 2008-07-30 John W. Eaton <jwe@octave.org> |
2401 | |
2402 * oct-inttypes.h: Style fixes. | |
2403 | |
8040 | 2404 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2405 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2406 * 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
|
2407 (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
|
2408 member functions. |
7999 | 2409 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
2410 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2411 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2412 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2413 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2414 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
|
2415 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2416 * 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
|
2417 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
|
2418 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2419 (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
|
2420 (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
|
2421 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2422 (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
|
2423 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
|
2424 * 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
|
2425 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2426 (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
|
2427 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
|
2428 * 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
|
2429 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
|
2430 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
|
2431 |
8040 | 2432 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 2433 |
2434 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
2435 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2436 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
|
2437 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2438 * 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
|
2439 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
|
2440 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2441 * 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
|
2442 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
|
2443 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2444 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
|
2445 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2446 * 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
|
2447 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2448 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2449 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2450 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2451 (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
|
2452 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2453 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2454 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2455 (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
|
2456 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2457 (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
|
2458 * 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
|
2459 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2460 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2461 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2462 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2463 * 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
|
2464 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2465 * 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
|
2466 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2467 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2468 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2469 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2470 * 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
|
2471 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2472 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2473 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
|
2474 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2475 * 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
|
2476 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2477 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2478 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2479 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2480 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
|
2481 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2482 * 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
|
2483 (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
|
2484 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2485 (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
|
2486 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2487 |
7934 | 2488 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
2489 | |
2490 * oct-mutex.h, oct-mutex.cc: New files. | |
2491 * Makefile.in: Add them to appropriate lists. | |
2492 | |
7929 | 2493 2008-07-15 John W. Eaton <jwe@octave.org> |
2494 | |
2495 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
2496 descending arg as bool&. | |
2497 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
2498 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2499 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
|
2500 |
7924 | 2501 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
2502 number of rows or columns is 0. | |
2503 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
2504 | |
2505 * Array-util.cc (is_vector): Avoid GCC warning. | |
2506 * Array-f.cc (Array<float>::sort): Likewise. | |
2507 * Array-d.cc (Array<double>::sort): Likewise. | |
2508 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
2509 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
2510 ComplexMatrix&)): Likewise. | |
2511 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
2512 FloatMatrix&)): Likewise. | |
2513 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
2514 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
2515 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
2516 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
2517 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
2518 FloatIndefQuad::do_integrate): Likewise. | |
2519 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2520 * 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
|
2521 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
|
2522 * 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
|
2523 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2524 * 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
|
2525 * 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
|
2526 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2527 * 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
|
2528 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
|
2529 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
|
2530 * 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
|
2531 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
|
2532 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2533 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2534 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
|
2535 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2536 * 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
|
2537 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2538 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2539 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2540 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
|
2541 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2542 * 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
|
2543 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2544 |
8040 | 2545 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
|
2546 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2547 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2548 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2549 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
|
2550 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2551 * 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
|
2552 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2553 |
7885 | 2554 2008-06-11 John W. Eaton <jwe@octave.org> |
2555 | |
2556 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
2557 * Makefile.in: Remove them from the lists. | |
2558 | |
7872 | 2559 2008-06-05 John W. Eaton <jwe@octave.org> |
2560 | |
2561 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
2562 counter if iterator is valid. | |
2563 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2564 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
|
2565 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2566 * 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
|
2567 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
|
2568 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
|
2569 * 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
|
2570 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
|
2571 * 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
|
2572 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
|
2573 (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
|
2574 (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
|
2575 (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
|
2576 * 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
|
2577 * 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
|
2578 (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
|
2579 (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
|
2580 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2581 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2582 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2583 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2584 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2585 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2586 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2587 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2588 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2589 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2590 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2591 * 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
|
2592 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2593 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2594 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2595 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2596 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2597 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2598 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2599 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2600 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2601 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2602 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2603 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2604 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2605 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2606 |
8040 | 2607 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 2608 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2609 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2610 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2611 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2612 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2613 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2614 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2615 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2616 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2617 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2618 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2619 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2620 |
7803 | 2621 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
2622 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2623 * 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
|
2624 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2625 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2626 (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
|
2627 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2628 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2629 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2630 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2631 * 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
|
2632 * 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
|
2633 |
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
|
2634 * 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
|
2635 * 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
|
2636 (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
|
2637 (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
|
2638 * 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
|
2639 * 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
|
2640 (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
|
2641 (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
|
2642 |
7799 | 2643 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
2644 New template functions. | |
2645 (MatrixType::MatrixType (const Matrix&), | |
2646 MatrixType::MatrixType (const FloatMatrix&)): | |
2647 just call matrix_real_probe. | |
2648 (MatrixType::MatrixType (const ComplexMatrix&), | |
2649 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
2650 just call matrix_complex_probe. | |
2651 | |
2652 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
2653 add missing test for Unknown. | |
2654 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2655 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
|
2656 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2657 * 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
|
2658 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2659 (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
|
2660 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2661 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2662 * 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
|
2663 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2664 (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
|
2665 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2666 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2667 * 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
|
2668 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2669 (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
|
2670 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2671 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2672 * 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
|
2673 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2674 (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
|
2675 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2676 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2677 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2678 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2679 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2680 * 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
|
2681 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
|
2682 (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
|
2683 * 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
|
2684 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
|
2685 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2686 * 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
|
2687 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2688 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2689 * 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
|
2690 (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
|
2691 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2692 * 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
|
2693 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2694 * 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
|
2695 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2696 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2697 * 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
|
2698 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
|
2699 * 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
|
2700 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2701 * 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
|
2702 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2703 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2704 * 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
|
2705 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
|
2706 * 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
|
2707 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2708 * 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
|
2709 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2710 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2711 * 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
|
2712 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
|
2713 * 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
|
2714 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2715 * 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
|
2716 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2717 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2718 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2719 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2720 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
|
2721 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
|
2722 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2723 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2724 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2725 * 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
|
2726 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2727 (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
|
2728 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2729 * 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
|
2730 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2731 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2732 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2733 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2734 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2735 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2736 * 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
|
2737 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2738 * 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
|
2739 * 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
|
2740 * 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
|
2741 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2742 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2743 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2744 * 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
|
2745 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2746 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2747 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2748 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2749 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2750 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2751 * 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
|
2752 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2753 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2754 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2755 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2756 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2757 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2758 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2759 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2760 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2761 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2762 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2763 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2764 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2765 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2766 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2767 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2768 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2769 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2770 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2771 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2772 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2773 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2774 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2775 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2776 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2777 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2778 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2779 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2780 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2781 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2782 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2783 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2784 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2785 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2786 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2787 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2788 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2789 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2790 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2791 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2792 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2793 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2794 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2795 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2796 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2797 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2798 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2799 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2800 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2801 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2802 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2803 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2804 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2805 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2806 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2807 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2808 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2809 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2810 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2811 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2812 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2813 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2814 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2815 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2816 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2817 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2818 * 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
|
2819 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2820 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2821 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2822 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2823 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2824 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2825 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
|
2826 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2827 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
|
2828 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2829 * 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
|
2830 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2831 * 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
|
2832 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
|
2833 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2834 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
|
2835 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
|
2836 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
|
2837 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
|
2838 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
|
2839 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
|
2840 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2841 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2842 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
|
2843 |
7788 | 2844 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
2845 to avoid shadowed variable warning | |
2846 (double ComplexMatrix::rcond (void) const): New method for | |
2847 reciprocal condition number calculation. | |
2848 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2849 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
2850 to avoid shadowed variable warning | |
2851 (double ComplexMatrix::rcond (void) const): New method for | |
2852 reciprocal condition number calculation. | |
2853 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2854 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
2855 to avoid shadowed variable warning | |
2856 (double Matrix::rcond (void) const): New method for | |
2857 reciprocal condition number calculation. | |
2858 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2859 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
2860 to avoid shadowed variable warning | |
2861 (double Matrix::rcond (void) const): New method for | |
2862 reciprocal condition number calculation. | |
2863 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2864 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2865 * 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
|
2866 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2867 * 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
|
2868 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2869 |
7776 | 2870 2008-05-19 David Bateman <dbateman@free.fr> |
2871 | |
2872 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
2873 incorrectly used. | |
2874 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2875 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2876 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2877 * 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
|
2878 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
|
2879 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2880 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2881 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
|
2882 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2883 * 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
|
2884 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
|
2885 * 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
|
2886 (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
|
2887 * 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
|
2888 * 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
|
2889 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2890 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
|
2891 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2892 * 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
|
2893 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2894 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
|
2895 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2896 * 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
|
2897 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
|
2898 * 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
|
2899 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2900 (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
|
2901 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2902 (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
|
2903 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
|
2904 (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
|
2905 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
|
2906 |
8040 | 2907 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 2908 |
2909 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
2910 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
2911 New functions. | |
2912 * lo-mappers.h: Provide decls. | |
2913 | |
9501 | 2914 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2915 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2916 * 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
|
2917 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
|
2918 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2919 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
|
2920 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2921 * 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
|
2922 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2923 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
|
2924 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2925 * 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
|
2926 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2927 |
8040 | 2928 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
|
2929 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2930 * 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
|
2931 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2932 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
|
2933 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2934 * 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
|
2935 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2936 * 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
|
2937 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2938 * 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
|
2939 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2940 * 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
|
2941 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2942 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2943 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2944 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2945 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2946 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
|
2947 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2948 * 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
|
2949 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
|
2950 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2951 |
8040 | 2952 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2953 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2954 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2955 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2956 * 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
|
2957 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2958 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2959 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2960 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2961 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
|
2962 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2963 * 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
|
2964 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2965 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2966 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2967 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2968 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2969 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2970 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2971 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2972 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2973 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
|
2974 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2975 * 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
|
2976 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2977 * 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
|
2978 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2979 * 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
|
2980 |
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
|
2981 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
|
2982 |
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
|
2983 * 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
|
2984 (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
|
2985 * 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
|
2986 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
|
2987 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
|
2988 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2989 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
|
2990 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2991 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2992 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2993 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2994 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
|
2995 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2996 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2997 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2998 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2999 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3000 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
3001 |
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
|
3002 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
|
3003 |
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
|
3004 * 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
|
3005 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
|
3006 |
7619 | 3007 2008-03-21 David Bateman <dbateman@free.fr> |
3008 | |
3009 * oct-sparse.h: Add headers for amd.h. | |
3010 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3011 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
|
3012 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3013 * 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
|
3014 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3015 * 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
|
3016 * 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
|
3017 * 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
|
3018 * 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
|
3019 * 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
|
3020 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3021 * 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
|
3022 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3023 * 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
|
3024 * 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
|
3025 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3026 * 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
|
3027 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3028 * 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
|
3029 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3030 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3031 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3032 * 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
|
3033 * 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
|
3034 * 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
|
3035 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3036 * 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
|
3037 * 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
|
3038 * 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
|
3039 * 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
|
3040 * 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
|
3041 * 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
|
3042 * 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
|
3043 * 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
|
3044 * 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
|
3045 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3046 * 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
|
3047 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
|
3048 * 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
|
3049 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3050 * 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
|
3051 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3052 * 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
|
3053 * 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
|
3054 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
|
3055 * 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
|
3056 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3057 * 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
|
3058 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
|
3059 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3060 * 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
|
3061 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
|
3062 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3063 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3064 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3065 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3066 * 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
|
3067 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3068 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3069 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3070 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3071 * 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
|
3072 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3073 * 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
|
3074 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3075 * 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
|
3076 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3077 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3078 * 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
|
3079 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3080 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
3081 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3082 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
|
3083 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3084 * 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
|
3085 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
3086 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3087 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
|
3088 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
3089 * 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
|
3090 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
|
3091 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3092 * 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
|
3093 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3094 * 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
|
3095 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
3096 * 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
|
3097 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
|
3098 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
|
3099 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
|
3100 * 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
|
3101 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
|
3102 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
|
3103 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3104 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3105 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
3106 * 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
|
3107 * 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
|
3108 * 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
|
3109 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
3110 * 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
|
3111 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
3112 * 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
|
3113 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
3114 * 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
|
3115 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
|
3116 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
3117 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
|
3118 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
3119 * 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
|
3120 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
3121 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3122 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
|
3123 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3124 * 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
|
3125 * 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
|
3126 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
|
3127 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
3128 (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
|
3129 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
|
3130 (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
|
3131 (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
|
3132 (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
|
3133 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3134 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3135 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3136 * 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
|
3137 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
3138 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
|
3139 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
|
3140 (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
|
3141 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3142 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
|
3143 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
3144 * 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
|
3145 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
|
3146 * 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
|
3147 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
|
3148 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3149 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3150 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
3151 * 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
|
3152 * 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
|
3153 * 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
|
3154 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3155 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3156 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3157 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3158 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3159 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3160 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3161 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3162 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
3163 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3164 * 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
|
3165 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3166 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3167 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3168 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3169 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3170 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3171 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3172 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3173 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
3174 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3175 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
|
3176 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3177 * 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
|
3178 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
3179 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
3180 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
|
3181 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
3182 * 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
|
3183 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
|
3184 |
7545 | 3185 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3186 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3187 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3188 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3189 calculation of nlvl. |
7545 | 3190 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
3191 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
3192 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
|
3193 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
3194 * 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
|
3195 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3196 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
|
3197 |
7536 | 3198 * oct-rand.cc (get_dist_id): Fix typo. |
3199 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
3200 fill_rand): Improve error messages. | |
3201 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
3202 * 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
|
3203 (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
|
3204 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
|
3205 (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
|
3206 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3207 * 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
|
3208 (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
|
3209 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
|
3210 (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
|
3211 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
|
3212 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
|
3213 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
|
3214 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
|
3215 (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
|
3216 (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
|
3217 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3218 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3219 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3220 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
3221 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
|
3222 (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
|
3223 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
|
3224 (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
|
3225 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3226 * 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
|
3227 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
3228 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3229 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
|
3230 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3231 * 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
|
3232 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3233 (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
|
3234 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
|
3235 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3236 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3237 * 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
|
3238 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
|
3239 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
3240 |
7520 | 3241 2008-02-22 John W. Eaton <jwe@octave.org> |
3242 | |
3243 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
3244 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
3245 sparse-dmsolve.cc: Use 0 instead of NULL. | |
3246 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3247 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
|
3248 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3249 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3250 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3251 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3252 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3253 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3254 * 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
|
3255 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3256 * 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
|
3257 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
|
3258 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
|
3259 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3260 * 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
|
3261 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
|
3262 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
|
3263 (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
|
3264 * 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
|
3265 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3266 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3267 * 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
|
3268 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
|
3269 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3270 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3271 * 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
|
3272 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3273 * 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
|
3274 * 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
|
3275 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3276 (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
|
3277 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3278 * 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
|
3279 (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
|
3280 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
3281 * 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
|
3282 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
3283 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
|
3284 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
3285 * 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
|
3286 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
|
3287 (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
|
3288 * 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
|
3289 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
|
3290 (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
|
3291 * 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
|
3292 * 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
|
3293 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3294 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
|
3295 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3296 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3297 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3298 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3299 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3300 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3301 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3302 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3303 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3304 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3305 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3306 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3307 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3308 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3309 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3310 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3311 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3312 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3313 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3314 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3315 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3316 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3317 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3318 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3319 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3320 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3321 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3322 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3323 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3324 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3325 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3326 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3327 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3328 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3329 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3330 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3331 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3332 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3333 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3334 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3335 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3336 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3337 (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
|
3338 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3339 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3340 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3341 (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
|
3342 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3343 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3344 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3345 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3346 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3347 * 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
|
3348 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3349 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3350 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3351 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3352 * 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
|
3353 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
|
3354 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
3355 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3356 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
|
3357 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3358 * 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
|
3359 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
|
3360 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
|
3361 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
|
3362 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
|
3363 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
|
3364 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3365 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
3366 |
7477 | 3367 2008-02-12 John W. Eaton <jwe@octave.org> |
3368 | |
3369 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
3370 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
3371 | |
7476 | 3372 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
3373 | |
7480 | 3374 * Array.cc (ascending_compare, descending_compare): Remove |
3375 non-standard extern in the instantiations. | |
3376 | |
3377 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
3378 | |
7476 | 3379 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
3380 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
3381 workaround for DGELSD's broken lwork query. The formula is from | |
3382 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
3383 efficient algorithm in the short-and-fat case (n > m). | |
3384 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
3385 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
3386 ugly workaround for DGELSD's broken lwork query, as with double. | |
3387 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3388 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3389 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3390 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3391 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3392 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3393 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3394 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3395 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3396 * 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
|
3397 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3398 * 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
|
3399 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3400 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
|
3401 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3402 * 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
|
3403 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3404 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3405 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3406 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3407 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3408 |
7457 | 3409 2008-02-07 John W. Eaton <jwe@octave.org> |
3410 | |
7458 | 3411 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
3412 ASCENDING, with default value of true. | |
3413 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
3414 (Range::sort (octave_idx_type, sortmode) const): New function. | |
3415 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
3416 const): New function. | |
3417 * Range.h: Fix/provide decls. | |
3418 | |
7457 | 3419 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
3420 | |
7449 | 3421 2008-02-06 John W. Eaton <jwe@octave.org> |
3422 | |
3423 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
3424 (stamp-prereq): Eliminate. | |
3425 (clean): Don't remove stamp-prereq. | |
3426 (libraries): Don't depend on stamp-prereq. | |
3427 (PREREQ): New macro. | |
3428 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
3429 (distclean): Simplify with $(PREREQ). | |
3430 (OPT_BASE): New macro. | |
3431 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
3432 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
3433 | |
7448 | 3434 2008-02-05 John W. Eaton <jwe@octave.org> |
3435 | |
3436 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
3437 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
3438 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3439 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 3440 |
3441 * Array.cc (ascending_compare, descending_compare, | |
3442 Array<T>::sort): Declare explicit specialization for T=double to | |
3443 avoid symbol duplication error at link time. | |
3444 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
3445 define as nonmember functions, not member functions of Array<T>. | |
3446 | |
7442 | 3447 2008-02-03 John W. Eaton <jwe@octave.org> |
3448 | |
3449 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
3450 | |
3451 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
3452 | |
3453 * Array.cc: Don't include Range.h. | |
3454 | |
7433 | 3455 2008-01-31 David Bateman <dbateman@free.fr> |
3456 | |
3457 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
3458 for 64-bit builds. | |
3459 (IFLT): Allow IFLT macro to be overridden. | |
3460 * oct-sort.h: conversion of int to octave_idx_type where needed | |
3461 for 64-bit builds. | |
3462 (enum sortmode): Type of sort to perform. | |
3463 (vec_index): Simple class to aid in indexed sorts. | |
3464 | |
3465 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
3466 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3467 sortmode) const): Array sorting methods. | |
3468 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
3469 instantiate the array sorting methods. | |
3470 * Array.cc (ascending_compare, descending_compare): New template | |
3471 functions for generic sort comparison. | |
3472 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
3473 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
3474 sortmode) const): Array sorting functions based of octave_sort | |
3475 class. | |
3476 * Array-C.cc: Instantiate the complex array sort methods. | |
3477 (IFLT): New macro to override the one in the | |
3478 octave_sort class to avoid need for Complex < and > operators. | |
3479 (static double xabs (const Complex&)): Complex abs function | |
3480 avoiding std::abs(Inf) returning NaN with some compilers. | |
3481 (ascending_compare, descending compare): override template | |
3482 functions for complex comparison. | |
3483 * Array-d.cc: Instantiate the double array sort methods. | |
3484 (Array<double> Array<double>::sort (octave_idx_type, | |
3485 sortmode) const, Array<double> Array<double>::sort | |
3486 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
3487 Array sorting functions based of octave_sort using uint64 sorting | |
3488 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
3489 (ascending_compare, descending compare): override template | |
3490 functions for double and uint64 comparison. | |
3491 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
3492 Instantiate the array sort methods. | |
3493 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
3494 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
3495 versions of the sort methods based on Array<T>::sort. | |
3496 | |
3497 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
3498 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
3499 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3500 sortmode) const): Sparse sorting methods. | |
3501 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
3502 methods. | |
3503 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
3504 of new sort method. | |
3505 (sparse_ascending_compare, sparse_descending_compare): New template | |
3506 functions for generic sort comparison. | |
3507 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
3508 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
3509 sortmode) const): Sparse sorting functions based of octave_sort | |
3510 class. | |
3511 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
3512 (IFLT): New macro to override the one in the | |
3513 octave_sort class to avoid need for Complex < and > operators. | |
3514 (static double xabs (const Complex&)): Complex abs function | |
3515 avoiding std::abs(Inf) returning NaN with some compilers. | |
3516 (sparse_ascending_compare, sparse_descending compare): override | |
3517 template functions for complex comparison. | |
3518 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
3519 (sparse_ascending_compare, sparse_descending compare): override | |
3520 template functions for double comparison. | |
3521 * Array-b.cc: Instantiate the sparse sort methods. | |
3522 | |
7422 | 3523 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
3524 | |
3525 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
3526 idx_vector::idx_vector_rep::range_step, | |
3527 idx_vector::idx_vector_rep::range_step): New data members. | |
3528 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
3529 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
3530 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
3531 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
3532 | |
7416 | 3533 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
3534 | |
3535 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
3536 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
3537 | |
7408 | 3538 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 3539 |
3540 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
3541 this fixes the "localtime(-1)" crash under Windows. | |
3542 | |
7400 | 3543 2008-01-18 John W. Eaton <jwe@octave.org> |
3544 | |
3545 * dMatrix.cc (solve_singularity_warning): New function. | |
3546 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
3547 Matrix::solve method. Exit early if Matrix::solve fails. | |
3548 Limit sqpow value to avoid overflowing scale factor. | |
3549 * CMatrix.cc (solve_singularity_warning): New function. | |
3550 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
3551 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
3552 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 3553 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 3554 |
7356 | 3555 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
3556 | |
3557 * Sparse.cc: New tests for slicing of sparse matrices. | |
3558 | |
7350 | 3559 2008-01-07 David Bateman <dbateman@free.fr> |
3560 | |
3561 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
3562 loop if this test succeeds. | |
3563 | |
7342 | 3564 2008-01-03 David Bateman <dbateman@free.fr> |
3565 | |
3566 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
3567 need unary operator on remaining argument | |
3568 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
3569 | |
7334 | 3570 2007-12-21 John W. Eaton <jwe@octave.org> |
3571 | |
3572 Version 3.0.0 released. | |
3573 | |
7322 | 3574 2007-12-18 David Bateman <dbateman@free.fr> |
3575 | |
3576 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
3577 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
3578 stored as a sparse matrix. | |
3579 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
3580 idx_vector&, int) const): For the non permutated indexing case, | |
3581 fix link list calculation and use. | |
3582 | |
7321 | 3583 2007-12-17 John W. Eaton <jwe@octave.org> |
3584 | |
3585 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
3586 N-d array. | |
3587 | |
7318 | 3588 2007-12-17 David Bateman <dbateman@free.fr> |
3589 | |
3590 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
3591 index. | |
3592 | |
7299 | 3593 2007-12-11 John W. Eaton <jwe@octave.org> |
3594 | |
3595 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
3596 If indexing scalar with empty matrix, return empty array with same | |
3597 size as index. | |
3598 | |
7272 | 3599 2007-12-10 John W. Eaton <jwe@octave.org> |
3600 | |
7279 | 3601 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
3602 and assignment operator. | |
3603 (NLEqn::function_value): New function. | |
3604 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
3605 function value. | |
3606 | |
7272 | 3607 * file-ops.cc (file_ops::concat): New function. |
3608 * file-ops.h: Provide decl. | |
3609 | |
7270 | 3610 2007-12-07 John W. Eaton <jwe@octave.org> |
3611 | |
3612 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
3613 is not 0. | |
3614 | |
7269 | 3615 2007-12-07 David Bateman <dbateman@free.fr> |
3616 | |
3617 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
3618 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
3619 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
3620 indexing where possible rather than the elem method. | |
3621 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
3622 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
3623 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
3624 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
3625 = 0 directly. | |
3626 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
3627 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
3628 SPARSE_BASE_REDUCTION_OP. | |
3629 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
3630 Specialize the initial value, and only treat dim = 0 directly. | |
3631 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
3632 ditto. | |
3633 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
3634 | |
7265 | 3635 2007-12-06 John W. Eaton <jwe@octave.org> |
3636 | |
3637 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
3638 data for npp and dpp after assignments. | |
3639 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
3640 | |
7253 | 3641 2007-12-04 John W. Eaton <jwe@octave.org> |
3642 | |
3643 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3644 Do nothing if one index is empty. | |
3645 | |
7246 | 3646 2007-12-04 David Bateman <dbateman@free.fr> |
3647 | |
3648 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3649 Resize matrix as well if one dimension of lhs is zero and the rhs | |
3650 index exceeds the lhs index. | |
3651 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
3652 Don't resize to a smaller matrix for empty matrices with a max rhs | |
3653 index smaller than the non zero lhs index. | |
3654 | |
3655 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
3656 | |
3657 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
3658 | |
7241 | 3659 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
3660 | |
3661 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
3662 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
3663 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
3664 | |
7238 | 3665 2007-12-03 David Bateman <dbateman@free.fr> |
3666 | |
3667 * Sparse.cc (template <class LT, class RT> int assign | |
3668 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
3669 rhs values if both no. rows and columns are zero. | |
3670 | |
7231 | 3671 2007-11-30 John W. Eaton <jwe@octave.org> |
3672 | |
7234 | 3673 * oct-sort.cc, oct-sort.h: Style fixes. |
3674 | |
7231 | 3675 * lo-math.h: New file. |
3676 * Makefile.in (INCLUDES): Add it to the list. | |
3677 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
3678 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
3679 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
3680 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
3681 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
3682 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
3683 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
3684 liboctave/oct-time.h, liboctave/randgamma.c, | |
3685 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
3686 instead of cmath or math.h. | |
3687 * lo-mappers.h: Don't include sunmath.h here. | |
3688 | |
7198 | 3689 2007-11-26 John W. Eaton <jwe@octave.org> |
3690 | |
3691 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
3692 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
3693 | |
3694 * oct-inttypes.h (operator bool, operator char): Delete. | |
3695 (bool_value, char_value, double_value, float_value): New functions. | |
3696 | |
7189 | 3697 2007-11-26 David Bateman <dbateman@free.fr> |
3698 | |
3699 * intNDArray.cc (template <class T> intNDArray<T> | |
3700 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
3701 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
3702 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
3703 template <class T> intNDArray<T> intNDArray<T>::min | |
3704 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
3705 classes. | |
3706 * intNDArray.h (class intNDArray): Add min/max methods | |
3707 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
3708 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
3709 min/max functions. | |
3710 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3711 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3712 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
3713 types. | |
3714 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3715 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3716 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
3717 types. | |
3718 | |
3719 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
3720 const T& rfv) const): If ndims != 2 call ND version of index. | |
3721 | |
7176 | 3722 2007-11-14 John W. Eaton <jwe@octave.org> |
3723 | |
7178 | 3724 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
3725 | |
7176 | 3726 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
3727 correction to half-integer values. From Eric Chassande-Mottin | |
3728 <echassandemottin@gmail.com>. | |
3729 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3730 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 3731 |
3732 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
3733 ambiguities related to math functions (in C++ mode). | |
3734 | |
7102 | 3735 2007-11-06 David Bateman <dbateman@free.fr> |
3736 | |
7113 | 3737 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
3738 New method. | |
3739 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
3740 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
3741 New method. | |
3742 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 3743 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
3744 norm to avoid issues of over- and underflow. From Rolf Fabian | |
3745 <Rolf.Fabian@gmx.de>. | |
3746 | |
7081 | 3747 2007-10-30 David Bateman <dbateman@free.fr> |
3748 | |
3749 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
3750 | |
7079 | 3751 2007-10-30 John W. Eaton <jwe@octave.org> |
3752 | |
3753 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
3754 * dMatrix.cc (lssolve): Compute size of iwork array. | |
3755 | |
7076 | 3756 2007-10-29 David Bateman <dbateman@free.fr> |
3757 | |
3758 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3759 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3760 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3761 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3762 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3763 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3764 declarations. | |
3765 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3766 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3767 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3768 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3769 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3770 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3771 methods. | |
3772 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3773 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3774 octave_idx_type&, double&) const): Also return rcond from the | |
3775 singular values returned by XGELSD. | |
3776 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3777 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3778 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3779 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3780 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3781 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3782 declarations. | |
3783 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3784 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3785 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3786 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3787 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3788 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3789 methods. | |
3790 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3791 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3792 octave_idx_type&, double&) const): Also return rcond from the | |
3793 singular values returned by XGELSD. | |
3794 | |
7072 | 3795 2007-10-26 David Bateman <dbateman@free.fr> |
3796 | |
3797 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
3798 matrices to avoid reliability issues with xGELSY. | |
3799 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 3800 |
7065 | 3801 2007-10-25 John W. Eaton <jwe@octave.org> |
3802 | |
3803 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
3804 Call unix_time on arg instead of relying on conversion operator. | |
3805 | |
3806 * oct-time.h (octave_time::double_value): New function. | |
3807 (octave_time::operator double () const): Delete. | |
3808 (octave_time::operator time_t () const): Delete. | |
3809 | |
7058 | 3810 2007-10-24 John W. Eaton <jwe@octave.org> |
3811 | |
3812 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
3813 | |
7052 | 3814 2007-10-23 John W. Eaton <jwe@octave.org> |
3815 | |
3816 * CRowVector.cc (operator * const ComplexRowVector&, const | |
3817 ComplexColumnVector&)): Delete spurious code left from patch. | |
3818 | |
7048 | 3819 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
3820 | |
3821 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
3822 sparse-sort.cc: Include <cstring>. | |
3823 | |
7036 | 3824 2007-10-17 John W. Eaton <jwe@octave.org> |
3825 | |
3826 * oct-sparse.h: Don't include metis.h. | |
3827 | |
3828 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
3829 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3830 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
3831 p_type>::sparse_base_chol_rep::init): Likewise. | |
3832 | |
7033 | 3833 2007-10-16 John W. Eaton <jwe@octave.org> |
3834 | |
3835 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
3836 matrix is hermitian or calc_cond is true. | |
3837 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3838 | |
7016 | 3839 2007-10-12 John W. Eaton <jwe@octave.org> |
3840 | |
3841 * Change copyright notices in all files that are part of Octave to | |
3842 GPLv3 or any later version. | |
3843 | |
7007 | 3844 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
3845 | |
3846 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
3847 | |
7001 | 3848 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
3849 | |
3850 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
3851 | |
7000 | 3852 2007-10-10 John W. Eaton <jwe@octave.org> |
3853 | |
3854 * LPsolve.h, LPsolve.cc: Delete. | |
3855 * Makefile.in: Remove them from the INCLUDES and | |
3856 LIBOCTAVE_CXX_SOURCES lists. | |
3857 | |
6989 | 3858 2007-10-09 John W. Eaton <jwe@octave.org> |
3859 | |
6996 | 3860 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
3861 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
3862 values to zero after call if they remain unchanged. | |
3863 | |
6989 | 3864 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
3865 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
3866 | |
6988 | 3867 2007-10-09 David Bateman <dbateman@free.fr> |
3868 | |
6995 | 3869 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
3870 valud and mon and year are also filled in. | |
3871 | |
6990 | 3872 * Array2.h (Array2<T>::Array2(const dim_vector&), |
3873 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
3874 dim_vector is 2 dimensional. | |
3875 | |
6988 | 3876 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
3877 int)): Remove a for loop in the random indexing case at the | |
3878 expense of maintaining a set of linked lists of indices that point | |
3879 to the same column in the original matrix. | |
3880 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
3881 and use it on the RHS of expressions to avoid unnecessary calls to | |
3882 make_unique. | |
3883 | |
6979 | 3884 2007-10-08 David Bateman <dbateman@free.fr> |
3885 | |
3886 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
3887 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
3888 for readline compatible functions. | |
3889 (octave_rl_redisplay): Redisplay the current line of text. | |
3890 (octave_rl_newline): Change interface to the same | |
3891 as used by the equivalent readline function itself. | |
3892 (octave_rl_filename_quoting_desired, | |
3893 octave_rl_set_filename_quote_characters, | |
3894 octave_rl_set_completer_quote_characters, | |
3895 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3896 octave_rl_set_char_is_quoted_function): New functions to control | |
3897 readline filename quoting and line acceptace. | |
3898 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
3899 as used by the equivalent readline function itself. | |
3900 (octave_rl_redisplay): Redisplay the current line of text. | |
3901 (octave_rl_filename_quoting_desired, | |
3902 octave_rl_set_filename_quote_characters, | |
3903 octave_rl_set_completer_quote_characters, | |
3904 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3905 octave_rl_set_char_is_quoted_function): New functions to control | |
3906 readline filename quoting and line acceptace. | |
3907 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
3908 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
3909 to map C++ function to readline compatible functions. | |
3910 (set_filename_quote_characters): New function to set the | |
3911 characters to if they appear in a filename that force the filename | |
3912 to be quoted. | |
3913 (set_completer_quote_characters): The characters that the readline | |
3914 completion function considers as quotation characters. | |
3915 (set_quoting_function, set_dequoting_function, | |
3916 set_char_is_quoted_function, set_user_accept_line_function): | |
3917 Functions to set the Octave functions to perform quoting and the | |
3918 acceptance of a line of text by readline. | |
3919 (get_quoting_function, get_dequoting_function, | |
3920 get_char_is_quoted_function, get_user_accept_line_function): | |
3921 Functions to get the above functions. | |
3922 (accept_line): New method for the command_editor to accept a line | |
3923 of text. | |
3924 (file_quoting_desired): Function to set whether readline should | |
3925 attempt to quote filenames. | |
3926 (do_set_filename_quoting_characters, | |
3927 do_set_completer_quote_characters, do_set_quoting_function, | |
3928 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3929 do_set_user_accept_line_function, do_get_quoting_function, | |
3930 do_get_dequoting_function, do_get_char_is_quoted_function, | |
3931 do_get_user_accept_line_function, do_filename_quoting_desired): | |
3932 Virtual functions to control the behavior of readline quoting and | |
3933 acceptance of lines. | |
3934 (do_accept_line): Virtual function for the accept line function. | |
3935 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
3936 do_completer_quote_characters, do_set_quoting_function, | |
3937 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3938 do_set_user_accept_line_function, do_get_quoting_function, | |
3939 do_get_dequoting_function, do_get_user_accept_line_function, | |
3940 do_accept_line, do_filename_quoting_desired, command_quoter, | |
3941 command_dequoter, command_char_is_quoted, command_accept_line): | |
3942 New functions in gnu_readline class to control filename quoting | |
3943 and line acceptance. | |
3944 (quoting_function, dequoting_function, char_is_quoted_function, | |
3945 user_accept_line_function): private variable to store functions | |
3946 supplied for readline quoting and line acceptance. | |
3947 (gnu_readline::gnu_readline): Also set the new function pointers | |
3948 to zero. | |
3949 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
3950 interface. | |
3951 (gnu_readeline::operate_and_get_next): Use new accept_line | |
3952 function rather than newline. | |
3953 (default_ommand_editor::do_accept_line): New method. | |
3954 (class command_editor set_filename_quote_characters, | |
3955 set_completer_quote_characters, set_quoting_function, | |
3956 set_dequoting_function, set_char_is_quoted_function, | |
3957 set_user_accept_line_function, get_quoting_function, | |
3958 get_dequoting_function, get_user_accept_line_function, | |
3959 accept_line, filename_quoting_desired): New functions checking | |
3960 instance before calling virtual function. | |
3961 | |
3962 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
3963 Array2.h: Add dim_vector constructors. | |
3964 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
3965 const to dim_vector constructors. | |
3966 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
3967 (octave_idx_type)): New methods to constructor diagonal matrices. | |
3968 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
3969 (octave_idx_type)): Declare them. | |
3970 | |
6969 | 3971 2007-10-06 John W. Eaton <jwe@octave.org> |
3972 | |
3973 * lo-specfun.cc: (zlgamma): Delete. | |
3974 (xgamma): Use C library gamma function if available. | |
3975 (xlgamma): Use C library lgamma function if available. | |
3976 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
3977 other than NaN or Inf. | |
3978 | |
6961 | 3979 2007-10-05 John W. Eaton <jwe@octave.org> |
3980 | |
3981 * lo-specfun.cc (zlgamma): New function. | |
3982 | |
6959 | 3983 2007-10-04 John W. Eaton <jwe@octave.org> |
3984 | |
3985 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
3986 qualifiers on local variables. | |
3987 | |
6958 | 3988 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
3989 | |
3990 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
3991 than log(realmax) to avoid issues with NaN. | |
3992 | |
6940 | 3993 2007-10-01 John W. Eaton <jwe@octave.org> |
3994 | |
6941 | 3995 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
3996 initialize wday and yday. | |
3997 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
3998 | |
6940 | 3999 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
4000 insert extra '\001' when decoding \[ and \]. | |
4001 | |
6926 | 4002 2007-09-26 David Bateman <dbateman@free.fr> |
4003 | |
4004 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
4005 is much faster and no less accurate. | |
4006 * CMatrix.cc (lssolve): ditto. | |
4007 | |
6924 | 4008 2007-09-25 David Bateman <dbateman@free.fr> |
4009 | |
4010 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
4011 zero dimensioned matrices. | |
4012 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
4013 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
4014 ditto. | |
4015 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
4016 ditto. | |
4017 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
4018 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
4019 qrsolve): ditto. | |
4020 * sparse-dmsolve.cc (dmsolve): ditto. | |
4021 | |
6922 | 4022 2007-09-21 John W. Eaton <jwe@octave.org> |
4023 | |
4024 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
4025 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
4026 | |
6916 | 4027 2007-09-19 John W. Eaton <jwe@octave.org> |
4028 | |
4029 * cmd-edit.cc (command_editor::remove_startup_hook): | |
4030 Fix cut-and-paste error. | |
6917 | 4031 (gnu_readline::set_startup_hook): Only set hook function if new |
4032 function is different from the current one. | |
6916 | 4033 |
6913 | 4034 2007-09-18 John W. Eaton <jwe@octave.org> |
4035 | |
4036 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
4037 command_editor::event_hook_set): New static data. | |
4038 (default_command_editor::set_startup_hook, | |
4039 gnu_readline::set_startup_hook, | |
4040 default_command_editor::restore_startup_hook, | |
4041 gnu_readline_restore_event_hook): | |
4042 Rename from do_set_startup_hook and do_set_event_hook. | |
4043 (gnu_readline::operate_and_get_next): Call | |
4044 command_editor::add_startup_hook, not | |
4045 command_editor::set_startup_hook. | |
4046 (command_editor::startup_handler, command_editor::event_handler): | |
4047 New functions. | |
4048 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
4049 command_editor::remove_startup_hook, | |
4050 command_editor::remove_event_hook): Rename from set_startup_hook | |
4051 and restore_startup_hook. Handle hook sets here. | |
4052 * cmd-edit.cc (gnu_history::do_goto_mark): | |
4053 Call remove_startup_hook instead of restore_startup_hook. | |
4054 | |
6907 | 4055 2007-09-17 John W. Eaton <jwe@octave.org> |
4056 | |
4057 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
4058 leading whitespace. | |
4059 | |
6897 | 4060 2007-09-13 John W. Eaton <jwe@octave.org> |
4061 | |
4062 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4063 octave_read_complex): Use istream::get instead of >> to read | |
4064 individual characters. | |
4065 | |
6884 | 4066 2007-09-10 John W. Eaton <jwe@octave.org> |
4067 | |
4068 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
4069 | |
4070 2007-09-10 David Bateman <dbateman@free.fr> | |
4071 | |
4072 * Array.h (Array<T>::make_unique): Make public so that the | |
4073 ::assign functions can access it directly. | |
4074 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
4075 Array<T>::maybe_delete_elements_1(idx_vector&), | |
4076 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
4077 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
4078 Use xelem for non const RHS to avoid call to make_unique. | |
4079 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
4080 xelem for LHS and call lhs.make_unique() only once. Special case | |
4081 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
4082 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
4083 bring the additional multiplication out of the inner loop. | |
4084 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
4085 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
4086 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
4087 (const Range& r)): Don't use init_state() method but special case | |
4088 as with a Range can avoid exhaustive search. | |
4089 | |
6881 | 4090 2007-09-07 John W. Eaton <jwe@octave.org> |
4091 | |
4092 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
4093 manipulating rep directly. | |
4094 | |
4095 * Array.h (idx, idx_count): Declare mutable. | |
4096 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
4097 Now const. | |
4098 | |
6867 | 4099 2007-09-06 David Bateman <dbateman@free.fr> |
4100 | |
6868 | 4101 * Array-util.cc (increment_index): dimensions can have singleton |
4102 trailing dimensions. | |
6867 | 4103 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
4104 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
4105 where necessary. | |
4106 * Array.cc (range_error): ditto. | |
4107 * MArrayN.h (permute, ipermute): ditto. | |
4108 * ArrayN.h (permute, ipermute): ditto. | |
4109 * so-array.cc (streamoff_array::compute_index): ditto. | |
4110 * so-array.h (compute_index): ditto. | |
4111 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
4112 | |
6840 | 4113 2007-08-29 David Bateman <dbateman@free.fr> |
4114 | |
4115 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
4116 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
4117 matrices marked as singular. | |
4118 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
4119 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
4120 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
4121 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
4122 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
4123 octave_idx_type&, double&, int, int)): ditto. | |
4124 | |
6838 | 4125 2007-08-27 John W. Eaton <jwe@octave.org> |
4126 | |
4127 * oct-env.cc (octave_env::rooted_relative_pathname, | |
4128 octave_env::do_rooted_relative_pathname): New functions. | |
4129 * oct-env.h: Provide decls. | |
4130 | |
6823 | 4131 2007-08-24 David Bateman <dbateman@free.fr> |
4132 | |
4133 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
4134 const Array<octave_idx_type>&)): New method. | |
4135 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
4136 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
4137 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
4138 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
4139 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
4140 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
4141 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
4142 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
4143 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
4144 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
4145 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4146 SparseMatrix&, const Array<octave_idx_type>&), | |
4147 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4148 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
4149 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
4150 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4151 SparseMatrix&, const Array<octave_idx_type>&), | |
4152 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
4153 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
4154 | |
6817 | 4155 2007-08-19 David Bateman <dbateman@free.fr> |
4156 | |
4157 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
4158 | |
6813 | 4159 2007-08-14 John W. Eaton <jwe@octave.org> |
4160 | |
4161 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
4162 Simplify. | |
6814 | 4163 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 4164 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4165 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 4166 |
4167 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
4168 Remove trailing dir separator when stat'ing directory except for | |
4169 root directory. | |
4170 | |
6796 | 4171 2007-07-25 David Bateman <dbateman@free.fr> |
4172 | |
4173 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
4174 to work. | |
4175 | |
6764 | 4176 2007-06-04 David Bateman <dbateman@free.fr> |
4177 | |
4178 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
4179 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
4180 perform a twos complement arithmetic shift for both signed and | |
4181 unsigned integers regardless of compiler implementations. | |
4182 | |
6708 | 4183 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
4184 | |
6719 | 4185 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
4186 use cs_complex_t(0,0) for the complex zero. | |
4187 | |
6708 | 4188 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
4189 Sprinkle class instantiations with OCTAVE_API as needed. | |
4190 | |
4191 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
4192 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
4193 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
4194 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
4195 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
4196 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
4197 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
4198 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
4199 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
4200 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
4201 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
4202 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
4203 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
4204 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
4205 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
4206 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
4207 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
4208 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
4209 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
4210 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
4211 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
4212 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
4213 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
4214 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
4215 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
4216 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
4217 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
4218 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
4219 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
4220 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
4221 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
4222 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
4223 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
4224 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
4225 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
4226 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
4227 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
4228 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
4229 SPARSE_SMM_OP_DECLS): Ditto. | |
4230 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
4231 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
4232 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
4233 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
4234 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
4235 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
4236 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
4237 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
4238 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
4239 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
4240 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4241 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
4242 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
4243 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
4244 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
4245 | |
6699 | 4246 2007-06-12 John W. Eaton <jwe@octave.org> |
4247 | |
4248 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
4249 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 4250 |
6693 | 4251 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
4252 | |
6709 | 4253 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
4254 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
4255 with file_ops::dir_sep_char. | |
6694 | 4256 |
6693 | 4257 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
4258 | |
6689 | 4259 2007-06-04 David Bateman <dbateman@free.fr> |
4260 | |
6699 | 4261 * file-ops.cc: Typo. |
4262 | |
6689 | 4263 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
4264 dimensions is greater than 2, collapse to 2-D. | |
4265 | |
6685 | 4266 2007-06-02 David Bateman <dbateman@free.fr> |
4267 | |
4268 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
4269 | |
6680 | 4270 2007-05-31 John W. Eaton <jwe@octave.org> |
4271 | |
4272 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
4273 the computed size is too large for the size of Octave's index type. | |
4274 | |
6662 | 4275 2007-05-23 John W. Eaton <jwe@octave.org> |
4276 | |
4277 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
4278 | |
6629 | 4279 2007-05-16 David Bateman <dbateman@free.fr> |
4280 | |
4281 * dRowVector.cc (linspace): Return second argument if fewer than | |
4282 two values are requested. | |
4283 * CRowVector.cc (linspace): Likewise. | |
4284 | |
6596 | 4285 2007-04-27 John W. Eaton <jwe@octave.org> |
4286 | |
4287 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
4288 | |
6583 | 4289 2007-04-25 John W. Eaton <jwe@octave.org> |
4290 | |
4291 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
4292 | |
6553 | 4293 2007-04-20 John W. Eaton <jwe@octave.org> |
4294 | |
4295 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
4296 not rhs_len == 1. | |
4297 | |
6536 | 4298 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
4299 | |
4300 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
4301 | |
6525 | 4302 2007-04-13 John W. Eaton <jwe@octave.org> |
4303 | |
4304 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
4305 for empty matrix. Only check for colon index equivalence if not empty. | |
4306 | |
6513 | 4307 2007-04-10 John W. Eaton <jwe@octave.org> |
4308 | |
4309 * SparseCmplxQR.cc | |
4310 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
4311 Move GCC_ATTR_UNUSED before the parameter decl. | |
4312 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
4313 | |
6508 | 4314 2007-04-06 John W. Eaton <jwe@octave.org> |
4315 | |
4316 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
4317 * MArray.h (MArray<T>::norm): New function. | |
4318 * MArray.cc: Provide decl. | |
4319 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
4320 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
4321 | |
6490 | 4322 2007-04-04 John W. Eaton <jwe@octave.org> |
4323 | |
4324 * Range.cc (Range::nelem_internal): Likewise. | |
4325 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
4326 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
4327 From Scott Pakin <pakin@lanl.gov>. | |
4328 | |
6486 | 4329 2007-04-04 David Bateman <dbateman@free.fr> |
4330 | |
4331 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
4332 the condition number for positive definite matrices. | |
4333 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
4334 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
4335 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
4336 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
4337 (CHOL(const CHOL&)): Copy xrcond. | |
4338 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
4339 (xrcond): New private data member. | |
4340 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
4341 calc_cond. | |
4342 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
4343 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
4344 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
4345 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
4346 (xrcond): New private data member. | |
4347 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
4348 true, calculate the condition number with dpocon. | |
4349 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
4350 calc_cond is true, calculate the condition number with zpocon. | |
4351 | |
6481 | 4352 2007-04-03 John W. Eaton <jwe@octave.org> |
4353 | |
6482 | 4354 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
4355 | |
4356 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
4357 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
4358 "maybe clobbered by vfork" warning. | |
4359 | |
6483 | 4360 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 4361 if/else. |
4362 | |
4363 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
4364 and destructor. | |
4365 | |
6481 | 4366 * Array.cc (assignN): Don't resize dimension if corresponding |
4367 index is empty. | |
4368 | |
6479 | 4369 2007-04-02 John W. Eaton <jwe@octave.org> |
4370 | |
4371 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
4372 MatrixType argument. | |
4373 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
4374 | |
6467 | 4375 2007-03-27 John W. Eaton <jwe@octave.org> |
4376 | |
4377 * Makefile.in (DISTDIRS): Delete variable. | |
4378 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
4379 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4380 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 4381 |
4382 * MatrixType.cc: Replace all uses of the method | |
4383 octave_sparse_params::get_key ("bandden") with | |
4384 octave_sparse_params::get_bandden (void). | |
4385 (MatrixType::MatrixType (void)): Undo previous change but use | |
4386 octave_sparse_params::get_bandden (void). | |
4387 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
4388 methods. | |
4389 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
4390 Declare them. | |
4391 | |
6458 | 4392 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
4393 David Bateman <dbateman@free.fr> | |
4394 | |
4395 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
4396 Check that all elements are ints before doing anything. Simplify | |
4397 calculation of index values. | |
4398 | |
6457 | 4399 2007-03-26 David Bateman <dbateman@free.fr> |
4400 | |
4401 * Range.cc (Range::all_elements_are_ints): Improve check. | |
4402 | |
6456 | 4403 2007-03-26 John W. Eaton <jwe@octave.org> |
4404 | |
4405 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
4406 * chNDArray.h, chMatrix.h: Provide decls. | |
4407 | |
4408 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
4409 | |
4410 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
4411 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 4412 |
6435 | 4413 2007-03-23 David Bateman <dbateman@free.fr> |
4414 | |
4415 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
4416 little endian. | |
4417 | |
6414 | 4418 2007-03-15 John W. Eaton <jwe@octave.org> |
4419 | |
4420 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
4421 From Alexander Barth <abarth@marine.usf.edu>. | |
4422 | |
6402 | 4423 2007-03-12 John W. Eaton <jwe@octave.org> |
4424 | |
4425 * oct-inttypes.h (octave_int::octave_int (double)): | |
4426 New Specialization. Round arg. | |
4427 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
4428 Round result before converting type. | |
4429 | |
6388 | 4430 2007-03-07 John W. Eaton <jwe@octave.org> |
4431 | |
6392 | 4432 * Array.cc (assign1): Avoid resizing if there is an error. |
4433 | |
6390 | 4434 * dMatrix.cc, CMatrix.cc (operator *): Only check |
4435 f77_exception_encountered immediately after calls that use F77_XFCN. | |
4436 | |
6389 | 4437 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
4438 Only allow resizing empty LHS if it is 0x0. | |
4439 | |
6388 | 4440 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
4441 const T&)): Handle case of more indices than dimensions. | |
4442 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
4443 cases to be handled by assignN. | |
4444 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
4445 Special cases for 2-d array assignments for speed. | |
4446 Improve handling of scalar RHS and empty indices. | |
6384 | 4447 |
6383 | 4448 2007-03-05 David Bateman <dbateman@free.fr> |
4449 | |
4450 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
4451 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
4452 | |
6379 | 4453 2007-03-02 John W. Eaton <jwe@octave.org> |
4454 | |
4455 * str-vec.h (string_vector::empty): Return bool, not int. | |
4456 | |
6375 | 4457 2007-03-01 David Bateman <dbateman@free.fr> |
4458 | |
4459 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
4460 an independent implementation of RFC1321. | |
4461 * oct-md5.h, oct-md5: New files for treating std::string class | |
4462 with MD5. | |
4463 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
4464 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
4465 (LIBOCTAVE_C_SOURCES): Add md5.c | |
4466 | |
6366 | 4467 2007-02-27 John W. Eaton <jwe@octave.org> |
4468 | |
4469 * Makefile.in (uninstall): Delete files listed in | |
4470 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
4471 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
4472 | |
6536 | 4473 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 4474 |
4475 * file-ops.cc (file_ops::recursive_rmdir): | |
4476 Close dir_entry object before calling rmdir. | |
4477 | |
6536 | 4478 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 4479 |
4480 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
4481 | |
6359 | 4482 * sparse-util.h (SparseCholPrint, SparseCholError): |
4483 Tag with OCTAVE_API. | |
4484 | |
6326 | 4485 2007-02-18 David Bateman <dbateman@free.fr> |
4486 | |
4487 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
4488 calling setall and reset to the current generator after. | |
4489 | |
6323 | 4490 2007-02-16 John W. Eaton <jwe@octave.org> |
4491 | |
4492 * oct-shlib.h (octave_shlib::relative): New data member. | |
4493 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
4494 New functions. | |
4495 | |
6321 | 4496 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
4497 | |
4498 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
4499 windows platform. | |
4500 * lo-sysdep.h (octave_popen2): Declare it. | |
4501 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
4502 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
4503 | |
6306 | 4504 2007-02-14 John W. Eaton <jwe@octave.org> |
4505 | |
4506 * kpse.cc (expand_elt): Omit special treatment for //. | |
4507 | |
6273 | 4508 2007-02-06 John W. Eaton <jwe@octave.org> |
4509 | |
4510 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
4511 Don't delete value returned from realpath. | |
4512 | |
6271 | 4513 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
4514 | |
4515 * file-ops.cc (file_ops::canonicalize_file_name): | |
4516 Provide implementation if realpath function is available. | |
4517 | |
6256 | 4518 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
4519 | |
4520 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
4521 | |
6244 | 4522 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
4523 | |
4524 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
4525 Windows systems. | |
4526 | |
6242 | 4527 2007-01-16 John W. Eaton <jwe@octave.org> |
4528 | |
4529 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
4530 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
4531 | |
4532 * oct-fftw.h (fftw_planner): Provide decl. | |
4533 | |
6241 | 4534 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
4535 | |
4536 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
4537 | |
6236 | 4538 2007-01-10 John W. Eaton <jwe@octave.org> |
4539 | |
4540 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
4541 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
4542 | |
6231 | 4543 2007-01-08 David Bateman <dbateman@free.fr> |
4544 | |
4545 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
4546 SPARSESUITE with SUITESPARSE to match upstream name. | |
4547 | |
6228 | 4548 2007-01-05 David Bateman <dbateman@free.fr> |
4549 | |
4550 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
4551 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
4552 set the FFTW wisdom method used. | |
4553 (octave_fftw_planner::create_plan) Modify to allow different | |
4554 methods to be used. | |
4555 (octave_fftw_planner): Move class definition from here. | |
4556 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
4557 and FftwMethod enum. | |
4558 | |
6221 | 4559 2007-01-03 David Bateman <dbateman@free.fr> |
4560 | |
4561 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
4562 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
4563 sparse matrices are special cased. | |
4564 | |
4565 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
4566 matrix, sparse matrix operations. | |
4567 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
4568 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
4569 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
4570 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
4571 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
4572 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
4573 sparse matrices are special cased. | |
4574 | |
6217 | 4575 2006-12-22 David Bateman <dbateman@free.fr> |
4576 | |
4577 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
4578 | |
6216 | 4579 2006-12-22 John W. Eaton <jwe@octave.org> |
4580 | |
4581 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
4582 least 2 dimensions. | |
4583 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
4584 | |
6208 | 4585 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
4586 | |
4587 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
4588 | |
4589 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 4590 implementation for Windows. |
6208 | 4591 |
6207 | 4592 2006-12-06 David Bateman <dbateman@free.fr> |
4593 | |
6208 | 4594 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
4595 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 4596 |
4597 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
4598 (tinverse): New method for triangular matrices. | |
4599 (inverse): New function with matrix type probing. | |
4600 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
4601 declarations. | |
6208 | 4602 * CMatrix.cc: Ditto. |
4603 * CMatrix.h: Ditto. | |
6207 | 4604 |
6205 | 4605 2006-12-06 John W. Eaton <jwe@octave.org> |
4606 | |
4607 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
4608 | |
6202 | 4609 2006-12-05 John W. Eaton <jwe@octave.org> |
4610 | |
4611 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
4612 followed by 'I' or 'i', try reading number after putting | |
4613 characters back on input stream. | |
4614 | |
6198 | 4615 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
4616 | |
4617 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
4618 loop is n, not L. | |
4619 | |
6194 | 4620 2006-11-30 John W. Eaton <jwe@octave.org> |
4621 | |
4622 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
4623 Also recognize [+-][Ii]nf. | |
4624 | |
6187 | 4625 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 4626 |
4627 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
4628 sub-directory. | |
4629 | |
6204 | 4630 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
4631 well when calling tinverse for lower triangular matrices. | |
4632 * CSparse.cc (SparseComplexMatrix::inverse): | |
4633 Ditto. | |
6185 | 4634 |
6183 | 4635 2006-11-21 John W. Eaton <jwe@octave.org> |
4636 | |
4637 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
4638 | |
6182 | 4639 2006-11-20 John W. Eaton <jwe@octave.org> |
4640 | |
4641 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
4642 for ".", and names beginning with "./" or "../". | |
4643 | |
6162 | 4644 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
4645 | |
4646 * CMatrix.cc, dMatrix.cc: New tests. | |
4647 | |
6153 | 4648 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
4649 | |
4650 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
4651 | |
6152 | 4652 2006-11-11 John W. Eaton <jwe@octave.org> |
4653 | |
4654 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
4655 Use $(simple-move-if-change-rule) here. | |
4656 | |
6148 | 4657 2006-11-09 David Bateman <dbateman@free.fr> |
4658 | |
4659 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
4660 octave_idx_type, not int. | |
4661 | |
6145 | 4662 2006-11-08 John W. Eaton <jwe@octave.org> |
4663 | |
4664 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
4665 | |
6141 | 4666 2006-11-06 John W. Eaton <jwe@octave.org> |
4667 | |
4668 * Array.cc (assignN): Exit early if invalid indices are found. | |
4669 | |
6140 | 4670 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
4671 | |
4672 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
4673 | |
6137 | 4674 2006-11-03 John W. Eaton <jwe@octave.org> |
4675 | |
4676 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
4677 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
4678 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
4679 | |
6123 | 4680 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
4681 | |
4682 * oct-shlib.cc: Undefine min and max after including windows.h. | |
4683 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
4684 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
4685 lo-sysdep.cc. | |
4686 | |
6113 | 4687 2006-10-27 John W. Eaton <jwe@octave.org> |
4688 | |
6119 | 4689 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
4690 | |
4691 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
4692 | |
4693 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
4694 NDS_CMP_OPS2): New macros. | |
6113 | 4695 |
6111 | 4696 2006-10-26 John W. Eaton <jwe@octave.org> |
4697 | |
6119 | 4698 * mx-ops (core-type): New field for integer types. |
4699 * mk-ops.awk: Handle core-type for integer comparison ops. | |
4700 | |
6111 | 4701 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
4702 Move here from src/cutils.c. | |
4703 * lo-utils.h: Provide decls. | |
4704 * strcasecmp.c: Move here from src/strcasecmp.c. | |
4705 * strncase.c: Move here from src/strncase.c. | |
4706 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
4707 | |
6106 | 4708 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
4709 | |
4710 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
4711 | |
6708 | 4712 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
4713 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
4714 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
4715 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
4716 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
4717 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
4718 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
4719 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
4720 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
4721 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
4722 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
4723 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
4724 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
4725 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
4726 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
4727 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
4728 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
4729 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
4730 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
4731 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
4732 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
4733 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
4734 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 4735 |
6105 | 4736 2006-10-26 John W. Eaton <jwe@octave.org> |
4737 | |
4738 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
4739 type qualification for OP. | |
4740 | |
6101 | 4741 2006-10-26 David Bateman <dbateman@free.fr> |
4742 | |
4743 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
4744 octave_idx_type)): Be more careful with the size of the input | |
4745 matrix, and therefore don't create or read non existent data. | |
4746 | |
6092 | 4747 2006-10-25 John W. Eaton <jwe@octave.org> |
4748 | |
4749 * Sparse.cc (assign): Clear lhs index after error. | |
4750 | |
6093 | 4751 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 4752 |
4753 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4754 Fix previous patch so it works. | |
4755 | |
6087 | 4756 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
4757 | |
6095 | 4758 * glob-match.h (glob_match::glob_match (const std::string&, |
4759 unsigned int)): Delete initializer for first arg. | |
4760 | |
6093 | 4761 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
4762 New functions. | |
4763 | |
6087 | 4764 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
4765 | |
6096 | 4766 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
4767 same code as __MINGW32__. | |
4768 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
4769 the same as for __MINGW32__. | |
4770 | |
4771 * randpoisson.c: Undefine INFINITE before redefining. | |
4772 | |
6079 | 4773 2006-10-24 David Bateman <dbateman@free.fr> |
4774 | |
4775 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
4776 lhs at the point we know the assignment can succeed if the lhs is | |
4777 empty. | |
4778 | |
6072 | 4779 2006-10-23 John W. Eaton <jwe@octave.org> |
4780 | |
4781 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
4782 | |
6061 | 4783 2006-10-17 John W. Eaton <jwe@octave.org> |
4784 | |
4785 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
4786 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
4787 and _copysign. | |
4788 | |
6059 | 4789 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 4790 |
6061 | 4791 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
4792 | |
6708 | 4793 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
4794 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 4795 |
6058 | 4796 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
4797 | |
6059 | 4798 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
4799 | |
6051 | 4800 * Makefile.in: Adapt rules to use $(LIBPRE). |
4801 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4802 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 4803 |
4804 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
4805 or p == 0. | |
4806 | |
6018 | 4807 2006-10-02 John W. Eaton <jwe@octave.org> |
4808 | |
4809 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
4810 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
4811 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4812 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 4813 |
4814 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 4815 Remove spurious warning. |
5996 | 4816 |
5992 | 4817 2006-09-15 John W. Eaton <jwe@octave.org> |
4818 | |
4819 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
4820 Handle resizing. | |
4821 | |
4822 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
4823 | |
5983 | 4824 2006-09-11 John W. Eaton <jwe@octave.org> |
4825 | |
4826 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
4827 Handle M*v and rv*cv special cases. | |
4828 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
4829 ComplexMatrix&))): Likewise. | |
4830 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
4831 | |
4832 * dRowVector.cc (operator * (const RowVector&, const | |
4833 ColumnVector&)): Call xddot here instead of using a Fortran | |
4834 function directly. | |
4835 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
4836 ComplexColumnVector&)): Call xzdotu here. | |
4837 | |
4838 2006-09-05 John W. Eaton <jwe@octave.org> | |
4839 | |
4840 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
4841 elements to '\0', not ' '. | |
4842 | |
5972 | 4843 2006-08-25 John W. Eaton <jwe@octave.org> |
4844 | |
4845 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
4846 | |
5958 | 4847 2006-08-23 John W. Eaton <jwe@octave.org> |
4848 | |
4849 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
4850 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
4851 | |
5955 | 4852 2006-08-22 John W. Eaton <jwe@octave.org> |
4853 | |
5956 | 4854 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
4855 * dMatrix.cc (Matrix::save_ascii): New function. | |
4856 | |
5955 | 4857 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
4858 If array is empty, return value is same size as array. | |
4859 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
4860 If array is empty, produce correctly sized return value. | |
4861 | |
5940 | 4862 2006-08-18 John W. Eaton <jwe@octave.org> |
4863 | |
5943 | 4864 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
4865 * dMatrix.h: Provide decl. | |
4866 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
4867 * dNDArray.h: Provide decl. | |
4868 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
4869 New function. | |
4870 * intNDArray.h: Provide decl. | |
4871 | |
5940 | 4872 * Array.cc (Array<T>::permute): Only rearrange values if array is |
4873 not empty. | |
4874 | |
5904 | 4875 2006-07-26 John W. Eaton <jwe@octave.org> |
4876 | |
4877 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
4878 DET::value_will_overflow): Use xlog2 instead of log2. | |
4879 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
4880 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
4881 * CmplxDET.cc (ComplexDET::initialize10, | |
4882 ComplexDET::value_will_underflow, | |
4883 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
4884 (ComplexDET::initialize2, ComplexDET::initialize10): | |
4885 Use xround instead of round. | |
4886 (ComplexDET::initialize2, ComplexDET::value): | |
4887 Use xexp2 instead of exp2. | |
4888 | |
4889 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
4890 (xlog2, xexp2): New functions. | |
4891 * lo-mappers.h: Provide decls. | |
4892 | |
5900 | 4893 2006-07-22 John W. Eaton <jwe@octave.org> |
4894 | |
4895 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
4896 Sparse<T>::mex_get_jc): New functions. | |
4897 | |
4898 2006-07-21 John W. Eaton <jwe@octave.org> | |
4899 | |
4900 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
4901 * Array.h (Array<T>::mex_get_data): New function. | |
4902 | |
5898 | 4903 2006-07-19 John W. Eaton <jwe@octave.org> |
4904 | |
4905 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
4906 | |
5893 | 4907 2006-07-16 John W. Eaton <jwe@octave.org> |
4908 | |
4909 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
4910 Rename from SparseParams. Use same implementation method as other | |
4911 singleton classes in Octave. Change all uses of | |
4912 Voctave_sparse_controls to use static functions from | |
4913 octave_sparse_params class instead. | |
4914 | |
4915 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
4916 SparseParams::get_key): Pass std::string arg by const reference, | |
4917 not const value. | |
4918 | |
5892 | 4919 2006-07-15 John W. Eaton <jwe@octave.org> |
4920 | |
4921 * data-conv.cc: Instantiante swap_bytes templates here. | |
4922 | |
4923 * MatrixType.cc (MatrixType::MatrixType): | |
4924 Use complete initializer lists in constructors. | |
4925 | |
5880 | 4926 2006-07-06 John W. Eaton <jwe@octave.org> |
4927 | |
4928 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
4929 New constructor. | |
4930 * str-vec.h: Provide decl. | |
4931 | |
5876 | 4932 2006-07-01 David Bateman <dbateman@free.fr> |
4933 | |
4934 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
4935 elements on the diagonal. Allow both Upper and Lower triangular | |
4936 matrices to be treated. | |
4937 * CSparse.cc (tinverse): ditto. | |
4938 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
4939 constant assignment. | |
4940 | |
5870 | 4941 2006-06-30 John W. Eaton <jwe@octave.org> |
4942 | |
5872 | 4943 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
4944 * cmd-edit.cc (editor::read_init_file): Ditto. | |
4945 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 4946 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 4947 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 4948 |
5870 | 4949 * data-conv.cc (data_conv::string_to_data_type): |
4950 Correctly handle leading "*". | |
4951 | |
5869 | 4952 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
4953 | |
4954 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
4955 array access. | |
4956 | |
5866 | 4957 2006-06-27 John W. Eaton <jwe@octave.org> |
4958 | |
4959 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
4960 | |
5864 | 4961 2006-06-21 John W. Eaton <jwe@octave.org> |
4962 | |
4963 * oct-shlib.cc (octave_dlopen_shlib::close, | |
4964 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
4965 Skip do_close_hook if cl_hook is 0. | |
4966 | |
5863 | 4967 2006-06-16 John W. Eaton <jwe@octave.org> |
4968 | |
4969 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
4970 * randmtzig.h: Don't inlcude config.h. | |
4971 | |
5837 | 4972 2006-05-31 David Bateman <dbateman@free.fr> |
4973 | |
4974 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
4975 | |
5828 | 4976 2006-05-23 John W. Eaton <jwe@octave.org> |
4977 | |
4978 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
4979 typedefs, or define them if those files are not available. | |
4980 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
4981 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
4982 octave_uint64_t): Delete typedefs. Replace all uses of these | |
4983 types with int8_t, int16_t, etc. | |
4984 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
4985 Delete definitions. Replace all uses of these macros with int8_t, | |
4986 int16_t, etc. | |
4987 * randmtzig.h: Delete integer typedefs. | |
4988 | |
5822 | 4989 2006-05-18 John W. Eaton <jwe@octave.org> |
4990 | |
4991 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
4992 From Keith Goodman <kwgoodman@gmail.com>. | |
4993 | |
5813 | 4994 2006-05-08 David Bateman <dbateman@free.fr> |
4995 | |
4996 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
4997 modification. | |
4998 | |
5797 | 4999 2006-05-09 David Bateman <dbateman@free.fr> |
5000 | |
5001 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
5002 ov-cx-sparse. and error_state. | |
5003 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
5004 | |
5795 | 5005 2006-05-08 David Bateman <dbateman@free.fr> |
5006 | |
5007 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
5008 first pass and use to determine which algorithm to use on a | |
5009 column-by-column basis. | |
5010 | |
5792 | 5011 2006-05-04 David Bateman <dbateman@free.fr> |
5012 | |
5013 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
5014 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
5015 CXSparse or later | |
5016 | |
5785 | 5017 2006-05-03 David Bateman <dbateman@free.fr> |
5018 | |
5019 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
5020 External declaration of lapack triangular and Cholesky codes. | |
5021 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
5022 ComplexMatrix::fsolve): New private solver codes for | |
5023 upper, lower and LU/Cholesky solvers. | |
5024 (ComplexMatrix::solve): New versions for cached matrix | |
5025 type. Adapt old versions to call new versions | |
5026 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5027 new solvers. | |
5028 (solve): New versions for cached matrix type. | |
5029 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
5030 External declaration of lapack triangular and Cholesky codes. | |
5031 (Matrix::utsolve, Matrix::ltsolve, | |
5032 Matrix::fsolve): New private solver codes for | |
5033 upper, lower and LU/Cholesky solvers. | |
5034 (Matrix::solve): New versions for cached matrix | |
5035 type. Adapt old versions to call new versions | |
5036 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
5037 new solvers. | |
5038 (solve): New versions for cached matrix type. | |
5039 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
5040 * CSparse.h: ditto. | |
5041 * dSparse.cc: ditto. | |
5042 * dSparse.h: ditto. | |
5043 * SparseCmplxCHOL.cc: ditto. | |
5044 * SparsedbleCHOL.cc: ditto. | |
5045 * sparse-dmsolve.cc: ditto. | |
5046 * SparseType.cc, SparseType.h: delete. | |
5047 * MatrixType.cc: New file for class to cache matrix type, based on | |
5048 old SparseType class but caching matrix and sparse types. | |
5049 * MatrixType.h: ditto. | |
5050 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
5051 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
5052 respectively. | |
5053 * mx-base.h: Include MatrixTye.h as header file. | |
5054 | |
5781 | 5055 2006-05-01 John W. Eaton <jwe@octave.org> |
5056 | |
5057 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
5058 Delete WARN_FUTURE arg. Change all uses. | |
5059 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
5060 Change all uses. Use current_liboctave_warning_with_id_handler. | |
5061 (octave_base_shlib::open): Delete arg. Change all derived classes | |
5062 and uses. | |
5063 | |
5064 2006-04-29 John W. Eaton <jwe@octave.org> | |
5065 | |
5066 * Array-flags.cc, Array-flags.h: Delete. | |
5067 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
5068 (MATRIX_INC): Remove Array-flags.h from the list. | |
5069 | |
5070 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
5071 Use current_liboctave_warning_with_id_handler | |
5072 with warning ID Octave:resize-on-range-error. | |
5073 * idx-vector.h: Fix decl. | |
5074 * Array.cc, Sparse.cc: Change all callers. | |
5075 | |
5076 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
5077 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
5078 with warning ID Octave:fortran-indexing instead of | |
5079 liboctave_wfi_flag. | |
5080 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
5081 | |
5777 | 5082 2006-04-26 John W. Eaton <jwe@octave.org> |
5083 | |
5084 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
5085 New static data. | |
5086 * pathsearch.h: Provide decls. | |
5087 (dir_path::is_path_sep): New function. | |
5088 | |
5766 | 5089 2006-04-18 John W. Eaton <jwe@octave.org> |
5090 | |
5091 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
5092 Omit inline from decl. | |
5093 | |
5094 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
5095 local array with variable dimension. | |
5096 | |
5764 | 5097 2006-04-16 John W. Eaton <jwe@octave.org> |
5098 | |
5765 | 5099 * lo-sstream.h: Delete. |
5100 * Makefile.in (INCLUDES): Remove it from the list. | |
5101 | |
5102 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
5103 * Sparse.cc (Sparse::range_error): Likewise. | |
5104 * DASSL.cc (DASSL::error_message): Likewise. | |
5105 * LSODE.cc (LSODE::error_message): Likewise. | |
5106 * DASRT.cc (DASRT::error_message): Likewise. | |
5107 * DASPK.cc (DASPK::error_message): Likewise. | |
5108 * Array.cc (Array::range_error): Likewise. | |
5109 | |
5764 | 5110 * kpse.cc (kpse_hash): Rename from hash. |
5111 (hash_lookup): Call kpse_hash instead of hash. | |
5112 | |
5113 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
5114 to avoid local array with variable dimension. | |
5115 | |
5760 | 5116 2006-04-13 David Bateman <dbateman@free.fr> |
5117 | |
5118 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5119 Optimize assignment. | |
5120 | |
5121 2006-04-13 John W. Eaton <jwe@octave.org> | |
5122 | |
5123 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
5124 Eliminate unnecessary casts. | |
5125 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
5126 | |
5127 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
5128 (log_search, dir_links): Use static_cast instead of C-style cast. | |
5129 | |
5130 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
5131 * oct-alloc.cc (allocator::grow): Likewise. | |
5132 * CSparse.cc (SparseComplexMatrix::determinant, | |
5133 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
5134 Likewise. | |
5135 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
5136 | |
5137 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
5138 Use static_cast instead of C-style cast. | |
5139 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
5140 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
5141 | |
5142 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
5143 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
5144 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
5145 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
5146 Use reinterpret_cast instead of X_CAST. | |
5147 | |
5148 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
5149 return value here. | |
5150 | |
5752 | 5151 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
5152 | |
5153 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
5154 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
5155 | |
5730 | 5156 2006-04-03 David Bateman <dbateman@free.fr> |
5157 | |
5731 | 5158 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
5159 to avoid copy of original matrix. | |
5160 | |
5730 | 5161 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
5162 randmtzig.h to the list. | |
5163 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
5164 randmtzig.c to the list. | |
5165 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
5166 (use_old_generators): New variable. | |
5167 (old_initialized): Rename from initialized. | |
5168 (new_initialized): New variable. | |
5169 (oct_init_by_entropy): New function. | |
5170 (maybe_initialize): Initialize new or old generator depending on | |
5171 value of use_old_generators. | |
5172 (octave_rand::state): New functions. | |
5173 (octave_rand::distribution): Add gamma, exponential and poisson | |
5174 distributions. | |
5175 (octave_rand::exponential_distribution, | |
5176 octave_rand::poisson_distribution, | |
5177 octave_rand::gamma_distribution): New methods to select | |
5178 exponential, poisson or gamma distribution. | |
5179 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
5180 octave_rand::vector): Add new distributions. | |
5181 * oct-rand.h: Provide decls for new functions. | |
5182 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
5183 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
5184 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
5185 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
5186 randmtzig.h: New files. | |
5187 | |
5717 | 5188 2006-03-24 John W. Eaton <jwe@octave.org> |
5189 | |
5190 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
5191 Array<octave_idx_type>, so fortran_vec returns pointer to | |
5192 octave_idx_type, not pointer to int. | |
5193 | |
5194 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
5195 ComplexMatrix::column (char*)): Delete. | |
5196 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
5197 Matrix::column (char*)): Delete. | |
5198 | |
5713 | 5199 2006-03-21 David Bateman <dbateman@free.fr> |
5200 | |
5201 * SparseQR.h: Publish externally used friends. | |
5202 * SparseCmplxQR.h: ditto. | |
5203 | |
5700 | 5204 2006-03-21 John W. Eaton <jwe@octave.org> |
5205 | |
5206 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
5207 call to xdbetai. | |
5208 | |
5697 | 5209 2006-03-21 David Bateman <dbateman@free.fr> |
5210 | |
5701 | 5211 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
5212 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 5213 |
5214 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
5215 fallback to QR solvers to be optional. | |
5216 * CSparse.cc (solve): Ditto. | |
5217 * dSparse.h (solve): update declaration for new argument. | |
5218 * CSparse.h (solve): Ditto. | |
5219 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
5220 to bypass QR solvers when solving the well determined part of | |
5221 the problem. | |
5697 | 5222 |
5690 | 5223 2006-03-17 John W. Eaton <jwe@octave.org> |
5224 | |
5225 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
5226 | |
5681 | 5227 2006-03-16 David Bateman <dbateman@free.fr> |
5228 | |
5229 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
5230 reduction of matrix size, except for a couple of cases where nzmax | |
5231 is needed. | |
5232 (zpbcon): Correct declaration of lapack zpbcon function. | |
5233 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
5234 an argument to allow the calculation of condition number to be | |
5235 optional. | |
5236 (bsolve): Add code for the calculation of the condition number | |
5237 using zpbcon and zgbcon. | |
5238 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
5239 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
5240 singular if singularity is detected. | |
5241 (solve): Use optional argument to disable calculation of | |
5242 condition number for all but fsolve, for speed. Add code to | |
5243 allow rectnagular matrices or matrices identified as singular | |
5244 to be treated. | |
5245 (lssolve): delete. | |
5246 (operator *): Don't recast real matrices as complex, but | |
5247 rather use the macro directly on the real data. | |
5248 * dSparse.cc: ditto. | |
5249 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
5250 fsolve, factorize): Update declaration for new argument to | |
5251 calculate the condition number. | |
5252 (lssolve): delete. | |
5253 * dSparse.h: ditto. | |
5254 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
5255 reduction of matrix size, except for a couple of cases where | |
5256 nzmax is needed. | |
5257 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
5258 reduction of matrix size, except for a couple of cases where | |
5259 nzmax is needed. | |
5260 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
5261 Special case strict permutations for speed. | |
5262 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
5263 reduction of matrix size, except for a couple of cases where | |
5264 nzmax is needed. | |
5265 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
5266 macros to allow mixed complex/real arguments. | |
5267 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
5268 value. | |
5269 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
5270 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
5271 of permutated triangular matrices to avoid seg-faults. Disable | |
5272 detection of underdetermined lower and over-determined upper | |
5273 matrix due to problems with non minimum norm solutions. | |
5274 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
5275 * Makefile.in: add sparse-dmsolve.cc to targets. | |
5276 | |
5675 | 5277 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
5278 | |
5279 * oct-time.cc (octave_strptime::init): Return useful character count. | |
5280 | |
5648 | 5281 2006-03-08 David Bateman <dbateman@free.fr> |
5282 | |
5283 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
5284 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
5285 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
5286 * SparseQR.cc: ditto. | |
5287 * SparseQR.h: ditto. | |
5288 * oct-sparse.h: ditto. | |
5289 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
5290 Declare info variable as volatile. | |
5291 | |
5292 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
5293 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
5294 | |
5634 | 5295 2006-03-01 John W. Eaton <jwe@octave.org> |
5296 | |
5297 * CMatrix.cc (ComplexMatrix::determinant): | |
5298 Scale result by factors of 2, not 10. | |
5299 * dMatrix.cc (Matrix::determinant): Likewise. | |
5300 | |
5301 * dbleDET.h (DET::DET): Use initializer list. | |
5302 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
5303 DET::exponent10): New functions. | |
5304 (DET::det): Delete. | |
5305 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
5306 Store value internally with double and int instead of 2-element | |
5307 double vector. | |
5308 (DET::initialize2, DET::initialize10): Provide decls. | |
5309 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
5310 Return bool value, not int. | |
5311 (DET::initialize2, DET::initialize10): New functions. | |
5312 | |
5313 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
5314 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
5315 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
5316 (ComplexDET::det): Delete. | |
5317 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
5318 ComplexDET::base2): New data members. | |
5319 Store value internally with Complex and int instead of 2-element | |
5320 Complex vector. | |
5321 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
5322 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
5323 ComplexDET::value_will_underflow): Return bool value, not int. | |
5324 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
5325 | |
5632 | 5326 2006-02-24 John W. Eaton <jwe@octave.org> |
5327 | |
5328 * Array.cc (assignN): Clear index before reshaping. | |
5329 | |
5330 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
5331 | |
5630 | 5332 2006-02-20 David Bateman <dbateman@free.fr> |
5333 | |
5334 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
5335 matrix must be square in diagonal, permuted diagonal, triangular | |
5336 and permuted triangular back/forward substitution code. Change | |
5337 ambiguous use of no. rows and columns. | |
5338 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
5339 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
5340 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
5341 rectangular diagonal, permuted diagonal, triangular and permuted | |
5342 triangular matrices. | |
5343 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
5344 Treat case where third argument is zero. | |
5345 | |
5621 | 5346 2006-02-15 John W. Eaton <jwe@octave.org> |
5347 | |
5622 | 5348 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
5349 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
5350 | |
5621 | 5351 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
5352 | |
5619 | 5353 2006-02-13 David Bateman <dbateman@free.fr> |
5354 | |
5355 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
5356 ccolamd and cxsparse | |
5357 | |
5617 | 5358 2006-02-13 John W. Eaton <jwe@octave.org> |
5359 | |
5618 | 5360 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
5361 while loop condition. | |
5362 (kpse_path_iterator::operator =): Declare as private function but | |
5363 don't define to prevent attempts to use assignment operator. | |
5364 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 5365 |
5615 | 5366 2006-02-10 John W. Eaton <jwe@octave.org> |
5367 | |
5368 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
5369 product of all dimensions in CP_SZ. | |
5370 | |
5611 | 5371 2006-02-09 John W. Eaton <jwe@octave.org> |
5372 | |
5373 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 5374 product of all dimensions in CP_SZ. |
5611 | 5375 |
5610 | 5376 2006-02-09 David Bateman <dbateman@free.fr> |
5377 | |
5378 * SparseQR.cc: new file for real sparse QR class. | |
5379 * SparseQR.h: declaration. | |
5380 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
5381 * SparseCmplxQR.h: declaration. | |
5382 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5383 (factorize, fsolve): Enable code code lssolve. | |
5384 (lssolve): disable unused args, write based in above sparse QR class. | |
5385 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5386 (factorize, fsolve): Enable code code lssolve. | |
5387 (lssolve): disable unused args, write based in above sparse QR class. | |
5388 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
5389 Include CXSparse headers. | |
5390 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
5391 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5392 | |
5607 | 5393 2006-02-08 John W. Eaton <jwe@octave.org> |
5394 | |
5395 * Array-util.h (calc_permutated_idx): Delete. | |
5396 * Array.cc (permute_vector): New data structure. | |
5397 (permute_vector_compare): New function. | |
5398 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
5399 improved performance. | |
5400 | |
5606 | 5401 2006-02-04 David Bateman <dbateman@free.fr> |
5402 | |
5403 * COLAMD: Remove all files, as now unused. | |
5404 | |
5604 | 5405 2006-01-31 John W. Eaton <jwe@octave.org> |
5406 | |
5407 * Sparse.h (Sparse<T>::nzmax): New function. | |
5408 (Sparse<T>::nnz): Rename from nonzero. | |
5409 Change all uses of old nnz function to be nzmax. Change all uses | |
5410 of nonzero to be nnz. | |
5411 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
5412 | |
5603 | 5413 2006-01-21 David Bateman <dbateman@free.fr> |
5414 | |
5415 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
5416 (bool octave_idx_vector_comp): New function. | |
5417 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
5418 indexed idx_vector sorting function. | |
5419 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
5420 (class octave_idx_vector_sort): New class for indexed idx_vector | |
5421 sorting. | |
5422 (bool octave_idx_vector_comp): Declaration. | |
5423 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
5424 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
5425 class. | |
5426 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5427 | |
5602 | 5428 2006-01-30 John W. Eaton <jwe@octave.org> |
5429 | |
5430 * so-array.h (streamoff_array::nnz): New funtion. | |
5431 * boolNDArray.h (boolNDArray::nnz): New function. | |
5432 * MArrayN.h (MArrayN<T>::nnz): New function. | |
5433 * MArray.h (MArray<T>::nnz): New function. | |
5434 | |
5587 | 5435 2006-01-04 David Bateman <dbateman@free.fr> |
5436 | |
5437 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
5438 elements not being sorted in return matrix. Sort them, and make | |
5439 solver select between two algorithms to further improve the | |
5440 performance. | |
5441 * dSparse.cc: include oct-sort.h. | |
5442 * CSparse.cc: ditto. | |
5443 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
5444 | |
5586 | 5445 2005-12-28 David Bateman <dbateman@free.fr> |
5446 | |
5587 | 5447 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
5448 faster in all cases, and significantly so for low density or small | |
5449 order problems. | |
5586 | 5450 |
5552 | 5451 2005-11-30 John W. Eaton <jwe@octave.org> |
5452 | |
5453 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
5454 before setting any values in either array. | |
5455 | |
5547 | 5456 2005-11-29 John W. Eaton <jwe@octave.org> |
5457 | |
5458 * oct-uname.h, oct-uname.cc: New files. | |
5459 * Makefile.in: Add them to the appropriate lists. | |
5460 | |
5535 | 5461 2005-11-11 John W. Eaton <jwe@octave.org> |
5462 | |
5463 * Array.cc (Array<T>::indexN): Simplify. | |
5464 | |
5533 | 5465 2005-11-09 John W. Eaton <jwe@octave.org> |
5466 | |
5467 * oct-inttypes.h (octave_int::operator char (void) const): | |
5468 New conversion op. | |
5469 | |
5527 | 5470 2005-11-01 John W. Eaton <jwe@octave.org> |
5471 | |
5472 * Makefile.in (distclean): Also remove oct-types.h. | |
5473 From Quentin Spencer <qspencer@ieee.org>. | |
5474 | |
5526 | 5475 2005-10-31 David Bateman <dbateman@free.fr> |
5476 | |
5477 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
5478 preprocessor defined TRUE/FALSE. | |
5479 | |
5523 | 5480 2005-10-30 John W. Eaton <jwe@octave.org> |
5481 | |
5482 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
5483 (MX_ND_CUMULATIVE_OP): Likewise. | |
5484 | |
5519 | 5485 2005-10-29 John W. Eaton <jwe@octave.org> |
5486 | |
5520 | 5487 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
5488 things up. Simplify. | |
5489 | |
5519 | 5490 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
5491 case for "vector_equivalent". | |
5492 | |
5493 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
5494 | |
5518 | 5495 2005-10-28 John W. Eaton <jwe@octave.org> |
5496 | |
5497 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
5498 From Quentin Spencer <qspencer@ieee.org>. | |
5499 | |
5500 * sparse-base-chol.cc: Use C++ true/false instead of | |
5501 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
5502 | |
5516 | 5503 2005-10-27 John W. Eaton <jwe@octave.org> |
5504 | |
5505 * Array.cc (assignN): Reshape to final size instead of resizing. | |
5506 | |
5512 | 5507 2005-10-26 John W. Eaton <jwe@octave.org> |
5508 | |
5509 * oct-sparse.h: New file. | |
5510 * oct-sparse.h.in: Delete. | |
5511 | |
5511 | 5512 2005-10-26 David Bateman <dbateman@free.fr> |
5513 | |
5514 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
5515 * sparse-base-chol.cc: ditto. | |
5516 | |
5508 | 5517 2005-10-26 John W. Eaton <jwe@octave.org> |
5518 | |
5519 Changes for GCC 4.1, tip from Arno J. Klaassen | |
5520 <arno@heho.snv.jussieu.fr>: | |
5521 | |
5509 | 5522 * dSparse.h (real (const SparseComplexMatrix&)): |
5523 Publish externally used friend function. | |
5524 (imag (const SparseComplexMatrix&)): Likewise. | |
5525 | |
5508 | 5526 * dColVector.h (real (const ComplexColumnVector&)): |
5527 Publish externally used friend function. | |
5528 (imag (const ComplexColumnVector&)): Likewise. | |
5529 | |
5530 * dNDArray.h (real (const ComplexNDArray&)): | |
5531 Publish externally used friend function. | |
5532 (imag (const ComplexNDArray&)): Likewise. | |
5533 | |
5534 * dMatrix.h (operator * (const ComplexMatrix&)): | |
5535 Move decl outside class. No need to be friend. | |
5536 (real (const ComplexMatrix&)): Publish externally used friend function. | |
5537 (imag (const ComplexMatrix&)): Likewise. | |
5538 | |
5539 * CMatrix.h: (operator * (const ColumnVector&, const | |
5540 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
5541 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
5542 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
5543 Likewise. | |
5544 | |
5506 | 5545 2005-10-23 David Bateman <dbateman@free.fr> |
5546 | |
5547 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
5548 elements need to be removed. | |
5549 | |
5550 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
5551 versions of cholmod. | |
5552 | |
5553 * CSparse.cc (tinverse): New private function for the inversion of | |
5554 an upper triangular matrix. | |
5555 (dinverse): ditto for diagonal matrices. | |
5556 (inverse): Add SparseType as an argument. Implement matrix inverse | |
5557 using tinverse and dinverse. | |
5558 (fsolve): Use cholmod to implement Cholesky solver. | |
5559 * CSparse.h (tinverse, dinverse): Declarations | |
5560 (inverse): Alter declaration to include SparseType. | |
5561 | |
5562 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
5563 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
5564 | |
5565 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
5566 | |
5567 * sparse-util.cc: New file for sparse utility functions. | |
5568 * sparse-util.h: New file with declarations of sparse utility | |
5569 functions. | |
5570 | |
5571 * sparse-base-chol.cc: New file with sparse cholesky class based | |
5572 on cholmod. | |
5573 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
5574 class based on cholmod. | |
5575 | |
5576 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
5577 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
5578 | |
5579 * SparsedbleCHOL.cc: ditto. | |
5580 * SparsedbleCHOL.h: ditto. | |
5581 | |
5582 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
5583 (INCLUDES): Include sparse-util.h | |
5584 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
5585 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
5586 | |
5489 | 5587 2005-10-12 John W. Eaton <jwe@octave.org> |
5588 | |
5589 * oct-env.cc (octave_env::have_x11_display): New function. | |
5590 * oct-env.h: Provide decl. | |
5591 | |
5476 | 5592 2005-09-29 John W. Eaton <jwe@octave.org> |
5593 | |
5594 * file-stat.h (file_stat::mode): New function. | |
5595 | |
5596 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
5597 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
5598 file_stat::is_reg, file_stat::is_sock): New static functions. | |
5599 * file-stat.h: Provide decls. | |
5600 | |
5601 2005-09-28 John W. Eaton <jwe@octave.org> | |
5602 | |
5603 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
5604 * file-ops.h: Provide decl. | |
5605 | |
5454 | 5606 2005-09-19 David Bateman <dbateman@free.fr> |
5607 | |
5608 * oct-env.cc (octave_env::do_get_home_directory): | |
5609 Also check HOMEDRIVE under mingw. | |
5610 | |
5455 | 5611 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
5612 | |
5453 | 5613 2005-09-16 John W. Eaton <jwe@octave.org> |
5614 | |
5615 * oct-syscalls.cc: Include lo-utils.h here. | |
5616 (octave_syscalls::waitpid): Call octave_waitpid here. | |
5617 | |
5618 * lo-cutils.c (octave_waitpid): New function. | |
5619 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
5620 oct-syscalls.cc | |
5621 | |
5622 | |
5623 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
5624 waitpid in src/sysdep.h. Make this header C-compatible. | |
5625 | |
5626 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
5627 Change all uses. | |
5628 | |
5451 | 5629 2005-09-15 John W. Eaton <jwe@octave.org> |
5630 | |
5631 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
5632 | |
5633 * oct-sparse.h.in: New file. | |
5634 * Makefile.in (DISTFILES): Include it in the list. | |
5635 (INCLUDES): Add oct-sparse.h to the list. | |
5636 | |
5637 2005-09-15 David Bateman <dbateman@free.fr> | |
5638 | |
5639 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
5640 headers. Remove include of umfpack.h. | |
5641 * CSparse.cc : ditto. | |
5642 * SparsedbleLU.cc : ditto. | |
5643 * SparseCmplxLU.cc : ditto. | |
5644 | |
5645 * COLAMD : Remove colamd files from octave. | |
5646 * COLAMD.files : delete. | |
5647 * COLAMD.README : delete. | |
5648 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
5649 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
5650 under mingw. | |
5651 | |
5652 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
5653 in definition. | |
5654 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
5655 change of cast not allowed under g++ 3.x. | |
5656 * lo-utils.h (octave_w32_library_search): Declaration. | |
5657 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
5658 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
5659 | |
5442 | 5660 2005-09-07 John W. Eaton <jwe@octave.org> |
5661 | |
5662 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
5663 based on current code in Bash. Handle a few more escape | |
5664 sequences. Do a better job of decoding \W. | |
5665 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5666 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 5667 |
5668 * COLAMD: Update version of colamd to v2.4. | |
5669 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
5670 colamd.c for long version. | |
5671 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5672 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 5673 |
5674 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
5675 mixed sparse/full multiply. | |
5676 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
5677 mixed sparse/full multiply. | |
5678 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
5679 mixed sparse/full multiply operators. | |
5680 | |
5420 | 5681 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
5682 | |
5683 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
5684 avoid warnings for unsigned types. | |
5685 | |
5404 | 5686 2005-07-07 John W. Eaton <jwe@octave.org> |
5687 | |
5688 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
5689 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
5690 | |
5392 | 5691 2005-06-15 John W. Eaton <jwe@octave.org> |
5692 | |
5394 | 5693 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
5694 Flush stdout here. | |
5695 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
5696 | |
5392 | 5697 * Array.h (Array::resize): Change int args to octave_idx_type. |
5698 | |
5386 | 5699 2005-06-14 John W. Eaton <jwe@octave.org> |
5700 | |
5389 | 5701 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
5702 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
5703 octave_is_NaN_or_NA to xisnan. | |
5704 | |
5705 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
5706 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
5707 | |
5708 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
5709 lo_ieee_isnan. | |
5710 | |
5387 | 5711 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
5712 value is greater than FLT_MAX. | |
5713 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5714 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
5715 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5716 | |
5717 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
5718 values too. | |
5719 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5720 | |
5721 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
5722 NA, Inf values. | |
5723 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 5724 |
5385 | 5725 2005-06-14 David Bateman <dbateman@free.fr> |
5726 | |
5387 | 5727 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
5728 NA values. | |
5729 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 5730 |
5379 | 5731 2005-06-02 John W. Eaton <jwe@octave.org> |
5732 | |
5733 * Array.cc (assignN): Try harder to correctly resize previously | |
5734 empty LHS. | |
5735 | |
5351 | 5736 2005-05-16 David Bateman <dbateman@free.fr> |
5737 | |
5738 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
5739 * CSparse.h: ditto. | |
5740 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5741 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 5742 |
5743 * dSparse.cc (determinant): Free numeric factorization after | |
5744 sucessful calculation. | |
5745 * CSparse.cc (determinant): ditto. | |
5746 | |
5340 | 5747 2005-05-06 John W. Eaton <jwe@octave.org> |
5748 | |
5749 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
5750 chol_mat. | |
5751 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
5752 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
5753 Provide decls. | |
5754 | |
5755 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
5756 indexing chol_mat. | |
5757 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
5758 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
5759 Provide decls. | |
5760 | |
5338 | 5761 2005-05-05 John W. Eaton <jwe@octave.org> |
5762 | |
5763 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
5764 retval before return. | |
5765 | |
5336 | 5766 2005-05-04 John W. Eaton <jwe@octave.org> |
5767 | |
5768 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
5769 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
5770 | |
5330 | 5771 2005-05-02 John W. Eaton <jwe@octave.org> |
5772 | |
5773 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
5774 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
5775 | |
5322 | 5776 2005-04-29 David Bateman <dbateman@free.fr> |
5777 | |
5330 | 5778 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
5779 double. Correct indexing for upper diagonal elements for sparse | |
5780 tridiagonal. | |
5322 | 5781 * CSparse.cc (trisolve): ditto. |
5782 | |
5330 | 5783 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
5784 UMFPACK for 64-bit. | |
5322 | 5785 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5786 UMFPACK_ZNAME(*). | |
5787 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
5788 | |
5330 | 5789 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
5790 UMFPACK for 64-bit. | |
5322 | 5791 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5792 UMFPACK_DNAME(*). | |
5793 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
5794 | |
5330 | 5795 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
5796 triangular back/forward substitution code. | |
5322 | 5797 * CSparse.cc (ltsolve, utsolve): ditto. |
5798 | |
5330 | 5799 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
5800 from spparms("spumoni",1). | |
5322 | 5801 * CSparse.cc (solve): ditto |
5802 | |
5330 | 5803 * SparseType.cc (SparseType(void)): Print info for |
5804 spparms("spumoni",1). | |
5322 | 5805 (SparseType(const matrix_type), SparseType(const matrix_type, const |
5806 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
5807 const octave_idx_type, const octave_idx_type)): New constructors. | |
5808 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 5809 Detect row permuted lower triangular and column permuted upper |
5810 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 5811 |
5812 * SparseType.h: Simplify the permutation code. | |
5813 (SparseType(const matrix_type), SparseType | |
5814 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
5815 SparseType(const matrix_type, const octave_idx_type, | |
5816 const octave_idx_type)): Declarations. | |
5817 | |
5304 | 5818 2005-04-25 John W. Eaton <jwe@octave.org> |
5819 | |
5820 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
5821 array and its contents. | |
5822 | |
5303 | 5823 2005-04-22 John W. Eaton <jwe@octave.org> |
5824 | |
5825 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
5826 const here now that rl_terminal_name is declared const char*. | |
5827 | |
5294 | 5828 2005-04-21 John W. Eaton <jwe@octave.org> |
5829 | |
5830 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
5831 | |
5285 | 5832 2005-04-19 John W. Eaton <jwe@octave.org> |
5833 | |
5834 * Array.cc (assignN): Don't crash if the index list is empty. | |
5835 | |
5282 | 5836 2005-04-14 David Bateman <dbateman@free.fr> |
5837 | |
5838 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
5839 * SparsedbleLU.cc: Ditto. | |
5840 * SparseCmplxLU.h: Definition. | |
5841 * SparsedbleLU.h: ditto. | |
5842 | |
5843 * SparseType.cc (transpose): New function. | |
5844 * SparseType.h (transpose): Definition. | |
5845 | |
5278 | 5846 2005-04-11 John W. Eaton <jwe@octave.org> |
5847 | |
5848 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
5849 fortran code that could end up calling XSTOPX. | |
5850 | |
5277 | 5851 2005-04-10 David Bateman <dbateman@free.fr> |
5852 | |
5853 * Makefile.in: include oct-types in INCLUDES so that it is | |
5854 installed | |
5855 | |
5275 | 5856 2005-04-08 John W. Eaton <jwe@octave.org> |
5857 | |
5276 | 5858 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
5859 | |
5275 | 5860 * Initial merge of 64-bit changes from Clinton Chee: |
5861 | |
5862 2005-04-07 John W. Eaton <jwe@octave.org> | |
5863 | |
5864 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
5865 | |
5866 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
5867 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
5868 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
5869 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
5870 Use octave_idx_type instead of int where needed. | |
5871 | |
5872 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5873 | |
5874 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
5875 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5876 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5877 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
5878 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
5879 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5880 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
5881 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
5882 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
5883 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
5884 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
5885 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
5886 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
5887 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
5888 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
5889 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
5890 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
5891 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
5892 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
5893 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
5894 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
5895 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
5896 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
5897 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
5898 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
5899 str-vec.cc, str-vec.h: | |
5900 Use octave_idx_type instead of int where needed. | |
5901 | |
5902 2005-04-01 John W. Eaton <jwe@octave.org> | |
5903 | |
5904 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
5905 | |
5906 * oct-types.h.in: New file. | |
5907 | |
5908 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5909 | |
5910 * lo-utils.cc (NINTbig): New function. | |
5911 * lo-utils.h: Provide decl. | |
5912 | |
5269 | 5913 2005-04-06 David Bateman <dbateman@free.fr> |
5914 | |
5915 * Makefile.in: Link to UMFPACK_LIBS. | |
5916 | |
5265 | 5917 2005-04-05 John W. Eaton <jwe@octave.org> |
5918 | |
5919 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
5920 | |
5264 | 5921 2005-04-01 John W. Eaton <jwe@octave.org> |
5922 | |
5923 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
5924 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
5925 when resizing A. When performing the assignment, just check that | |
5926 the number of elements in RHS matches the number of elements | |
5927 indexed by IDX-LIST. | |
5928 | |
5260 | 5929 2005-03-30 John W. Eaton <jwe@octave.org> |
5930 | |
5261 | 5931 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
5932 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
5933 | |
5934 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
5935 dSparse.cc: Use std:: for Complex functions instead of relying on | |
5936 wrappers from oct-cmplx.h. | |
5260 | 5937 |
5938 * oct-cmplx.h: Provide typedef only. | |
5939 | |
5940 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
5941 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
5942 Likewise. | |
5943 | |
5247 | 5944 2005-03-26 John W. Eaton <jwe@octave.org> |
5945 | |
5946 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
5947 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
5948 | |
5209 | 5949 2005-03-15 John W. Eaton <jwe@octave.org> |
5950 | |
5951 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
5952 | |
5203 | 5953 2005-03-14 John W. Eaton <jwe@octave.org> |
5954 | |
5955 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
5956 (DISTDIRS): Don't include UMFPACK. | |
5957 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
5958 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
5959 flags for these files. | |
5960 Don't include include $(srcdir)/UMFPACK.files. | |
5961 Don't include include $(srcdir)/UMFPACK.rules. | |
5962 | |
5963 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
5964 Delete files. | |
5965 * UMFPACK: Delete directory tree. | |
5966 | |
5967 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
5968 * CSparse.cc: Likewise. | |
5969 * SparsedbleLU.cc: Likewise. | |
5970 * SparseCmplxLU.cc: Likewise. | |
5971 | |
5972 2005-03-14 David Bateman <dbateman@free.org> | |
5973 | |
5974 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
5975 Allow compilation to succeed if UMFPACK is not available. | |
5976 | |
5196 | 5977 2005-03-09 John W. Eaton <jwe@octave.org> |
5978 | |
5979 * Makefile.in (bin-dist): Delete target. | |
5980 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
5981 | |
5173 | 5982 2005-03-01 John W. Eaton <jwe@octave.org> |
5983 | |
5984 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
5985 * Makefile.in: Remove them from the lists. | |
5986 | |
5169 | 5987 2005-02-28 John W. Eaton <jwe@octave.org> |
5988 | |
5989 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
5990 | |
5167 | 5991 2005-02-27 David Bateman <dbateman@free.org> |
5992 | |
5169 | 5993 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
5994 in the sparse matrix. | |
5167 | 5995 |
5164 | 5996 2005-02-25 John W. Eaton <jwe@octave.org> |
5997 | |
5998 Sparse merge. | |
5999 | |
6000 2005-02-13 David Bateman <dbateman@free.fr> | |
6001 | |
6002 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
6003 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
6004 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
6005 solver into separate functions for the diagonal, upper, lower | |
6006 triangular, tridiagonal, banded and full cases. | |
6007 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
6008 version that probes the matrix type and another that assumes the type | |
6009 is passed. | |
6010 | |
6011 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
6012 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
6013 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
6014 (SparseMatrix::solve): Likewise | |
6015 | |
6016 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6017 Declaration of new functions | |
6018 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
6019 Likewise | |
6020 | |
6021 * CSparse.cc (operator !): Reverse the sense of the test. | |
6022 * dSpase.cc (operator !): Likewise | |
6023 | |
6024 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6025 triangular_col_perm, sparse_info): Remove matrix type code | |
6026 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6027 triangular_col_perm, sparse_info): Likewise | |
6028 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6029 triangular_col_perm, sparse_info): Likewise | |
6030 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
6031 triangular_col_perm, sparse_info): Likewise | |
6032 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
6033 triangular_col_perm, sparse_info, matrix_type): Likewise | |
6034 | |
6035 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
6036 | |
6037 * SparseType.h: New class for the matrix type used in solvers | |
6038 * SparseType.cc: methods of sparse matrix type class | |
6039 | |
6040 * Makefile.in: Add SparseType.cc | |
6041 | |
6042 2005-02-01 David Bateman <dbateman@free.fr> | |
6043 | |
6044 * UMFPACK: Update to version 4.4 | |
6045 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
6046 keep octave specific test files | |
6047 | |
6048 2005-01-23 David Bateman <dbateman@free.fr> | |
6049 | |
6050 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
6051 tridiagonal and banded cholesky solvers. Remove calculation of | |
6052 condition number for banded solvers. | |
6053 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
6054 | |
6055 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
6056 new functions. | |
6057 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6058 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6059 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
6060 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
6061 ditto | |
6062 | |
6063 * Sparse.cc (int Sparse<T>::type (int) const, | |
6064 bool Sparse<T>::is_dense (void) const): New functions definition | |
6065 | |
6066 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
6067 so it actually is cached, but disable | |
6068 | |
6069 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
6070 for compatiability | |
6071 | |
6072 2005-01-18 David Bateman <dbateman@free.fr> | |
6073 | |
6074 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
6075 Modify calculation of number elements to skip between copied blocks. | |
6076 | |
6077 2005-01-07 David Bateman <dbateman@free.fr> | |
6078 | |
6079 * Sparse.h : Reverse definitions of numel and nelem. | |
6080 * Sparse.cc (assign1): Use numel and not nelem | |
6081 * Sparse-op-def.h: Replace all uses of nelem with numel | |
6082 | |
6083 2005-01-07 David Bateman <dbateman@free.fr> | |
6084 | |
6085 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
6086 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
6087 ComplexDET | |
6088 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
6089 by DET | |
6090 * dSparse.h (determinant): ditto | |
6091 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
6092 SparseComplexDET by ComplexDET | |
6093 * CSparse.h (determinant): ditto | |
6094 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
6095 SparseCmplxDET.cc: delete files | |
6096 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
6097 SparseCmplxDET.h andSparseCmplxDET.cc. | |
6098 | |
6099 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
6100 local variable to avoid variable shadowing. | |
6101 * dSparse.cc (SparseMatrix::solve): ditto. | |
6102 | |
6103 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
6104 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
6105 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
6106 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
6107 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
6108 sparse-sort.h: Remove additional licensing clause with authors | |
6109 permission. | |
6110 | |
6111 2004-12-30 John W. Eaton <jwe@octave.org> | |
6112 | |
6113 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
6114 Loop counter is int, not size_t. | |
6115 | |
6116 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
6117 | |
6118 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
6119 | |
6120 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
6121 Delete unused variables. | |
6122 (SparseMatrix::solve): Avoid warnings about uninitialized | |
6123 variables and variables that might be clobbered by longjmp. | |
6124 | |
6125 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
6126 min, max): Delete unused variables. | |
6127 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
6128 variables and variables that might be clobbered by longjmp. | |
6129 | |
6130 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
6131 | |
6132 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
6133 Loop counter is int, not size_t. | |
6134 | |
6135 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
6136 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
6137 | |
6138 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
6139 lists consistently. | |
6140 | |
6141 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
6142 | |
6143 2004-12-29 John W. Eaton <jwe@octave.org> | |
6144 | |
6145 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
6146 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
6147 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
6148 $(UMFPACK_EXTRAS) to the list. | |
6149 (DISTDIRS): New variable. | |
6150 (dist): Handle $(DISTDIRS). | |
6151 | |
6152 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
6153 Andy Adler <adler@site.uottawa.ca>. | |
6154 | |
6155 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
6156 | |
6157 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
6158 without directory prefix. | |
6159 | |
6160 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
6161 $(UMFPACK_OBJ) to the list. | |
6162 | |
6163 * COLAMD: New directory. | |
6164 * COLAMD.files: New file. | |
6165 * Makefile.in: Include COLAMD.files. | |
6166 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
6167 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
6168 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
6169 | |
6170 * UMFPACK: New directory. | |
6171 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
6172 New files. | |
6173 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
6174 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
6175 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
6176 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
6177 | |
6178 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
6179 (INCLUDES): Add it to the list. | |
6180 (SPARSE_MX_OP_SRC): New variable. | |
6181 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
6182 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
6183 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
6184 | |
6185 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
6186 * Makefile.in (DISTFILES): Add them to the lists. | |
6187 | |
6188 * oct-spparms.h, sparse-sort.h: New files. | |
6189 * Makefile.in (INCLUDES): Add them to the list. | |
6190 | |
6191 * oct-spparms.cc, sparse-sort.cc: New files. | |
6192 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
6193 | |
6194 * sparse-base-lu.cc: New file. | |
6195 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
6196 | |
6197 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
6198 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
6199 SparsedbleLU.cc: New files. | |
6200 * Makefile.in (MATRIX_SRC): Add them to the list. | |
6201 | |
6202 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
6203 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
6204 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
6205 Sparse-op-defs.h: New files. | |
6206 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
6207 | |
6208 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
6209 Sparse-C.cc: New files. | |
6210 * Makefile.in (TI_SRC): Add them to the list. | |
6211 | |
5149 | 6212 2005-02-18 John W. Eaton <jwe@octave.org> |
6213 | |
6214 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
6215 Pass current directory to octave_env::make_absolute. | |
6216 Save value returned from octave_env::make_absolute in local var. | |
6217 Pass const char*, not std::string as first arg of resolvepath. | |
6218 Provide decl for resolved_len. | |
6219 | |
5148 | 6220 2005-02-18 John W. Eaton <jwe@octave.org> |
6221 | |
6222 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
6223 than number of dimenensions of permuted matrix. | |
6224 | |
6225 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
6226 * Array-util.cc (calc_permutated_idx): Likewise. | |
6227 | |
5139 | 6228 2005-02-10 David Bateman <dbateman@free.fr> |
6229 | |
6230 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
6231 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
6232 | |
5137 | 6233 2005-02-09 John W. Eaton <jwe@octave.org> |
6234 | |
5138 | 6235 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
6236 * file-ops.h: Provide decls. | |
6237 | |
5137 | 6238 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
6239 | |
5136 | 6240 2005-02-08 John W. Eaton <jwe@octave.org> |
6241 | |
6242 * Array-util.cc (freeze): Improve error message. | |
6243 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6244 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 6245 |
5121 | 6246 * Array.cc (Array<T>::insert): Handle generic case, not just |
6247 special case for fast concatenation. | |
5120 | 6248 |
5110 | 6249 2005-01-18 John W. Eaton <jwe@octave.org> |
6250 | |
6251 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
6252 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
6253 | |
6254 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
6255 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
6256 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
6257 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 6258 |
6259 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
6260 Modify calculation of number elements to skip between copied blocks. | |
6261 | |
6262 2005-01-18 John W. Eaton <jwe@octave.org> | |
6263 | |
6264 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
6265 error handler, to warn about resizing. | |
6266 | |
5105 | 6267 2004-12-27 Martin Dalecki <martin@dalecki.de> |
6268 | |
6269 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
6270 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
6271 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
6272 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
6273 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
6274 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
6275 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
6276 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
6277 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
6278 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
6279 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
6280 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
6281 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
6282 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
6283 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
6284 Delete #pragma implementation. | |
6285 | |
6286 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
6287 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
6288 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
6289 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
6290 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
6291 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
6292 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
6293 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
6294 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
6295 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6296 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
6297 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
6298 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
6299 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
6300 Delete #pragma interface. | |
6301 | |
5098 | 6302 2004-12-17 John W. Eaton <jwe@octave.org> |
6303 | |
6304 * lo-cieee.c (lo_ieee_signbit): New function. | |
6305 * lo-ieee.h: Provide decl. | |
6306 Don't define lo_ieee_signbit as a macro here. | |
6307 From Orion Poplawski <orion@cora.nwra.com>. | |
6308 | |
5085 | 6309 2004-11-18 John W. Eaton <jwe@octave.org> |
6310 | |
6311 * int32NDArray.cc (pow): Delete instantiation. | |
6312 * int16NDArray.cc (pow): Likewise. | |
6313 * int8NDArray.cc (pow): Likewise. | |
6314 * uint32NDArray.cc (pow): Likewise. | |
6315 * uint16NDArray.cc (pow): Likewise. | |
6316 * uint8NDArray.cc (pow): Likewise. | |
6317 | |
5081 | 6318 2004-11-17 John W. Eaton <jwe@octave.org> |
6319 | |
5085 | 6320 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
6321 Now static. | |
6322 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
6323 DEFAULT_TEXMFDBS): Delete unused macros. | |
6324 | |
5081 | 6325 * Array.cc (Array<T>::index): Call generic N-d indexing function |
6326 if idx_arg is N-d. | |
6327 | |
5073 | 6328 2004-11-09 David Bateman <dbateman@free.fr> |
6329 | |
6330 * dNDArray.cc (concat): Delete. | |
6331 (NDArray::concat): New methods. | |
6332 * dNDArray.h: Provide decls. | |
6333 | |
6334 * CNDArray.cc (concat): Delete. | |
6335 (ComplexNDArray::concat): New methods. | |
6336 * CNDArray.h: Provide decls. | |
6337 | |
6338 * boolNDArray.cc (concat): Delete. | |
6339 (boolNDArray::concat): New methods. | |
6340 * boolNDArray.h: Provide decls. | |
6341 | |
6342 * chNDArray.cc (concat): Delete. | |
6343 (charNDArray::concat): New methods. | |
6344 * chNDArray.h: Provide decls. | |
6345 | |
6346 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
6347 Delete macros. | |
6348 | |
6349 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6350 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
6351 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
6352 | |
6353 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
6354 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
6355 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
6356 | |
6357 * intNDArray.cc (intNDArray<T>::concat): New method. | |
6358 * intNDArray.h: Provide decl. | |
6359 | |
5072 | 6360 2004-11-08 John W. Eaton <jwe@octave.org> |
6361 | |
6362 * oct-inttypes.cc: New file. | |
6363 * Makefile.in (TI_SRC): Add it to the list. | |
6364 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
6365 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
6366 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
6367 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
6368 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
6369 New macros for comparison operations. Avoid potential | |
6370 problems with default conversions when comparing signed and | |
6371 unsigned values. | |
6372 | |
5061 | 6373 2004-11-03 John W. Eaton <jwe@octave.org> |
6374 | |
6375 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
6376 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
6377 | |
5052 | 6378 2004-10-19 John W. Eaton <jwe@octave.org> |
6379 | |
6380 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
6381 | |
5047 | 6382 2004-10-18 John W. Eaton <jwe@octave.org> |
6383 | |
6384 * Array.cc (assign2): Save result of squeeze operation. | |
6385 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
6386 | |
5095 | 6387 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 6388 |
6389 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
6390 flag whether transform in- or out-of-place. | |
6391 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
6392 (octave_fftw_planner::create_plan): Use it. | |
6393 | |
5039 | 6394 2004-09-24 John W. Eaton <jwe@octave.org> |
6395 | |
6396 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
6397 any empty matrix, not just []. | |
6398 | |
5030 | 6399 2004-09-23 John W. Eaton <jwe@octave.org> |
6400 | |
6401 * mx-ops: Include scalar zero value in type definitions. | |
6402 Delete zero information from ops section. | |
6403 * mk-ops.awk: Use type-specific zero info. | |
6404 | |
6405 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
6406 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
6407 LHS and RHS. | |
6408 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
6409 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
6410 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
6411 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
6412 | |
6413 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
6414 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
6415 tree_to_mat_idx. | |
6416 | |
6417 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
6418 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
6419 Likewise for the "if (b_val & one)" test. | |
6420 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
6421 | |
5029 | 6422 2004-09-23 David Bateman <dbateman@free.fr> |
6423 | |
6424 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
6425 New macros. Use them to define mixed intX-double and double-intX ops. | |
6426 | |
5021 | 6427 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
6428 | |
6429 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
6430 Fix doc string layout to avoid overfull hbox in printed output. | |
6431 | |
5015 | 6432 2004-09-21 John W. Eaton <jwe@octave.org> |
6433 | |
6434 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
6435 * mach-info.cc (octave_mach_info::string_to_float_format): | |
6436 For "native", set actual native format. | |
6437 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
6438 | |
5008 | 6439 2004-09-17 David Bateman <dbateman@free.fr> |
6440 | |
6441 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
6442 calculation of the unitary matrix optional. | |
6443 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
6444 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
6445 | |
4998 | 6446 2004-09-15 David Bateman <dbateman@free.fr> |
6447 | |
6448 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
6449 New function to set the comparison function for the sort. | |
6450 | |
4985 | 6451 2004-09-10 John W. Eaton <jwe@octave.org> |
6452 | |
6453 * lo-mappers.cc (xround): Fix typo. | |
6454 | |
4979 | 6455 2004-09-08 John W. Eaton <jwe@octave.org> |
6456 | |
6457 * Array.h (Array::~Array): Declare virtual. | |
6458 | |
6459 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
6460 initializaion list. Don't set rep->count since the rep | |
6461 constructor does that. | |
6462 | |
4968 | 6463 2004-09-07 John W. Eaton <jwe@octave.org> |
6464 | |
4970 | 6465 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
6466 (oct_data_conv::data_type_as_string): Likewise. | |
6467 | |
6468 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
6469 | |
4968 | 6470 * Range.cc (round): Delete unused function. |
6471 | |
6472 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
6473 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
6474 | |
6475 * oct-inttypes.h: Include <cmath> here. | |
6476 | |
4964 | 6477 2004-09-03 David Bateman <dbateman@free.fr> |
6478 | |
6479 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
6480 New functions for boolean matrix concatenation. | |
6481 * boolNDArray.h: Provide decls. | |
6482 | |
4963 | 6483 2004-09-03 John W. Eaton <jwe@octave.org> |
6484 | |
4964 | 6485 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
6486 to avoid signed/unsigned int comparison problems. | |
6487 | |
6488 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
6489 for mixed integer and double types. | |
6490 | |
6491 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
6492 separately, and only if needed. | |
6493 | |
4963 | 6494 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
6495 static_cast for type conversion. | |
6496 | |
4953 | 6497 2004-09-01 John W. Eaton <jwe@octave.org> |
6498 | |
6499 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
6500 operator /): Handle mixed integer/double ops. If op generates a | |
6501 NaN, set result to 0. | |
6502 (octave_int::operator - (void)): Convert to double, then negate, | |
6503 then fit to range. | |
6504 | |
6505 * mx-ops: Define integer types. Include declarations for mixed | |
6506 integer/double ops. | |
6507 | |
4952 | 6508 2004-08-31 John W. Eaton <jwe@octave.org> |
6509 | |
6510 * oct-inttypes.h (pow): Args now const reference. | |
6511 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
6512 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
6513 New member functions. | |
6514 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
6515 (operator >> (const octave_int<T1>& x, const T2& y)): | |
6516 Define in terms of >>=. | |
6517 (operator << (const octave_int<T1>& x, const T2& y)): | |
6518 Define in terms of <<=. | |
6519 (bitshift): Operate on octave_int<T> objects, not the values, so | |
6520 we get proper saturation properties. | |
6521 | |
6522 2004-08-31 David Bateman <dbateman@free.fr> | |
6523 | |
6524 * oct-inttypes.h (pow (constT, T)): New template. | |
6525 | |
6526 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
6527 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
6528 | |
4949 | 6529 2004-08-31 John W. Eaton <jwe@octave.org> |
6530 | |
6531 * oct-inttypes.h (octave_int::byte_size): New function. | |
6532 | |
4944 | 6533 2004-08-31 John W. Eaton <jwe@octave.org> |
6534 | |
4946 | 6535 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
6536 | |
4944 | 6537 * data-conv.h (oct_data_conv::data_type): Include sized types. |
6538 Explicitly number enum elements. | |
6539 | |
6540 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
6541 std::string&, int&, oct_data_conv::data_type&, | |
6542 oct_data_conv::data_type&)): New function. | |
6543 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
6544 oct_data_conv::data_type&)): New function. | |
6545 (oct_data_conv::data_type_as_string): New function. | |
6546 | |
6547 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
6548 (write_int, do_write, Matrix::write): Delete. | |
6549 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
6550 | |
6551 * byte-swap.h: Use template functions and specialization. | |
6552 Change all uses. | |
6553 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6554 | |
4943 | 6555 2004-08-30 John W. Eaton <jwe@octave.org> |
6556 | |
6557 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
6558 specializations to avoid warnings about signed/unsigned comparisons. | |
6559 | |
6560 2004-08-28 John W. Eaton <jwe@octave.org> | |
6561 | |
6562 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
6563 size_t, int, oct_mach_info::float_format)): New function. | |
6564 (GET_SIZED_INT_TYPE): New macro. | |
6565 (string_to_data_type): Use it to return sized types corresponding | |
6566 to Octave array data types. | |
6567 (strip_spaces): New function. | |
6568 (do_double_format_conversion, do_float_format_conversion): Pass | |
6569 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
6570 float format. | |
6571 (do_double_format_conversion, | |
6572 IEEE_big_double_to_IEEE_little_double, | |
6573 VAX_D_double_to_IEEE_little_double, | |
6574 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
6575 IEEE_little_double_to_IEEE_big_double, | |
6576 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
6577 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
6578 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
6579 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
6580 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
6581 Cray_to_VAX_G_double): | |
6582 Pass data as void*, not double*. | |
6583 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
6584 VAX_D_float_to_IEEE_little_float, | |
6585 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
6586 IEEE_little_float_to_IEEE_big_float, | |
6587 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
6588 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
6589 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
6590 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
6591 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
6592 Cray_to_VAX_G_float): | |
6593 Pass data as void*, not float*. | |
6594 | |
6595 2004-08-27 John W. Eaton <jwe@octave.org> | |
6596 | |
6597 * byte-swap.h (swap_bytes): New template versions, with | |
6598 specializations. | |
6599 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6600 Change all uses. | |
6601 | |
4940 | 6602 2004-08-24 David Bateman <dbateman@free.fr> |
6603 | |
6604 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
6605 empty instead of checking final matrix. | |
6606 * dNDArray.cc (concat): Likewise. | |
6607 * CNDArray.cc (concat): Likewise. | |
6608 | |
6609 2004-08-23 David Bateman <dbateman@free.fr> | |
6610 | |
6611 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
6612 non-existent dimensions. | |
6613 | |
4938 | 6614 2004-08-09 John W. Eaton <jwe@octave.org> |
6615 | |
6616 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
6617 (const octave_int<U>&)): New member function. | |
6618 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
6619 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
6620 Now member functions instead of static in idx-vector.cc. | |
6621 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
6622 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
6623 New template constructors. | |
6624 | |
4932 | 6625 2004-08-05 John W. Eaton <jwe@octave.org> |
6626 | |
4933 | 6627 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
6628 | |
4932 | 6629 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
6630 intNDArray<T>::any): Sprinkle with this-> as needed. | |
6631 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
6632 | |
4929 | 6633 2004-08-03 John W. Eaton <jwe@octave.org> |
6634 | |
6635 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
6636 arrays with more than two dimensions and only one non-singleton | |
6637 dimension, return a column vector. | |
6638 | |
4921 | 6639 2004-07-28 John W. Eaton <jwe@octave.org> |
6640 | |
6641 * oct-cmplx.h (pow (const Complex&, const double&): | |
6642 Convert second arg to complex to avoid libstdc++ bug. | |
6643 | |
4920 | 6644 2004-07-27 John W. Eaton <jwe@octave.org> |
6645 | |
6646 * oct-inttypes.h (bitshift): New arg, MASK. | |
6647 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
6648 | |
4916 | 6649 2004-07-23 John W. Eaton <jwe@octave.org> |
6650 | |
6651 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
6652 | |
4915 | 6653 2004-07-23 David Bateman <dbateman@free.fr> |
6654 | |
6655 * Array.cc, Array.h (cat_ra): Delete. | |
6656 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
6657 (INSTANTIATE_ARRAY_CAT): Delete. | |
6658 | |
6659 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6660 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
6661 | |
6662 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
6663 | |
6664 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6665 chNDArray.h (concat): New function used for concatenation that does | |
6666 an indexed copy of one array into another. | |
6667 | |
6668 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
6669 | |
6670 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6671 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
6672 insertion of one NDArray into another. | |
6673 | |
6674 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
6675 macros to define the int/uint concatenation functions. | |
6676 | |
6677 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
6678 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
6679 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
6680 | |
6681 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
6682 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
6683 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
6684 functions. | |
6685 | |
4911 | 6686 2004-07-22 David Bateman <dbateman@free.fr> |
6687 | |
6688 * oct-sort.h: Don't include oct-obj.h. | |
6689 | |
6690 * lo-specfun.cc (is_integer_value): New function. | |
6691 (zbesj, zbesi, zbesy): Special case negative integer or half | |
6692 integer orders that cause overflow for small arguments. | |
6693 | |
4909 | 6694 2004-07-12 John W. Eaton <jwe@octave.org> |
6695 | |
6696 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
6697 (bitshift (const octave_int<T>&, int)): New function. | |
6698 | |
4902 | 6699 2004-06-14 John W. Eaton <jwe@octave.org> |
6700 | |
6701 * mx-base.h: Include headers for new int types. | |
6702 | |
6703 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
6704 NDArray::NDArray (const charNDArray&)): Delete. | |
6705 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
6706 constructor. | |
6707 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6708 | |
6709 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
6710 return type conversion. | |
6711 | |
6712 * ComplexNDArray.h, ComplexNDArray.cc | |
6713 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
6714 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6715 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6716 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
6717 | |
6718 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6719 | |
6720 * MArrayN.h: | |
6721 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
6722 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
6723 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
6724 New constructors. | |
6725 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6726 ArrayN<T>::squeeze): | |
6727 New forwarding functions for return type conversion. | |
6728 | |
6729 * ArrayN.h: | |
6730 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
6731 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
6732 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
6733 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
6734 const dim_vector&)): New constructors. | |
6735 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6736 ArrayN<T>::transpose): | |
6737 New forwarding functions for return type conversion. | |
6738 | |
6739 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
6740 New constructor. | |
6741 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
6742 | |
6743 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
6744 | |
6745 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6746 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
6747 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
6748 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
6749 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
6750 * Makefile.in: Add them to the appropriate lists. | |
6751 | |
4899 | 6752 2004-06-04 John W. Eaton <jwe@octave.org> |
6753 | |
6754 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
6755 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
6756 resize op. Change all uses. | |
6757 | |
4898 | 6758 2004-06-03 David Bateman <dbateman@free.fr> |
6759 | |
6760 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
6761 greater than the existing number of dimensions in lvalue. | |
6762 | |
4887 | 6763 2004-04-30 David Bateman <dbateman@free.fr> |
6764 | |
6765 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
6766 New arg, fill_value. | |
6767 (dim_vector::resize): Allow optional fill_value argument. | |
6768 | |
6769 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6770 Don't chop trailing dimensions of Array<idx_vector> if there is | |
6771 more than one element in idx_vector. Resize the return value to | |
6772 the size of Array<idx_vector>. | |
6773 | |
6774 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
6775 idx_vector that is shorter than a dim_vector. | |
6776 | |
4882 | 6777 2004-04-23 John W. Eaton <jwe@octave.org> |
6778 | |
6779 * oct-sort.cc: Don't include oct-obj.h. | |
6780 | |
4876 | 6781 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6782 | |
6783 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
6784 Don't set invalid dimensions on return value. | |
6785 | |
4871 | 6786 2004-04-21 John W. Eaton <jwe@octave.org> |
6787 | |
6788 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
6789 | |
4850 | 6790 2004-04-06 David Bateman <dbateman@free.fr> |
6791 | |
4870 | 6792 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
6793 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
6794 Make their behavior equivalent except for filling vs. not filling. | |
6795 | |
4850 | 6796 * oct-sort.cc: New template class for arbitrary sorting. |
6797 * oct-sort.h: Declaration of sort class. | |
6798 * Makefile: Add them to the appropriate lists. | |
6799 | |
4845 | 6800 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6801 | |
6802 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
6803 | |
4844 | 6804 2004-04-02 David Bateman <dbateman@free.fr> |
6805 | |
6806 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
6807 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 6808 New N-d array versions. |
4844 | 6809 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
6810 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
6811 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
6812 | |
6813 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
6814 New functions. | |
6815 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
6816 | |
6817 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6818 New functions. | |
6819 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6820 Provide decls. | |
6821 | |
4842 | 6822 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
6823 | |
6824 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
6825 work vector, not just when using a numerical Jacobian. | |
6826 | |
4834 | 6827 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6828 | |
4835 | 6829 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
6830 Omit empty result args. | |
6831 | |
4834 | 6832 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
6833 Move here from Array.h, check that size of array arg is not | |
6834 smaller than the size defined by the new dimensions. | |
6835 | |
4832 | 6836 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6837 | |
6838 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
6839 a scalar or vector with an N-d array. | |
6840 | |
4826 | 6841 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6842 | |
4828 | 6843 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
6844 matrix, return object that is the same size as the index. | |
6845 | |
4826 | 6846 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
6847 Eliminate MT_RESULT args. Return value is always size of args. | |
6848 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
6849 Eliminate EMPTY_RESULT arg. | |
6850 Return value is always size of matrix or N-d array arg. | |
6851 (TBM, FBM, NBM): Delete unused macros. | |
6852 | |
4821 | 6853 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6854 | |
6855 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
6856 if all LHS dimensions are zero. For one index case, freeze and | |
6857 sort idx_vec before checking length, and do nothing if | |
6858 num_to_delete is zero. | |
4822 | 6859 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 6860 |
4816 | 6861 2004-03-04 David Bateman <dbateman@free.fr> |
6862 | |
6863 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
6864 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
6865 | |
4811 | 6866 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
6867 | |
6868 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
6869 element. | |
6870 | |
6871 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6872 | |
6873 * Range.h (Range::Range): Add cache to member initialization list. | |
6874 (Range::clear_cache): New private function. | |
6875 | |
6876 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
6877 Use clear cache. Don't do anything if range does not change. | |
6878 * Range.cc (Range::sort): Likewise. | |
6879 | |
4810 | 6880 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
6881 | |
6882 * Range.cc (Range::matrix_value): Cache result. | |
6883 (Range::sort): Clear cache. | |
6884 * Range.h (Range::cache): New data member. | |
6885 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
6886 (Range::print_range): Delete. | |
4808 | 6887 |
6888 2004-03-02 David Bateman <dbateman@free.fr> | |
6889 | |
6890 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
6891 changes between them. Faster for small fft's. | |
6892 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
6893 New member variables. | |
6894 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
6895 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
6896 Change all uses. | |
6897 (CHECK_SIMD_ALIGNMENT): New macro. | |
6898 (octave_fftw_planner::create_plan): Use it. | |
6899 | |
4806 | 6900 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
6901 | |
6902 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
6903 | |
6904 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
6905 | |
6906 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
6907 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
6908 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
6909 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
6910 | |
6911 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
6912 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
6913 | |
4800 | 6914 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6915 | |
4802 | 6916 * oct-rl-edit.c (octave_rl_set_startup_hook, |
6917 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
6918 octave_rl_get_event_hook): Omit casts. | |
6919 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
6920 Return value for function pointer typedef is now int. | |
6921 * cmd-edit.h (command_editor::startup_hook_fcn, | |
6922 command_editor::event_hook_fcn): Likewise. | |
6923 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
6924 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
6925 Return type is now int. Return 0. | |
6926 | |
4800 | 6927 * EIG.cc (EIG::init, EIG::symmetric_init): |
6928 Query Lapack for workspace size. | |
6929 | |
4796 | 6930 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6931 | |
6932 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
6933 Fix thinko in extending dimensions. | |
6934 | |
4791 | 6935 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6936 | |
6937 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
6938 Don't compute values beyond the limits of the range. | |
6939 (operator << (std::ostream&, const Range&)): Likewise. | |
6940 | |
4786 | 6941 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
4788 | 6943 * oct-fftw.cc (octave_fftw_planner::create_plan): |
6944 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
6945 From Paul Kienzle <pkienzle@users.sf.net>. | |
6946 | |
4786 | 6947 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
6948 Rename from Array<T>::insert. | |
6949 (Array<T>::insert2 (const Array<T>&, int, int)): | |
6950 Reinstate old Array<T>::insert function under this name. | |
6951 (Array<T>::insert (const Array<T>&, int, int)): | |
6952 New function. Dispatch to insert2 or insertN as appropriate. | |
6953 | |
4785 | 6954 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6955 | |
6956 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6957 Sprinkle with OCTAVE_QUIT. | |
6958 | |
5095 | 6959 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 6960 |
6961 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
6962 Add support for FFTW 3.x. Include the ability to | |
6963 use the real to complex transform for fft's of real matrices | |
6964 (octave_fftw_planner::create_plan2d): Delete. | |
6965 (octave_fftw::fft2d): Delete. | |
6966 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6967 New static functions. | |
6968 * oct-fftw.h: Update decls. | |
6969 | |
6970 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6971 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
6972 transforms. 1D FFT of a matrix done as single call rather than | |
6973 loop. Update for FFTW 3.x | |
6974 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
6975 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
6976 matrix done as single call rather than loop. Update for FFTW 3.x. | |
6977 | |
6978 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
6979 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
6980 functions for Nd arrays. | |
6981 * dNArray.h Provide decls. | |
6982 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
6983 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
6984 fourier transform functions for complex Nd arrays. | |
6985 * CNArray.h: Provide decls. | |
6986 | |
4765 | 6987 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
6988 | |
6989 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
6990 Make it work for N-d arrays. | |
6991 | |
6992 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
6993 New function. | |
6994 | |
6995 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
6996 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
6997 New functions. | |
6998 * CNDArray.h: Provide decls. | |
6999 | |
4759 | 7000 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7001 | |
4760 | 7002 * Makefile.in (LINK_DEPS): Always define. |
7003 | |
4759 | 7004 * Array.cc (Array<T>::squeeze): Always return an array with at |
7005 least two dimensions. | |
7006 | |
4758 | 7007 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7008 | |
7009 * mx-inlines.cc (MX_ND_CAT): New macro. | |
7010 * dNDArray.cc (NDArray::cat): New function. | |
7011 * dNDArray.h: Provide decls. | |
7012 * CNDArray.cc (complexNDArray::cat): New function. | |
7013 * CNDArray.h: Provide decls. | |
7014 * chNDArray.cc (charNDArray::cat): New function. | |
7015 * chNDArray.h: Provide decls. | |
7016 | |
4756 | 7017 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
7020 (Array<T>assign2): Also call maybe_delete_elements for single | |
7021 index when rows and columns or LHS are both greater than 1. | |
7022 | |
4755 | 7023 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
7024 | |
7025 * Array.cc (Array<T>::maybe_delete_elements): | |
7026 Check for index out of bounds. Handle one index. | |
7027 | |
7028 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
7029 dim_vector (0) to create empty return vector. | |
7030 | |
4749 | 7031 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7032 | |
7033 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
7034 non-empty LHS when the number of lhs dimensions is less than the | |
7035 number of indices. Detect error if attempting to resize non-empty | |
7036 LHS with colon indices. | |
7037 | |
4745 | 7038 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7039 | |
4747 | 7040 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
7041 values unless the length of the new array is greater than 0. | |
7042 (Array<T>::resize_no_fill): Likewise. | |
7043 | |
7044 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
7045 is equal to dimensions(i). | |
7046 | |
7047 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
7048 get_zero_len_size, number_of_elements): | |
7049 Delete unused functions. | |
7050 | |
7051 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
7052 number_of_elements function. | |
7053 * Array.cc (Array<T>::indexN): Likewise. | |
7054 | |
7055 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
7056 of equal_arrays function. | |
7057 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
7058 dim_vector::any_zero instead of any_zero_len function. | |
7059 | |
7060 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
7061 Don't skip reshaping and resizing if RHS is empty. | |
7062 | |
4746 | 7063 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
7064 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 7065 Delete unused variables is_colon and is_colon_equiv. |
4746 | 7066 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
7067 LHS is not yet defined. | |
4745 | 7068 Error for resizing if number of indices is less than number of LHS |
7069 dimensions. | |
7070 | |
4746 | 7071 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
7072 Fortran-style indexing. | |
7073 | |
4743 | 7074 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7075 | |
7076 * Array.cc (Array<T>::assignN): Simplify. | |
7077 Allow assignments to succeed if number if indices is less than the | |
7078 number of RHS dimensions. | |
7079 | |
4738 | 7080 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
7081 | |
4741 | 7082 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
7083 when number of indices is less than number of dimensions. | |
7084 | |
7085 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
7086 Remove unsued variable lhs_inc. | |
7087 | |
4740 | 7088 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
7089 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
7090 | |
7091 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
7092 | |
4738 | 7093 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
7094 == n_dims before checking to see if all indices are colon_equiv. | |
7095 | |
4736 | 7096 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7097 | |
7098 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
7099 deleting elements. | |
4737 | 7100 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
7101 at least ndims elements. | |
4736 | 7102 |
4735 | 7103 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
7104 | |
7105 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
7106 oriented differently from the index. | |
7107 | |
7108 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
7109 least two dimensions. | |
7110 | |
4733 | 7111 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
4735 | 7113 * dim-vector.h (dim_vector::squeeze): New function. |
7114 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
7115 deciding whether the assignment conforms. | |
7116 | |
4733 | 7117 * Array.cc (Array<T>::assignN): Simplify dimension check by |
7118 comparing rhs_dims and frozen_len sans trailing singletons. | |
7119 | |
4732 | 7120 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7121 | |
7122 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
7123 Call error handler and return conversion_error == true if arg is | |
7124 not integer. | |
7125 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
7126 | |
4730 | 7127 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7128 | |
7129 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
7130 reference arg const. | |
7131 | |
7132 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7133 | |
7134 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
7135 | |
4729 | 7136 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
7137 | |
7138 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
7139 Now bool, to match definition in Array-flags.cc. | |
7140 | |
4725 | 7141 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7142 | |
4726 | 7143 * file-ops.cc: Include <vector> instead of <memory> for new |
7144 definition of OCTAVE_LOCAL_BUFFER. | |
7145 | |
4725 | 7146 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
7147 New arg, calc_eigenvectors. | |
7148 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
7149 Based on patch from David Bateman <dbateman@free.fr>. | |
7150 | |
4716 | 7151 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7152 | |
7153 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
7154 For X(I) = RHS, don't restrict I to fewer elements than X. | |
7155 | |
7156 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
7157 | |
4711 | 7158 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
7159 | |
4714 | 7160 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
7161 Simplify calculation of number of elements in retval. | |
7162 | |
4711 | 7163 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
7164 filling when RHS is scalar and dimension lengths agree. | |
7165 | |
4710 | 7166 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7167 | |
4713 | 7168 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
7169 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 7170 |
4707 | 7171 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
7172 | |
4709 | 7173 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
7174 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 7175 |
4702 | 7176 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
7177 | |
4703 | 7178 * Array.h (Array<T>::chop_trailing_singletons): New function. |
7179 * Array.cc (Array<T>::assignN): Use it on LHS. | |
7180 | |
7181 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 7182 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 7183 Check for singleton dimensions where RHS is matrix or higher dimension. |
7184 Make sure index is in bounds. | |
4702 | 7185 |
4698 | 7186 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7187 | |
7188 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
7189 octave_NaN, and octav_NA values are always initialized. Check | |
7190 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
7191 to decide whether to do IEEE initialization. | |
7192 | |
4687 | 7193 2004-01-06 David Bateman <dbateman@free.fr> |
7194 | |
7195 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
7196 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
7197 ComplexNDArray::too_large_for_float): New functions | |
7198 | |
7199 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
7200 * CNDArray.h: Provide decls. | |
7201 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
7202 * dNDArray.h: Provide decls. | |
7203 | |
4673 | 7204 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7205 | |
4674 | 7206 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
7207 they are already defined in boolNDArray.cc. | |
7208 | |
4673 | 7209 * Array-util.cc (get_zero_len_size): Delete. |
7210 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
7211 Handle zero-length result dimensions the same as empty original | |
7212 indices. | |
7213 | |
7214 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7215 | |
7216 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
7217 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
7218 New functions. | |
7219 * Array.cc (ArrayN<T>::indexN): Use it. | |
7220 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
7221 | |
4669 | 7222 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7223 | |
7224 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
7225 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
7226 | |
7227 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7228 | |
7229 * mk-ops.awk: Also emit #include "Array-util.h". | |
7230 | |
7231 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
7232 Add bnda x bnda, b x bnda, and bnda x b ops. | |
7233 | |
7234 * MArray-misc.cc: Delete. | |
7235 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
7236 | |
7237 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
7238 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
7239 | |
4655 | 7240 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7241 | |
4663 | 7242 * dbleQR.cc (QR::init): Use separate pwork pointers. |
7243 * CmplxQR.cc (ComplexQR::init): Likewise. | |
7244 | |
7245 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
7246 two-arg getgrnam version. | |
7247 | |
4657 | 7248 * Array.cc (assignN): Allow single indexing to work. |
4661 | 7249 (Array<T>::range_error (const char*, const Array<int>&)): |
7250 Report index values. | |
7251 | |
7252 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 7253 * ODESSA.cc (odessa_j): Likewise. |
7254 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
7255 * DASPK.cc (ddaspk_psol): Likewise. | |
7256 * lo-mappers.cc (imag): Likewise. | |
4663 | 7257 * Array-util.cc (get_zero_len_size): Likewise. |
7258 * kpse.cc (path_search, path_find_first_of): Likewise. | |
7259 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 7260 |
4655 | 7261 * dim-vector.h (dim_vector::all_ones): New function. |
7262 | |
4646 | 7263 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7264 | |
4653 | 7265 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
7266 zeros, not orig_rows or orig_columns. | |
7267 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
7268 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
7269 | |
7270 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
7271 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
7272 | |
7273 * idx-vector.cc (idx_vector::idx_vector_rep): | |
7274 Use initialization lists for constructors. | |
7275 | |
4651 | 7276 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
7277 Omit special case for ra_idx.capacity () == 1. | |
7278 Always allow single index for matrix args with optional warning. | |
7279 | |
4650 | 7280 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
7281 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
7282 | |
4648 | 7283 * Array-so.cc: New file. Move instantiations here from so-array.h. |
7284 * Makefile.in (TI_SRC): Add it to the list. | |
7285 | |
4646 | 7286 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
7287 type and the names of the left and right operands. Change all uses. | |
7288 | |
7289 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
7290 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
7291 | |
4645 | 7292 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7293 | |
7294 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
7295 just length. | |
7296 | |
7297 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
7298 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
7299 non-dependent member functions and data as needed. | |
7300 | |
7301 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
7302 | |
7303 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
7304 * Array3.h (Array3<T>::operator =): Likewise. | |
7305 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
7306 Include Array.h, not Array2.h. | |
7307 | |
4634 | 7308 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7309 | |
4636 | 7310 * str-vec.cc (list_in_columns): Fix previous change. |
7311 | |
4635 | 7312 * dim-vector.h (dim_vector::num_ones): New function. |
7313 * Array.cc (maybe_delete_elements): Use it instead of | |
7314 num_ones (const Array<int>&). | |
7315 | |
7316 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
7317 | |
4634 | 7318 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
7319 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
7320 New functions. | |
7321 * dNDArray.h: Provide decls. | |
7322 | |
7323 * dMatrix.h (Matrix::any_element_is_negative, | |
7324 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
7325 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
7326 Simplify. | |
7327 | |
7328 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
7329 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
7330 | |
7331 * dNDArray.cc (real, imag): New functions. | |
7332 * dNDArray.h: Provide decls. | |
7333 | |
4630 | 7334 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7335 | |
7336 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
7337 | |
4625 | 7338 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7339 | |
7340 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
7341 * MArray.h (resize): Delete. | |
7342 * MArray2.h (resize): Delete. | |
7343 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
7344 * ODESSA (ODESSA::integrate): Likewise. | |
7345 | |
4616 | 7346 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7347 | |
7348 * Makefile.in (dist): Depend on stamp-prereq. | |
7349 | |
4605 | 7350 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
7351 | |
7352 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
7353 Kluge to make it work. | |
4604 | 7354 |
7355 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
7356 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
7357 | |
7358 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
7359 default_command_editor::do_generate_filename_completions, | |
7360 command_editor::generate_filename_completions): New functions. | |
7361 * cmd-edit.h: Provide decls. | |
7362 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
7363 function. | |
7364 * oct-rl-edit.h: Provide decl. | |
7365 | |
4593 | 7366 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7367 | |
4594 | 7368 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
7369 INSTANTIATE_ARRAY): New macros. | |
7370 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7371 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
7372 | |
4593 | 7373 * Array.h (Array<T>::ipermute): New function. |
7374 | |
7375 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
7376 | |
7377 * Array.cc (Array<T>::permute): New function. | |
7378 * Array.h: Provide decl. | |
7379 | |
7380 * Array-util.cc (calc_permutated_idx): New function. | |
7381 * Array-util.h: Provide decl. | |
7382 | |
4587 | 7383 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7384 | |
4592 | 7385 * Array.cc (Array<T>::index2): Return value has orientation of |
7386 indexed value if indexing a vector with a bool matrix. | |
7387 | |
4589 | 7388 * ArrayN.h (ArrayN<T>::get_size): Delete. |
7389 | |
4588 | 7390 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
7391 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
7392 | |
7393 * ArrayN-inline.h: Delete. | |
7394 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
7395 * Makefile.in: Fix the appropriate lists. | |
7396 | |
4587 | 7397 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
7398 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
7399 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
7400 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
7401 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
7402 Avoid -Wshadow warnings. | |
7403 | |
7404 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 7405 |
7406 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
7407 | |
7408 * mk-ops.awk: Delete elements of bool_headers array individually. | |
7409 | |
7410 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7411 | |
7412 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
7413 | |
4584 | 7414 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
7415 | |
7416 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
7417 | |
7418 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
7419 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
7420 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
7421 Return NDArray. Handle N-d arrays. | |
7422 | |
4575 | 7423 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7424 | |
4583 | 7425 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
7426 that upcase Fortran names by calling dlsode instead of lsode. | |
7427 | |
7428 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
7429 that upcase Fortran names by calling dodessa instead of odessa. | |
7430 | |
4577 | 7431 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
7432 non-const args for symlink system call. | |
7433 (file_ops::readlink): Likewise, for readlink. | |
7434 | |
4575 | 7435 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
7436 | |
4574 | 7437 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7438 | |
7439 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
7440 Change all uses. | |
7441 | |
4569 | 7442 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
7443 | |
7444 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
7445 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
7446 * dNDArray.h: Provide decls. | |
7447 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
7448 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
7449 ComplexNDArray::abs): New functions. | |
7450 * CNDArray.h: Provide decls. | |
7451 | |
7452 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
7453 Generalize to handle other reduction operations. | |
7454 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
7455 MX_ND_ALL_ANY_REDUCTION): New macros. | |
7456 | |
4565 | 7457 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7458 | |
4567 | 7459 * Array.cc (Array<T>::reshape): New function. |
7460 * Array.h: Provide decl. | |
7461 | |
7462 * dim-vector.h (dim_vector::numel): New function. | |
7463 | |
4565 | 7464 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
7465 dim_vector&)): Correctly handle case of n < dv->ndims. | |
7466 | |
4559 | 7467 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7468 | |
7469 * dim-vector.h (dim_vector::any_zero): New function. | |
7470 (dim_vector::str): New default arg, sep. | |
7471 | |
7472 * Array.h (Array<T>::numel): New function. | |
7473 | |
4556 | 7474 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
7475 | |
7476 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
7477 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
7478 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
7479 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7480 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
7481 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
7482 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
7483 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7484 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
7485 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
7486 | |
4552 | 7487 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7488 | |
4553 | 7489 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
7490 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
7491 | |
4552 | 7492 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
7493 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7494 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
7495 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
7496 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7497 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7498 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
7499 Use new F77 arg macros in declarations of external Fortran | |
7500 subroutines and for calling them. | |
7501 | |
4548 | 7502 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7503 | |
7504 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
7505 Allow number of dimensions to change. | |
7506 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
7507 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
7508 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
7509 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
7510 (Array<T>::transpose): Require ndims to be 2. | |
7511 (Array<T>::index2): Likewise. | |
7512 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
7513 (Array<T>::maybe_delete_elements_2): Likewise. | |
7514 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
7515 (Array<T>::index1): Use resize_and_fill. | |
7516 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
7517 | |
7518 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
7519 | |
7520 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
7521 (MArray2<T>::resize (int, int, const T&)): New function. | |
7522 | |
7523 * MArray.h (MArray<T>::resize (int)): New function. | |
7524 (MArray<T>::resize (int, const T&)): New function. | |
7525 | |
7526 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
7527 | |
7528 * DASPK-opts.in: Use single-arg resize for initial condition | |
7529 heuristics. | |
7530 | |
7531 * dim-vector.h (class dim_vector): Now reference counted. | |
7532 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
7533 | |
4544 | 7534 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7535 | |
4545 | 7536 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
7537 | |
4544 | 7538 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
7539 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
7540 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
7541 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
7542 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
7543 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
7544 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
7545 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
7546 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
7547 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
7548 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
7549 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
7550 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
7551 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
7552 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
7553 files are now automatically generated. | |
7554 | |
7555 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
7556 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
7557 Add rules to generate these files and mx-ops.h. | |
7558 (stamp-prereq): Depend on these files. | |
7559 | |
7560 * mx-ops, vx-ops, mk-ops.awk: New files. | |
7561 * Makefile.in (DISTFILES): Add them to the list. | |
7562 | |
4543 | 7563 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7564 | |
7565 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
7566 NDArray::NDArray (const charNDArray)): New constructors. | |
7567 (NDArray::operator !): New function. | |
7568 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7569 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7570 | |
7571 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
7572 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
7573 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
7574 New constructors. | |
7575 (ComplexNDArray::operator !): New function. | |
7576 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7577 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7578 | |
7579 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
7580 | |
7581 * boolNDArray.cc (boolNDArray::operator !): New function. | |
7582 Provide NDND_CMP_OPS. | |
7583 | |
7584 * MArrayN.cc (operator +=, operator -=): New functions. | |
7585 Provide product and quotient functions. | |
7586 | |
7587 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
7588 dim_vector&)): New function. | |
7589 | |
7590 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
7591 operator ==, operator !=): New functions. | |
7592 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
7593 | |
7594 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
7595 No need to save old dimensions. | |
7596 | |
7597 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
7598 (octave_rand::nd_array): New function. | |
7599 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
7600 | |
7601 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
7602 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
7603 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
7604 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
7605 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
7606 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
7607 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
7608 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
7609 NDND_OP_DECLS): New macros. | |
7610 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
7611 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
7612 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
7613 | |
7614 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
7615 boolNDArray, class charNDArray): New forward decls. | |
7616 | |
4534 | 7617 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7618 | |
7619 * Array.cc (assign2): No error (but don't do anything either) for | |
7620 expressions like x([],j) = scalar. | |
7621 | |
4532 | 7622 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7623 | |
4533 | 7624 * Array.cc (assignN): Allow lhs(:) = scalar. |
7625 | |
4532 | 7626 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
7627 * dNDArray.cc (NDArray::increment_index): Likewise. | |
7628 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
7629 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
7630 | |
7631 * dim-vector.h (rows, cols): Delete unused data members. | |
7632 | |
7633 * Array.cc (Array<T>::get_size): Fix thinko. | |
7634 | |
7635 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7636 | |
7637 * Array.cc (Array<T>::squeeze): New function. | |
7638 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
7639 * dNDArray.h (NDArray::squeeze): Likewise. | |
7640 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
7641 * chNDArray.h (charNDArray::squeeze): Likewise. | |
7642 | |
4530 | 7643 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
7644 | |
7645 * Array.cc (ArrayN<T>::indexN): New definition. | |
7646 * Array.h (Array<T>::indexN): Provide decl. | |
7647 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
7648 Call indexN if more than 2 indices. | |
7649 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
7650 Make it (mostly) work. | |
7651 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
7652 New functions. | |
7653 | |
4527 | 7654 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7655 | |
7656 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
7657 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
7658 versions with eof arg. | |
7659 | |
4518 | 7660 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7661 | |
7662 * Array.h (dimensions): Now public. | |
7663 template <class LT, class RT> | |
7664 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
7665 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
7666 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
7667 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
7668 resize_no_fill (int), | |
7669 resize_no_fill (int, int), | |
7670 resize_no_fill (int, int, int), | |
7671 resize_no_fill (const dim_vector&), | |
7672 resize_and_fill (int, const T&), | |
7673 resize_and_fill (int, int, const T&), | |
7674 resize_and_fill (int, int, int, const T&), | |
7675 resize_and_fill (const dim_vector&, const T&)): Now public. | |
7676 | |
7677 * Array.cc: Include <climits>. | |
7678 | |
4513 | 7679 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7680 | |
4517 | 7681 * Array.cc: Merge Array-idx.h. |
7682 * Array-idx.h: Delete. | |
7683 | |
4514 | 7684 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
7685 | |
4513 | 7686 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
7687 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
7688 just special cases of the general purpose N-d Array object). | |
7689 | |
7690 * dim-vector.h: New file. Use dim_vector objects instead of | |
7691 ints or Array<int> objects to represent the size of Array | |
7692 objects. | |
7693 | |
7694 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
7695 | |
7696 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
7697 | |
7698 * mx-base.h: Include NDArray header files. | |
7699 | |
7700 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
7701 | |
7702 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7703 Array-s.cc: Also instantiate ArrayN objects. | |
7704 Don't instantiate assign funcitons for Array2 objects. | |
7705 | |
7706 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
7707 liboctave_error_handler, not cerr. | |
7708 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
7709 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
7710 * dMatrix.cc (Matrix::diag): Likewise. | |
7711 | |
7712 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
7713 Omit checks for HEAVYWEIGHT_INDEXING. | |
7714 | |
7715 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7716 | |
7717 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
7718 | |
7719 * CNDARray.h, CNDArray.cc: New files. | |
7720 * Makefile.in: Add them to the appropriate lists. | |
7721 | |
7722 * dNDArray.h: Rename from NDArray.h. | |
7723 * dNDArray.cc: Rename from NDArray.cc. | |
7724 * Makefile.in: Rename them here too. | |
7725 | |
4507 | 7726 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
7727 | |
7728 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
7729 | |
7730 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
7731 * Makefile.in: Add them to the appropriate lists. | |
7732 | |
5095 | 7733 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 7734 |
7735 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
7736 biry): Always request scaled results from AMOS functions and | |
7737 perform reverse scaling on results if scaled result not requested | |
7738 by user. | |
7739 | |
7740 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7741 | |
7742 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7743 | |
4505 | 7744 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7745 | |
7746 * Array-d.cc: Instantiate assign functions. | |
7747 | |
4504 | 7748 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
7749 | |
7750 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
7751 (get_elt_idx): Index ra_idx correctly. | |
7752 | |
7753 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
7754 bounds if it is exactly on the bound. | |
7755 | |
7756 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
7757 * ArrayN.h: Provide decl. | |
7758 | |
7759 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
7760 | |
7761 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
7762 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
7763 (idx_vector::orig_dimensions): New function. | |
7764 | |
4497 | 7765 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7766 | |
7767 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7768 | |
4496 | 7769 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
7770 | |
7771 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
7772 (is_in, how_many_lgt, all_ones): New functions. | |
7773 | |
4493 | 7774 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7775 | |
7776 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
7777 | |
7778 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
7779 | |
7780 * ArrayN-inline.h: New file. | |
7781 (index_in_bounds, increment_index): Move here. | |
7782 * ArrayN.cc: From here. | |
7783 | |
7784 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
7785 * ArrayN-idx.h (assign): New function. | |
7786 | |
4490 | 7787 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7788 | |
7789 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
7790 Also zero imaginary part of result if real part of input value is | |
7791 zero. | |
7792 | |
4478 | 7793 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7794 | |
7795 * mx-base.h: Include ArrayN.h. | |
7796 | |
4476 | 7797 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7798 | |
7799 * ArrayN.cc (operator <<): Corrected output. | |
7800 | |
4474 | 7801 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7802 | |
7803 * ArrayN.cc (increment_index): New arg, start_dimension. | |
7804 | |
5095 | 7805 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 7806 |
7807 * ArrayN.cc (operator <<): Improve output readability. | |
7808 | |
4493 | 7809 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 7810 |
7811 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
7812 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
7813 Initialize old_len before changing size. | |
7814 | |
4472 | 7815 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7816 | |
7817 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 7818 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 7819 |
4469 | 7820 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7821 | |
7822 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
7823 way. Handle NA in an R-compatible way. | |
7824 | |
7825 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
7826 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
7827 | |
7828 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
7829 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
7830 | |
7831 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
7832 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
7833 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
7834 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
7835 | |
4461 | 7836 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7837 | |
7838 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7839 Pass true for resize_ok arg to freeze. | |
7840 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7841 Likewise. | |
7842 | |
7843 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
7844 resize_ok arg is now bool. | |
7845 * idx-vector.h (idx_vector::freeze): Likewise. | |
7846 | |
7847 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
7848 Rename from liboctave_rre_flag. Now bool. | |
7849 (liboctave_wfi_flag): Now bool. | |
7850 | |
7851 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
7852 | |
5095 | 7853 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 7854 |
7855 * Array.h (resize_fill_value): Now a top-level template function. | |
7856 Accept object as argument. Change all uses. | |
7857 | |
4455 | 7858 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7859 | |
7860 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
7861 | |
7862 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
7863 liboctave_dfi_flag. | |
7864 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
7865 X undefined or empty, always create a row vector. | |
7866 | |
7867 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
7868 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
7869 | |
4437 | 7870 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7871 | |
7872 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7873 Magic colon indexing always produces an object with one column. | |
7874 | |
5095 | 7875 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 7876 |
7877 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
7878 | |
7879 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
7880 | |
4431 | 7881 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7882 | |
7883 * dMatrix.cc (any_element_is_negative): If new optional arg | |
7884 neg_zero is true, also return true for negative zero. | |
7885 | |
4429 | 7886 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7887 | |
7888 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
7889 Handle step limit. | |
7890 * DASSL-opts.in: New option for step limit. | |
7891 | |
5095 | 7892 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 7893 |
7894 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
7895 | |
4428 | 7896 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7897 | |
7898 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
7899 Store step limit in iwork(20), not iwork(18). | |
7900 | |
5095 | 7901 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 7902 |
7903 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
7904 | |
4412 | 7905 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7906 | |
4413 | 7907 * Makefile.in: Handle DESTDIR. |
7908 | |
4412 | 7909 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
7910 (kpse_path_iterator::set_end): Don't miss last element when not | |
7911 followed by a colon. | |
7912 | |
4409 | 7913 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7914 | |
7915 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
7916 | |
7917 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7918 | |
7919 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
7920 (find_first_of): Also do an absolute search on each | |
7921 name before looking in the path. | |
7922 | |
4407 | 7923 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7924 | |
7925 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
7926 directory separator. | |
7927 | |
4399 | 7928 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7929 | |
7930 * pathsearch.cc: Include kpse.cc here. | |
7931 | |
7932 * kpse.cc: All functions are now static. Massive surgery to | |
7933 condense kpathsearch library to a single file of just the | |
7934 essentials for Octave and convert to using C++ strings (no more | |
7935 calls to malloc, very few calls to new, so there should be much | |
7936 less potential for introducing memory leaks now). | |
7937 | |
7938 * Makefile.in (EXTRAS): Move kpse.cc here from | |
7939 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
7940 | |
7941 * kpse.h, kpse-config.h: Delete. | |
7942 * Makefile.in (INCLUDES): Delete them from the list. | |
7943 | |
4392 | 7944 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7945 | |
7946 * str-vec.cc (string_vector::append (const std::string&), | |
7947 string_vector::append (const string_vector&)): New methods. | |
7948 | |
4386 | 7949 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7950 | |
4389 | 7951 * kpse.cc, kpse.h: Replace fn_type with std::string. |
7952 | |
4387 | 7953 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
7954 | |
4386 | 7955 * kpse.cc (xclosedir): Don't define or declare for Windows. |
7956 (READABLE): Now a static function to avoid warnings from MinGW | |
7957 compiler. | |
7958 | |
4384 | 7959 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7960 | |
4385 | 7961 * kpse.cc: Move most functions from kpse-xfns.c here and make |
7962 static. Include most of kpse-xfns.h directly, removing | |
7963 unnecessary bits. | |
7964 | |
4384 | 7965 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
7966 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7967 | |
4378 | 7968 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7969 | |
7970 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
7971 * Makefile.in: Add them to the appropriates lists. | |
7972 | |
7973 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
7974 | |
7975 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
7976 for new locations of kpathsea objects. | |
7977 Delete kpathsea targets. | |
7978 | |
7979 * pathsearch.cc (dir_path::set_program_name): Delete. | |
7980 | |
7981 * kpse.cc: New file. | |
7982 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
7983 | |
7984 * kpse.c: New file. | |
7985 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
7986 | |
7987 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
7988 * Makefile.in (INCLUDES): Add them to the list. | |
7989 | |
7990 * oct-kpse.h: Delete. | |
7991 * Makefile.in (INCLUDES): Delete it from the list. | |
7992 | |
4374 | 7993 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7994 | |
7995 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
7996 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
7997 Likewise. | |
7998 From Quentin H. Spencer <qspencer@ieee.org>. | |
7999 | |
4365 | 8000 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8001 | |
8002 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
8003 | |
4349 | 8004 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8005 | |
4352 | 8006 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
8007 without placement delete. | |
8008 | |
4349 | 8009 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
8010 imaginary parts. | |
8011 | |
8012 * lo-ieee.h (lo_ieee_signbit): New macro. | |
8013 | |
5095 | 8014 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 8015 |
8016 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8017 Use Lapack instead of Linpack. | |
5315 | 8018 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 8019 ComplexMatrix::solve): Likewise. |
8020 | |
8021 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
8022 calc_cond. If 0, skip condition number calculation. | |
8023 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
8024 Likewise. | |
8025 | |
8026 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
8027 * dbleLU.cc (LU::LU): Likewise. | |
8028 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
8029 | |
8030 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8031 | |
8032 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
8033 | |
4323 | 8034 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8035 | |
8036 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
8037 Additional compatibility fix. | |
8038 | |
8039 2003-02-13 Arno Klaassen <arno@scito.com> | |
8040 | |
8041 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8042 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
8043 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
8044 | |
4322 | 8045 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8046 | |
8047 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
8048 Compatibility fix. | |
8049 | |
4316 | 8050 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8051 | |
8052 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
8053 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
8054 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
8055 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
8056 * dRowVector.cc (RowVector::extract_n): Likewise. | |
8057 * dMatrix.cc (Matrix::extract_n): Likewise. | |
8058 | |
8059 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
8060 with make_unique and xelem. | |
8061 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
8062 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
8063 ComplexMatrix::extract, ComplexMatrix::row, | |
8064 ComplexMatrix::column): Likewise. | |
8065 * dColVector.cc (ColumnVector::insert): Likewise. | |
8066 * dRowVector.cc (RowVector::insert): Likewise. | |
8067 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
8068 Matrix::row, Matrix::column): Likewise. | |
8069 | |
4313 | 8070 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8071 | |
8072 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
8073 | |
4309 | 8074 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8075 | |
8076 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
8077 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
8078 * CMatrix.h, dMatrix.h: Provide decls. | |
8079 | |
4307 | 8080 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8081 | |
8082 * oct-rand.h, oct-rand.cc: New files. | |
8083 * Makefile.in: Add them to the appropriate lists. | |
8084 | |
4306 | 8085 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8086 | |
8087 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
8088 | |
4299 | 8089 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
8090 | |
8091 * oct-syscalls.cc: Include signal.h. | |
8092 | |
4294 | 8093 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8094 | |
8095 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
8096 * oct-syscalls.h: Provide decl. | |
8097 | |
8098 | |
4293 | 8099 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8100 | |
8101 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
8102 there is nothing to read. | |
8103 | |
4290 | 8104 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8105 | |
8106 * lo-cutils.c: Define _XOPEN_SOURCE. | |
8107 | |
4286 | 8108 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8109 | |
4288 | 8110 * getopt.h: Update to version from kpathsearch, so we will install |
8111 the version that we are using. | |
8112 | |
8113 * getopt.c, getopt1.c: Delete. | |
8114 (INCLUDES): Delete them from the list. We'll get these files from | |
8115 kpathsearch. | |
8116 | |
4286 | 8117 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
8118 ../kpathsea/STATIC/*.o. | |
8119 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
8120 | |
4270 | 8121 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8122 | |
4282 | 8123 * dMatrix.cc (read_int, write_int): Avoid warnings about |
8124 unreachable code. | |
8125 | |
4279 | 8126 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
8127 to correspond to placement new operator. | |
8128 | |
4278 | 8129 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
8130 (DET::value_will_underflow): Likewise. | |
8131 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
8132 (ComplexDET::value_will_underflow): Likewise. | |
8133 | |
4276 | 8134 * Makefile.in (distclean): Also remove stamp-prereq. |
8135 | |
4306 | 8136 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
8137 RHS and index are empty matrices, don't do anything. | |
4270 | 8138 |
4242 | 8139 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8140 | |
8141 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
8142 delete_c_names): New helper functions. | |
8143 (dir_path::find_first_of): New function. | |
8144 (dir_path::find_all_first_of): Likewise. | |
8145 * pathsearch.h: Provide decls. | |
8146 | |
8147 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
8148 (octave_kpse_all_path_find_first_of): Likewise. | |
8149 * oct-kpse.h: Provide decls. | |
8150 | |
4231 | 8151 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8152 | |
8153 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
8154 * ODESSA-opts.in: Likewise. | |
8155 | |
8156 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
8157 * LSODE-opts.in: Likewise. | |
8158 | |
4229 | 8159 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8160 | |
4230 | 8161 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
8162 in all constructors. | |
8163 | |
4229 | 8164 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
8165 (LINK_DEPS): Not here. | |
8166 | |
4219 | 8167 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8168 | |
4220 | 8169 * str-vec.cc (string_vector::compare): New static member function. |
8170 * str-vec.h: Provide decl. | |
8171 (string_vector::sort): Use it. | |
8172 (str_vec_compare): Delete static function. | |
8173 | |
4219 | 8174 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
8175 a placement operator new. | |
8176 | |
4209 | 8177 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8178 | |
4210 | 8179 * Matrix.h: Include mx-ops.h too. |
4209 | 8180 * mx-ops.h: New file. |
8181 | |
4192 | 8182 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8183 | |
8184 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
8185 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
8186 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
8187 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
8188 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8189 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8190 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
8191 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
8192 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
8193 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
8194 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
8195 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
8196 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
8197 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
8198 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
8199 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
8200 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
8201 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
8202 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
8203 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
8204 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
8205 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
8206 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
8207 | |
4184 | 8208 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8209 | |
8210 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
8211 From Remy Bruno <remy.bruno@libertysurf.fr> | |
8212 | |
4180 | 8213 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8214 | |
8215 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
8216 fortran code that should run fast enough that it is not worth all | |
8217 the setup costs of F77_XFCN. | |
8218 | |
8219 * Quad.cc (user_function): Surround body of function with | |
8220 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
8221 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
8222 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
8223 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
8224 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
8225 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
8226 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
8227 | |
4164 | 8228 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8229 | |
8230 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
8231 of ! defined (linux). | |
8232 | |
5095 | 8233 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 8234 |
8235 * oct-shlib.cc (octave_dyld_shlib): New class. | |
8236 (make_shlib): Instantiate octave_dyld_shlib. | |
8237 | |
4152 | 8238 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8239 | |
4153 | 8240 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
8241 | |
4152 | 8242 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
8243 | |
8244 * Array.h: Include <cstddef> here. | |
8245 | |
4142 | 8246 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8247 | |
4144 | 8248 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
8249 using them. Accept inequality contraint option of 0. Assign | |
8250 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
8251 abs_tol and rel_tol. | |
8252 | |
4143 | 8253 * cmd-edit.h (command_editor::filename_completion_desired): New |
8254 static function. | |
8255 (command_editor::do_filename_completion_desired): New virtual function. | |
8256 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
8257 * oct-rl-edit.h: Provide decl. | |
8258 | |
4142 | 8259 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
8260 avoid OS X linker bug. | |
8261 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
8262 | |
4139 | 8263 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8264 | |
4141 | 8265 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
8266 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
8267 solvers. | |
8268 * ODESSA.cc: Fix all callers. | |
8269 | |
4139 | 8270 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
8271 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
8272 sum(zeros(1,0)) returns 0, not [](1x0)). | |
8273 | |
4136 | 8274 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8275 | |
8276 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
8277 | |
4132 | 8278 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8279 | |
4133 | 8280 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
8281 (ddasrt_f): Combine loops. | |
8282 | |
4132 | 8283 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
8284 instead of empty vector if user termninates iteration. | |
8285 | |
4130 | 8286 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8287 | |
8288 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
8289 octave_read_complex, octave_write_double, octave_write_complex): | |
8290 New functions. | |
8291 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
8292 Use octave_write_complex. | |
8293 (operator >> (std::istream&, const ComplexMatrix&)): | |
8294 Use octave_read_complex. | |
8295 * dMatrix.cc (operator << (std::ostream&, double)): | |
8296 Use octave_write_double. | |
8297 (operator >> (std::istream&, double)): Use octave_read_double. | |
8298 | |
4126 | 8299 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8300 | |
8301 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
8302 * oct-kpse.h: Delete decl. | |
8303 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
8304 ::octave_kpse_clear_dir_cache. | |
8305 | |
4123 | 8306 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8307 | |
4124 | 8308 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
8309 earlier than 3.0. | |
8310 | |
4123 | 8311 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
8312 (liboctave.$(SHLEXT)): Not here. | |
8313 | |
5095 | 8314 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 8315 |
8316 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
8317 | |
4108 | 8318 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8319 | |
8320 * Makefile.in (install-lib): Don't bother with versions for | |
8321 $(SHLBIN) files. | |
8322 | |
5095 | 8323 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 8324 |
8325 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
8326 | |
4102 | 8327 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8328 | |
8329 * lo-cieee.c: Move everything but lo_ieee_init here. | |
8330 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
8331 New functions. | |
8332 | |
8333 * Makefile.in (install): No need to use cd to create links. | |
8334 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
8335 | |
5095 | 8336 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 8337 |
8338 * Makefile.in: Merge liboctave with liboct-readline and | |
8339 liboct-pathsearch. | |
8340 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
8341 (libraries): Depend on versioned library. | |
8342 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
8343 build unversioned library, symbolic link adds version info. | |
8344 (install, uninstall): Handle link and load forms of the library | |
8345 separately. | |
8346 | |
4101 | 8347 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8348 | |
8349 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
8350 __CYGWIN__. | |
8351 | |
8352 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
8353 file_ops::dir_sep_chars): New static functions to replace | |
8354 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
8355 | |
8356 * oct-env.cc (octave_env::do_set_program_name): | |
8357 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
8358 (octave_env::do_base_pathname): Likewise. | |
8359 (octave_env::do_make_absolute): Likewise. | |
8360 | |
8361 * oct-env.cc (octave_env::do_make_absolute): | |
8362 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
8363 (octave_env::do_get_home_directory): Likewise. | |
8364 | |
8365 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
8366 that information here too. | |
8367 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
8368 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
8369 | |
8370 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
8371 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
8372 | |
4097 | 8373 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8374 | |
8375 * oct-env.h (octave_env::current_directory): Now mutable. | |
8376 (octave_env:do_getcwd): Now const. | |
8377 | |
8378 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
8379 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
8380 OCTAVE_CURRENT_DIR_STR): New macros. | |
8381 * oct-env.cc (is_dir_sep): Delete. | |
8382 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
8383 (octave_env::do_set_program_name): Likewise. | |
8384 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
8385 instead of checking for '/'. | |
8386 (octave_env::pathname_backup): Likewise. | |
8387 (octave_env::do_absolute_pathname): Likewise. | |
8388 (octave_env::do_make_absolute): Likewise. | |
8389 If dot_path is empty, use getcwd to set current_dir. | |
8390 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
8391 instead of "/". | |
8392 | |
5095 | 8393 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8394 |
8395 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
8396 | |
5095 | 8397 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8398 |
8399 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
8400 absolute path names under MinGW as well. | |
8401 | |
8402 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8403 | |
8404 * oct-env.cc: Include <cctype> too. | |
8405 | |
4087 | 8406 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8407 | |
8408 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
8409 filenames. | |
8410 (octave_env::do_make_absolute): Check for absolute name with | |
8411 do_absolute_path. | |
4088 | 8412 (octave_env::do_chdir): Likewise. |
8413 (is_dir_sep): New function. | |
4087 | 8414 |
5095 | 8415 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 8416 |
4086 | 8417 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
8418 systems. | |
4085 | 8419 |
4083 | 8420 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8421 | |
8422 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
8423 | |
4080 | 8424 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8425 | |
4081 | 8426 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
8427 | |
4080 | 8428 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
8429 | |
5095 | 8430 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 8431 |
8432 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
8433 gr_gid too. | |
8434 | |
4072 | 8435 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8436 | |
4074 | 8437 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
8438 lo_ieee_* functions. | |
4072 | 8439 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 8440 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
8441 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 8442 * lo-cieee.c: New file. |
4074 | 8443 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 8444 * lo-ieee.h: Now all extern "C". |
4074 | 8445 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
8446 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
8447 | |
4072 | 8448 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
8449 Now extern. | |
8450 | |
4066 | 8451 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8452 | |
8453 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8454 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8455 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8456 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8457 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8458 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8459 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8460 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8461 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8462 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8463 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8464 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8465 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8466 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8467 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8468 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8469 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8470 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8471 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8472 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8473 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8474 oct-alloc.cc: | |
8475 If __GNUG__, use pragma interface/implementation. Allow this to | |
8476 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
8477 | |
5095 | 8478 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 8479 |
4066 | 8480 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
8481 system readlink function is not available. | |
8482 | |
4065 | 8483 * lo-mappers.cc (xerf, xerfc): Delete. |
8484 * lo-mappers.h (xerf, xerfc): Delete decls. | |
8485 | |
4064 | 8486 * lo-mappers.cc: Remove unused #define M_PI. |
8487 * lo-specfun.cc: Add #define M_PI if needed. | |
8488 | |
4062 | 8489 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8490 | |
8491 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
8492 that geteuid doesn't exist. | |
8493 | |
8494 * LP.h: Rename LP class to octave_LP. | |
8495 LPsolve.h: Change all uses. | |
8496 | |
8497 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
8498 incorrect token-pasting op. | |
8499 | |
8500 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
8501 define lstat. | |
8502 | |
4061 | 8503 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8504 | |
8505 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8506 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8507 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8508 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8509 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8510 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8511 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8512 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8513 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8514 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8515 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8516 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8517 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8518 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8519 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8520 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8521 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8522 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8523 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8524 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8525 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8526 oct-alloc.cc: | |
8527 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
8528 to decide whether to use the interface/implementation pragmas. | |
8529 | |
4058 | 8530 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8531 | |
8532 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
8533 | |
4055 | 8534 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
8535 | |
8536 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
8537 qualified names. | |
8538 | |
4051 | 8539 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8540 | |
4054 | 8541 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
8542 ArrayN.cc: Add typename where needed. | |
4053 | 8543 |
4051 | 8544 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
8545 strstream classes directly. | |
8546 * DASRT.cc: Likewise. | |
8547 * DASSL.cc: Likewise. | |
8548 * LSODE.cc: Likewise. | |
8549 * ODESSA.cc: Likewise. | |
8550 | |
8551 * cmd-hist.cc: Don't include <strstream>. | |
8552 * oct-shlib.cc: Likewise. | |
8553 | |
8554 * lo-sstream.h: New file. | |
8555 | |
4049 | 8556 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8557 | |
8558 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
8559 New data members. | |
8560 (LSODE::sanity_checked): Delete unused data member. | |
8561 | |
8562 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
8563 prel_tol, pinfo, piwork, prwork): New data members. | |
8564 * DASSL.h (DASSL): Likewise. | |
8565 | |
8566 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
8567 | |
8568 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
8569 initialization, changes in options, etc. | |
8570 * DASPK.cc (DASPK::do_integrate): Likewise. | |
8571 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8572 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8573 | |
4047 | 8574 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8575 | |
4049 | 8576 * DAEFunc.h (DAEFunc::reset): New data member. |
8577 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
8578 | |
8579 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
8580 (base_diff_eqn::clear_stop_time): Likewise. | |
8581 | |
4047 | 8582 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
8583 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
8584 | |
5095 | 8585 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 8586 |
8587 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
8588 * DASRT-opts.in, DASRT.h: Likewise. | |
8589 * DASSL-opts.in, DASSL.h: Likewise. | |
8590 * LSODE-opts.in, LSODE.h: Likewise. | |
8591 * NLEqn-opts.in, NLEqn.h: Likewise. | |
8592 * ODESSA-opts.in, ODESSA.h: Likewise. | |
8593 | |
4038 | 8594 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8595 | |
4042 | 8596 * LSODE.cc (LSODE::error_message): Also return current T on |
8597 failures when that makes sense. | |
4043 | 8598 * DASSL.cc (DASSL::error_message): Likewise. |
8599 * DASRT.cc (DASRT::error_message): Likewise. | |
8600 * DASPK.cc (DASPK::error_message): Likewise. | |
8601 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 8602 |
4038 | 8603 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
8604 $(LIBKPATHSEA) here. | |
8605 | |
4025 | 8606 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8607 | |
8608 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
8609 (lo_ieee_is_NaN_or_NA): New function. | |
8610 (octave_NA): New global value. | |
8611 (octave_ieee_init): Initialize it. | |
8612 * lo-mappers.cc (octave_is_NA): New function. | |
8613 (octave_is_NaN_or_NA): New function. | |
8614 (xisnan): Return false if NaN looks like a missing value. | |
8615 (xisnan (const Complex&)): Use xisnan here. | |
8616 | |
4015 | 8617 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8618 | |
4017 | 8619 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
8620 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
8621 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
8622 Default value for dim is -1, not 0. | |
8623 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
8624 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
8625 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
8626 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
8627 | |
4015 | 8628 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
8629 New macros. | |
8630 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
8631 MX_BASE_REDUCTION_OP. | |
8632 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
8633 | |
4014 | 8634 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8635 | |
4015 | 8636 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
8637 Return boolMatrix, not Matrix. | |
8638 | |
8639 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
8640 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
8641 (Matrix::all): Replace guts with MX_ALL_OP. | |
8642 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
8643 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
8644 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
8645 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
8646 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
8647 (charMatrix::all): Replace guts with MX_ALL_OP. | |
8648 | |
8649 * dMatrix.h (Matrix::any): New arg, dim. | |
8650 (Matrix::all): Likewise. | |
8651 * CMatrix.h (ComplexMatrix::any): Likewise. | |
8652 (ComplexMatrix::all): Likewise. | |
8653 * boolMatrix.h (boolMatrix::any): Likewise. | |
8654 (boolMatrix::all): Likewise. | |
8655 * chMatrix.h (charMatrix::any): Likewise. | |
8656 (charMatrix::all): Likewise. | |
8657 | |
4014 | 8658 * Makefile.in: Use $@-t instead of $@.t. |
8659 | |
4004 | 8660 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8661 | |
8662 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
8663 Use it in matrix versions to avoid spewing multiple errors. | |
8664 Call xgammainc instead of dgamit. | |
8665 | |
3998 | 8666 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8667 | |
8668 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
8669 Get rows and columns right in loop. | |
8670 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
8671 | |
8672 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8673 | |
8674 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
8675 * DASRT.cc (DASRT::integrate): Likewise. | |
8676 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8677 | |
8678 * Quad.cc: Don't pass tolerances in constructors. | |
8679 | |
8680 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
8681 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
8682 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
8683 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
8684 from corresponding .in files. | |
8685 * LSODE.h, Quad.h: Replace options class definitions with included | |
8686 file. | |
8687 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
8688 create OPTS_INC files from OPTS_INC_SRC files. | |
8689 (stamp-prereq): New target. | |
8690 (libraries): Depend on stamp-prereq. | |
8691 Include stamp-prereq along with $(MAKEDEPS). | |
8692 | |
3997 | 8693 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8694 | |
8695 * base-de.h (base_diff_eqn::istate): New data member. | |
8696 (base_diff_eqn::integration_state): New member function. | |
8697 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
8698 data members and functions. | |
8699 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
8700 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
8701 | |
3990 | 8702 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8703 | |
3995 | 8704 * base-de.h (base_diff_eqn::stop_time, |
8705 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
8706 base_diff_eqn::integration_error): New data members. | |
8707 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
8708 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
8709 base_diff_eqn::error_message): New member functions. | |
8710 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
8711 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
8712 members and functions. | |
8713 | |
3992 | 8714 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
8715 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 8716 (DASRT::integrate): Don't forget to set nn. |
3992 | 8717 |
3991 | 8718 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
8719 * DASSL.cc (ddassl_j): Make it work. | |
8720 * DASPK.cc (ddaspk_j): Likewise. | |
8721 | |
3990 | 8722 * DAE.cc: Delete. |
8723 | |
8724 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
8725 solving with root finding. | |
8726 * Makefile.in: Add them to the appropriate lists. | |
8727 | |
8728 * base-dae.h: New file. | |
8729 * Makefile.in (INCLUDES): Add it to the list. | |
8730 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
8731 | |
3984 | 8732 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8733 | |
8734 * ODE.h: Move integrate and do_integrate method declarations and | |
8735 definitions here. | |
8736 * base-de.h: From here. | |
8737 | |
8738 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
8739 * Makefile.in: Add them to the appropriate lists. | |
8740 (LIBOCTAVE_CXX_SOURCES): | |
8741 | |
3971 | 8742 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8743 | |
8744 * NLEqn.cc (NLEqn::error_message): New function. | |
8745 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
8746 | |
3970 | 8747 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8748 | |
8749 * lo-utils.cc (octave_fgetl): New function. | |
8750 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
8751 | |
3959 | 8752 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8753 | |
8754 * LSODE.cc (LSODE::error_message): New function. | |
8755 * LSODE.h: Provide decl. | |
8756 (LSODE::integration_state): New function. | |
8757 (LSODE::integration_ok): New function. | |
8758 | |
3952 | 8759 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8760 | |
3955 | 8761 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
8762 (LSODE_options::set_integration_method, | |
8763 LSODE_options::integration_method): New functions. | |
3954 | 8764 |
3952 | 8765 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
8766 Change all uses. | |
8767 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
8768 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
8769 New function. | |
8770 | |
8771 * Array.h (Array::fortran_vec): New const version. | |
8772 | |
3951 | 8773 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8774 | |
8775 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
8776 (gnu_readline::history_search_forward): Likewise. | |
8777 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
8778 to extern "C" functions to octave_rl_ad_defun. | |
8779 | |
5095 | 8780 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 8781 |
8782 * DASPK.cc (ddaspk_psol): Return value. | |
8783 * oct-rl-edit.c: Use /* ... */ to comment. | |
8784 | |
3945 | 8785 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8786 | |
8787 * DASSL.h (DASSL_options::init): Undo previous change. | |
8788 (DASSL_options::set_absolute_tolerance): Likewise. | |
8789 * LSODE.h (LSODE_options::init): Likewise. | |
8790 (LSODE_options::set_absolute_tolerance): Likewise. | |
8791 | |
8792 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
8793 sqrt(eps), not eps^2. | |
8794 DASPK_options::set_absolute_tolerance): Likewise. | |
8795 | |
5095 | 8796 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 8797 |
8798 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
8799 object. | |
8800 | |
3933 | 8801 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8802 | |
8803 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
8804 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
8805 (octave_rl_set_basic_word_break_characters, | |
8806 octave_rl_set_completer_word_break_characters): New functions. | |
8807 * oct-rl-edit.h: Provide decls. | |
8808 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
8809 gnu_readline::do_set_completer_word_break_characters): New functions. | |
8810 (command_editor::set_basic_quote_characters, | |
8811 command_editor::set_completion_append_character): New static functions. | |
8812 * cmd-edit.h: Provide decls. | |
8813 (command_editor::do_set_basic_word_break_characters, | |
8814 command_editor::do_set_completer_word_break_characters): | |
8815 New virtual functions. | |
8816 | |
8817 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
8818 (resize_fill_value): New static function. | |
8819 | |
8820 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
8821 resize_fill_value. | |
8822 * Array2-idx.h (Array2<T>::index): Likewise. | |
8823 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
8824 | |
8825 * Array2.cc (Array<T>::print_info): New function. | |
8826 * Array2.h: Provide decl. | |
8827 | |
8828 * Array.cc (Array<T>::print_info): New function. | |
8829 * Array.h: Provide decl. | |
8830 | |
3928 | 8831 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8832 | |
8833 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
8834 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
8835 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
8836 | |
8837 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
8838 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
8839 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
8840 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
8841 | |
5095 | 8842 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 8843 |
8844 * Array3.h (Array3<T>::checkelem): Improve error message. | |
8845 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
8846 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
8847 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
8848 | |
3919 | 8849 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8850 | |
8851 * DASSL.h (DASSL_options::init): Undo previous change. | |
8852 (DASSL_options::set_absolute_tolerance): Likewise. | |
8853 | |
3912 | 8854 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8855 | |
8856 * DASPK.h, DASPK.cc: New files. | |
8857 * Makefile.in: Add them to the appropriate lists. | |
8858 | |
3904 | 8859 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8860 | |
8861 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
8862 Simplify indexing when one or both of the indices are empty. | |
8863 | |
3896 | 8864 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8865 | |
8866 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
8867 (DASSL_options::set_absolute_tolerance): Likewise. | |
8868 * LSODE.h (LSODE_options::init): Likewise. | |
8869 (LSODE_options::set_absolute_tolerance): Likewise. | |
8870 | |
5095 | 8871 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 8872 |
8873 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
8874 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
8875 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
8876 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
8877 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
8878 * file-stat.h: Likewise. | |
8879 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
8880 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
8881 instead of HAVE_STRUCT_TM_TM_ZONE. | |
8882 * strftime.c: Likewise. | |
8883 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
8884 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
8885 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
8886 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
8887 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8888 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8889 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
8890 | |
5095 | 8891 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 8892 |
8893 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
8894 internally when the user requests it. | |
8895 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
8896 * dbleQR.cc (QR::init): Ditto. | |
8897 * dbleQRP.cc (QRP::init): Ditto. | |
8898 | |
3874 | 8899 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8900 | |
8901 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
8902 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
8903 (octave_fftw::ifft2d): Likewise. | |
8904 | |
5095 | 8905 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 8906 |
8907 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
8908 | |
3867 | 8909 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8910 | |
8911 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
8912 (LS_DO_WRITE): Likewise. | |
8913 | |
3864 | 8914 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8915 | |
8916 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
8917 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
8918 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
8919 | |
8920 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
8921 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
8922 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
8923 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
8924 | |
8925 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
8926 DIM == -1 now means no orientation for vector sums. | |
8927 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
8928 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
8929 | |
3858 | 8930 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8931 | |
8932 * Range.cc (Range::nelem_internal): Special case ranges that must | |
8933 have zero elements. | |
8934 | |
3854 | 8935 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8936 | |
3857 | 8937 * Makefile.in: Split out readline and pathsearch functionality |
8938 into separate liboct-readline and liboct-pathsearch libraries. | |
8939 | |
3854 | 8940 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 8941 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
8942 to do nothing for this call to rl_clear_screen. | |
3854 | 8943 |
3849 | 8944 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8945 | |
8946 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
8947 function. | |
8948 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
8949 | |
3838 | 8950 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8951 | |
8952 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
8953 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
8954 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
8955 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
8956 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
8957 | |
3836 | 8958 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8959 | |
8960 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
8961 | |
8962 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
8963 Array-b.cc: Instantiate three arg assign functions. | |
8964 | |
8965 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
8966 New arg, resize_fill_value. | |
8967 * ArrayN.h: Provide declaration. | |
8968 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
8969 three arg version. | |
8970 | |
8971 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
8972 New arg, resize_fill_value. | |
8973 * Array3.h: Provide declaration. | |
8974 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
8975 three arg version. | |
8976 | |
8977 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8978 New arg, resize_fill_value. | |
8979 * Array2.h: Provide declaration. | |
8980 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
8981 three arg version. | |
8982 | |
8983 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
8984 New arg, resize_fill_value. | |
8985 * Array.h: Provide declaration. | |
8986 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
8987 three arg version. | |
8988 | |
3833 | 8989 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8990 | |
8991 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
8992 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
8993 to the empty string. | |
8994 | |
3832 | 8995 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8996 | |
8997 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
8998 Don't check for rep != a.rep. | |
8999 | |
3827 | 9000 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
9001 | |
9002 * oct-fftw.h, oct-fftw.cc: New files. | |
9003 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
9004 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
9005 ifourier2d}): Use fftw if available. | |
9006 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
9007 Likewise. | |
9008 | |
3821 | 9009 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9010 | |
9011 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
9012 (install-inc): Don't use mk-includedir-link. | |
9013 | |
3803 | 9014 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9015 | |
9016 * lo-cutils.c (octave_gethostname): New function. | |
9017 * lo-utils.h: Provide declaration. | |
9018 * oct-env.cc (octave_env::do_get_host_name): | |
9019 Call octave_gethostname, instead of gethostname. | |
9020 | |
9021 * lo-cutils.c (gethostname): Define here. | |
9022 * lo-sysdep.cc: Not here. | |
9023 | |
3786 | 9024 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9025 | |
9026 * lo-cutils.c: Don't declare strptime. | |
9027 (oct_strptime): Cast return type of strptime to char*. | |
9028 | |
3777 | 9029 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9030 | |
3779 | 9031 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
9032 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
9033 (octave_rl_read_init_file): Ditto. | |
9034 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
9035 free_undo_list. | |
9036 (octave_rl_completion_matches): Call rl_completion_matches, not | |
9037 completion_matches. | |
9038 (octave_rl_enable_paren_matching): New function. | |
9039 (octave_rl_set_blink_matching_paren_flag): Delete. | |
9040 (octave_rl_get_blink_matching_paren_flag): Delete. | |
9041 | |
3777 | 9042 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
9043 tanh (const Complex&)): Declare and define if not | |
9044 CXX_ISO_COMPLIANT_LIBRARY. | |
9045 | |
3776 | 9046 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9047 | |
9048 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
9049 CXX_ISO_COMPLIANT_LIBRARY. | |
9050 | |
3775 | 9051 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
9052 | |
3776 | 9053 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
9054 CXX_ISO_COMPLIANT_LIBRARY. | |
9055 | |
3775 | 9056 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
9057 archive libraries containing templates. | |
9058 | |
9059 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
9060 get_zero_len_size, all_colon_equiv): Inline. | |
9061 (ArrayN<T>::index): Rename idx to arr_idx. | |
9062 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
9063 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
9064 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
9065 | |
9066 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9067 | |
9068 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
9069 log10 (const Complex&)): Delete. | |
9070 | |
9071 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
9072 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
9073 sinh, sqrt, tan, and tanh. | |
9074 | |
3769 | 9075 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9076 | |
9077 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
9078 Add std:: namespace qualifier as needed. | |
9079 | |
9080 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
9081 Change all uses to match. | |
9082 | |
3767 | 9083 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9084 | |
9085 * lo-cutils.c: Don't delcare strptime. | |
9086 | |
3760 | 9087 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9088 | |
9089 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
9090 Return correct size result for empty matrix case. | |
9091 | |
3757 | 9092 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
9093 | |
9094 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
9095 If args are equal in magnitude, return first arg instead of | |
9096 second. | |
9097 | |
3752 | 9098 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9099 | |
3755 | 9100 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
9101 then try harder to compute correct number of elements. | |
3753 | 9102 |
3752 | 9103 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
9104 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
9105 | |
3750 | 9106 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
9107 | |
3751 | 9108 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
9109 Rename n_intervals to be n_elt. | |
9110 | |
3750 | 9111 * strptime.c: Surround everything after including config.h in |
9112 #ifndef HAVE_STRPTIME ... #endif. | |
9113 | |
3742 | 9114 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9115 | |
9116 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
9117 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
9118 | |
3741 | 9119 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9120 | |
9121 * MArray-defs.h: Protect against multiple inclusion. | |
9122 | |
3739 | 9123 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9124 | |
9125 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
9126 end of the list, to be compatible with previous versions of Octave. | |
9127 | |
3736 | 9128 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9129 | |
9130 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
9131 since mktime is supposed to `normalize' the results for us. | |
9132 | |
3731 | 9133 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9134 | |
9135 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 9136 and vectors. Use xelem for faster access to elements when copying. |
3731 | 9137 |
3726 | 9138 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9139 | |
9140 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
9141 Correct indexing for operation across rows. | |
9142 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
9143 | |
3725 | 9144 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
9145 | |
9146 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
9147 elements if arg is a colon. | |
9148 | |
5095 | 9149 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 9150 |
3795 | 9151 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 9152 (Matrix::cumsum (int) const): Likewise. |
9153 (Matrix::prod (int) const): Likewise. | |
9154 (Matrix::sum (int) const): Likewise. | |
9155 (Matrix::sumsq (int) const): Likewise. | |
9156 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
9157 (ComplexMatrix::cumsum (int) const): Likewise. | |
9158 (ComplexMatrix::prod (int) const): Likewise. | |
9159 (ComplexMatrix::sum (int) const): Likewise. | |
9160 (ComplexMatrix::sumsq (int) const): Likewise. | |
9161 | |
3722 | 9162 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9163 | |
9164 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
9165 size if Array<T>::index returns an empty array. | |
9166 | |
3710 | 9167 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9168 | |
9169 * file-ops.cc (file_ops::link, file_ops::symlink, | |
9170 file_ops::readlink): New functions. | |
9171 | |
3709 | 9172 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9173 | |
9174 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
9175 indexed, always return an object the same size as the index arg. | |
9176 | |
9177 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
9178 empty format. | |
9179 | |
3706 | 9180 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9181 | |
9182 * lo-cutils.c (oct_strptime): New function. | |
9183 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
9184 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
9185 | |
3702 | 9186 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9187 | |
3703 | 9188 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
9189 | |
3702 | 9190 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
9191 | |
3689 | 9192 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9193 | |
9194 * dMatrix.h (read_int): Provide declaration. | |
9195 | |
3688 | 9196 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
9197 | |
9198 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
9199 (write_doubles): Ditto. | |
9200 * data-conv.h: Ditto. | |
9201 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
9202 | |
3685 | 9203 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
9204 | |
9205 * boolMatrix.h: Declare MM_CMP_OPS here. | |
9206 * boolMatrix.cc: Define them here. | |
9207 | |
3680 | 9208 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9209 | |
9210 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
9211 previously undefined and set size of x to size of bool index. | |
9212 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
9213 Allow z_len to be zero. | |
9214 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
9215 If frozen, don't assert that frozen_at_z_len == z_len. | |
9216 | |
3670 | 9217 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9218 | |
9219 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
9220 instead of rl_clear_screen. | |
9221 | |
3665 | 9222 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9223 | |
9224 * Array-d.cc: Instantiate ArrayN<double> here too. | |
9225 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
9226 * Makefile.in: Add them to the appropriate lists. | |
9227 | |
3657 | 9228 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
9229 | |
9230 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
9231 | |
3635 | 9232 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9233 | |
9234 * lo-sysdep.h: octave_chdir returns int, not bool. | |
9235 | |
3615 | 9236 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9237 | |
9238 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
9239 before rebuilding. | |
9240 | |
5095 | 9241 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 9242 |
5261 | 9243 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 9244 (libraries): Depend only on library targets, not archive members. |
9245 | |
3613 | 9246 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
9247 | |
9248 * Makefile.in: (objects): New target. | |
9249 | |
9250 * lo-cutils.c: New file. | |
9251 * Makefile.in (SOURCES): Add it to the list. | |
9252 * lo-utils.h: Declare octave_qsort here. | |
9253 * Array.h (Array::qsort): Use it here. | |
9254 | |
3607 | 9255 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9256 | |
9257 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
9258 | |
3598 | 9259 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9260 | |
9261 * oct-rl-hist.c (octave_history_list): Do something when not | |
9262 printing line numbers. Fix reallocation of retval. | |
9263 | |
3597 | 9264 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9265 | |
9266 * Makefile.in (install-inc): Install files in | |
9267 $(octincludedir)/octave. | |
9268 (uninstall): Remove them from the correct directory too. | |
9269 | |
9270 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
9271 they are not already defined. | |
9272 | |
3588 | 9273 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9274 | |
9275 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
9276 Delete declarations and definitions of mixed-type vector-vector ops. | |
9277 | |
3585 | 9278 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9279 | |
9280 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
9281 matrix and vector objects. | |
9282 | |
9283 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
9284 return type from second arg type. | |
9285 (MDM_BIN_OP): Likewise, for first arg type. | |
9286 | |
9287 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
9288 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
9289 | |
9290 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
9291 request ColumnVector to ComplexColumnVector, and Matrix to | |
9292 ComplexMatrix conversions. | |
9293 | |
9294 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
9295 initial value using ComplexMatrix constructor. | |
9296 | |
9297 * CColVector.cc (product, quotient, | |
9298 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
9299 Fix type of returned value. | |
9300 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
9301 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
9302 | |
9303 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
9304 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
9305 dRowVector.h: Declare some constructors explicit, to disallow | |
9306 potentially problematic automatic type conversions. | |
9307 | |
3580 | 9308 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
9309 | |
3582 | 9310 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
9311 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
9312 More new files. | |
9313 * Makefile.in: Add them to the appropriate lists. | |
9314 | |
9315 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
9316 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
9317 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
9318 vx-s-crv.cc:, New files. | |
9319 * Makefile.in: Add them to the appropriate lists. | |
9320 | |
9321 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
9322 Delete scalar by vector and vector by scalar binary ops. | |
9323 | |
3580 | 9324 * MArray-defs.h: More new macros to handle MDiagArray operators. |
9325 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
9326 | |
3573 | 9327 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
9328 | |
3578 | 9329 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
9330 rl_event_hook before casting to void **. | |
9331 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
9332 | |
3574 | 9333 * MArray-defs.h: Many new macros to make declaration and |
9334 definition of operators more consistent. | |
9335 | |
9336 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
9337 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 9338 |
3569 | 9339 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9340 | |
3572 | 9341 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
9342 (Matrix::ifourier2d): Likewise. | |
9343 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
9344 (ComplexMatrix::ifourier2d): Likewise. | |
9345 | |
3569 | 9346 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
9347 | |
3504 | 9348 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
9349 | |
3519 | 9350 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
9351 readline library. | |
9352 * Makefile.in: Add them to the appropriate lists. | |
9353 | |
9354 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
9355 readline history library. | |
9356 * Makefile.in: Add them to the appropriate lists. | |
9357 | |
3517 | 9358 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
9359 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 9360 (write_doubles): Likewise. |
9361 (read_doubles): Likewise. | |
3517 | 9362 |
3516 | 9363 * oct-env.cc (octave_env::do_polite_directory_format): |
9364 Use operator== and substr method to do limited-length string | |
9365 comparison. | |
9366 | |
3513 | 9367 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 9368 |
3511 | 9369 * Quad.h: Use do_integrate as name of pure virtual function. |
9370 | |
3508 | 9371 * base-de.h: Use tt instead of t as arg names. |
3511 | 9372 Add method with tcrit arg. |
9373 | |
3509 | 9374 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 9375 |
3507 | 9376 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
9377 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
9378 * Quad.cc (quad_fcn_ptr): Ditto. | |
9379 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
9380 | |
3505 | 9381 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 9382 * Makefile.in: Add them to the appropriate lists. |
3505 | 9383 |
9384 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 9385 * Makefile.in: Add them to the appropriate lists. |
3505 | 9386 |
3504 | 9387 * dMatrix.cc (write_int, read_int): No longer declared static. |
9388 | |
9389 * CDiagMatrix.h: Delete decls for friend operators that are | |
9390 handled by MDiagArray2 class. Move others outside class decl and | |
9391 strip friend status. | |
9392 * dDiagMatrix.h: Likewise. | |
9393 | |
9394 * MArray.h: Delete decls for friend operators inside class decl. | |
9395 * MArray2.h: Ditto. | |
9396 * MDiagArray2.h: Ditto. | |
9397 | |
9398 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
9399 necessary parameters. Don't allocate memory in the macro. Change | |
9400 all uses. | |
9401 | |
9402 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
9403 * CMatrix.h (class ComplexMatrix): Ditto. | |
9404 | |
9405 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
9406 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
9407 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
9408 avoid type conflicts. Change all uses. | |
9409 | |
9410 * strptime.c (__mon_yday): Fix size of array decl. | |
9411 | |
9412 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
9413 | |
9414 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
9415 default value for second arg. | |
9416 | |
9417 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
9418 references to ArrayRep. | |
9419 | |
3503 | 9420 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9421 | |
3504 | 9422 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 9423 |
9424 * All source files: Include iostream, fstream, strstream, | |
9425 etc. as needed instead of using forward declarations for these | |
3504 | 9426 classes. Add std:: qualifier as needed. |
3503 | 9427 |
3498 | 9428 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9429 | |
9430 * oct-time.cc: Declare strptime extern "C". | |
9431 | |
3496 | 9432 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9433 | |
9434 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
9435 | |
3488 | 9436 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9437 | |
3492 | 9438 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
9439 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
9440 to get total size to be allocated. | |
9441 | |
3488 | 9442 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
9443 as bool, not int. | |
9444 | |
3482 | 9445 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9446 | |
9447 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9448 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
9449 as A, even when do_fortran_indexing is not enabled. | |
9450 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
9451 | |
3473 | 9452 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9453 | |
3480 | 9454 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
9455 function pointer as final arg. Passed function (if any) will be | |
9456 called for singularity errors. | |
9457 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
9458 | |
9459 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
9460 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
9461 | |
3475 | 9462 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
9463 No longer bother with infinity or quiet_nan. | |
9464 | |
3473 | 9465 * Array2.cc (Array2<T>::get_size): New function. |
9466 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
9467 | |
3472 | 9468 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9469 | |
9470 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
9471 New function. | |
9472 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9473 Use it when indexing with one arg instead of faking a second one. | |
9474 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
9475 Return empty matrices with the correct dimensions for A(:,:) = [] | |
9476 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
9477 rows or columns. | |
9478 | |
9479 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
9480 vector that is all true values with a length equal to n as colon | |
9481 equivalent. | |
9482 | |
3470 | 9483 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9484 | |
9485 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
9486 | |
5095 | 9487 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 9488 |
9489 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
9490 operations directly in step 2 and reverse step 2. | |
9491 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
9492 operations directly in step 2 and reverse step 2. | |
9493 | |
3465 | 9494 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9495 | |
9496 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
9497 | |
9498 * strptime.c: New file, from glibc 2.1.2. | |
9499 * Makefile.in (SOURCES): Add strptime.c to the list. | |
9500 | |
3419 | 9501 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9502 | |
9503 * MArray.h (MArray <const Array<T>&)): New constructor. | |
9504 | |
3415 | 9505 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9506 | |
9507 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
9508 NULL directory list returned from kpse_element_dirs | |
9509 | |
3375 | 9510 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9511 | |
9512 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
9513 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
9514 directly, instead of calling ZGESV. | |
9515 | |
3358 | 9516 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9517 | |
9518 * data-conv.cc (init_sized_type_lookup_table): New function. | |
9519 (string_to_data_type): Use it to improve lookup of data types. | |
9520 | |
3354 | 9521 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9522 | |
9523 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
9524 * Array2.h (is_symmetric): Delete declaration. | |
9525 | |
3347 | 9526 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9527 | |
9528 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
9529 | |
3344 | 9530 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9531 | |
9532 * oct-time.cc (Fstrftime): Undo previous change. | |
9533 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9534 | |
3334 | 9535 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9536 | |
3336 | 9537 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
9538 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
9539 | |
3334 | 9540 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
9541 Don't forget to pass length of third string argument to dgeesx. | |
9542 | |
9543 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
9544 of third string argument to zgeesx. | |
9545 | |
3333 | 9546 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9547 | |
9548 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
9549 On errors, simply return `T ()'. | |
9550 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
9551 | |
5095 | 9552 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 9553 |
9554 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
9555 AEPBALANCE class. | |
9556 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
9557 | |
3325 | 9558 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9559 | |
9560 * oct-shlib.cc, oct-shlib.h: New files. | |
9561 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9562 | |
3322 | 9563 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9564 | |
9565 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
9566 * dRowVector.cc (linspace): Ditto. | |
9567 | |
9568 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
9569 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9570 | |
3312 | 9571 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9572 | |
9573 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
9574 to evaluate the Jacobian, set info(4), not iwork(4). | |
9575 Set rwork(1) to the maximum step size, not rwork(2). | |
9576 | |
3290 | 9577 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9578 | |
9579 * oct-time.cc: Include <climits>. | |
9580 | |
3281 | 9581 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9582 | |
9583 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
9584 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
9585 (gnu_readline::do_resize_terminal): New function. | |
9586 | |
3268 | 9587 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9588 | |
9589 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
9590 * lo-ieee.c: Likewise. | |
9591 Delete extern "C" declarations for infinity and quiet_nan. | |
9592 | |
3262 | 9593 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9594 | |
3263 | 9595 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
9596 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
9597 `inline', not `static inline'. | |
9598 | |
3262 | 9599 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
9600 then cast to const int * to compare. | |
9601 | |
3257 | 9602 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9603 | |
9604 * DAEFunc.h: Remove useless preprocessor conditional. | |
9605 | |
3255 | 9606 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9607 | |
3257 | 9608 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
9609 Use octave_time object instead of time_t. | |
9610 | |
9611 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
9612 file_stat::fs_ctime): Now octave_time objects. | |
9613 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
9614 Return octave_time objects. | |
9615 (file_stat::is_newer): Args are now octave_time objects instead of | |
9616 time_t. | |
9617 | |
3255 | 9618 * oct-time.h (octave_time::as_double): Delete. |
9619 (octave_time::operator double ()): New function. | |
9620 (octave_time::operator time_t ()): New function. | |
9621 (octave_time::ctime): New function. | |
9622 (octave_base_tm::strftime): Renamed from format_as_string. | |
9623 (octave_base_tm::asctime): New function. | |
9624 (operator == (const octave_time&, const octave_time&), | |
9625 operator != (const octave_time&, const octave_time&), | |
9626 operator < (const octave_time&, const octave_time&), | |
9627 operator <= (const octave_time&, const octave_time&), | |
9628 operator > (const octave_time&, const octave_time&), | |
9629 operator >= (const octave_time&, const octave_time&)): | |
9630 New comparison functions. | |
9631 | |
9632 * strftime.c: Move here from src directory. | |
9633 * Makefile.in (SOURCES): Add it to the list. | |
9634 | |
9635 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
9636 | |
3253 | 9637 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9638 | |
9639 * oct-time.h, oct-time.cc: New files. | |
9640 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9641 | |
9642 * systime.h: Move here from src directory. | |
9643 * Makefile.in (INCLUDES): Add it to the list. | |
9644 | |
3248 | 9645 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9646 | |
9647 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
9648 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
9649 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
9650 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
9651 | |
9652 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
9653 | |
3243 | 9654 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9655 | |
9656 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
9657 | |
9658 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9659 | |
9660 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
9661 column vector for A(:), for compatibility with Matlab. | |
9662 | |
9663 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9664 | |
9665 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
9666 iopt when there are optional inputs in rwork or iwork. | |
9667 | |
3238 | 9668 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9669 | |
9670 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
9671 creating static libs. | |
9672 | |
5095 | 9673 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 9674 |
9675 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
9676 and uint32 data types. | |
9677 | |
9678 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9679 | |
9680 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
9681 for Linux. Remove old Linux-specific code. | |
9682 | |
3233 | 9683 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9684 | |
9685 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
9686 Don't require lengths to be equal. | |
9687 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
9688 ComplexRowVector& a)): Likewise | |
9689 | |
5095 | 9690 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 9691 |
9692 * statdefs.h: Only define mode_t if not already defined. | |
9693 | |
5095 | 9694 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 9695 |
9696 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
9697 when appropriate. | |
9698 | |
9699 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9700 | |
9701 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
9702 before calling rl_initialize. | |
9703 | |
3220 | 9704 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9705 | |
9706 * lo-specfun.cc (besselh, airy, biry): New functions. | |
9707 Update Bessel function support to use library by D. E. Amos. | |
9708 | |
3219 | 9709 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9710 | |
9711 * cmd-edit.h (command_editor::readline): Add new variation that | |
9712 allows EOF information to be passed back to caller. | |
9713 | |
9714 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
9715 amount of data to read is unspecified. | |
9716 | |
3215 | 9717 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9718 | |
3219 | 9719 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
9720 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
9721 | |
3215 | 9722 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
9723 Add volatile qualifier to void* arg. | |
9724 Cast volatile void* arg to volatile char*. | |
9725 | |
9726 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9727 | |
9728 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
9729 (command_editor::do_restore_event_hook): Ditto. | |
9730 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
9731 (command_editor::restore_event_hook): Ditto. | |
9732 (gnu_readline::do_set_event_hook): Ditto. | |
9733 (gnu_readline::do_restore_event_hook): Ditto. | |
9734 (gnu_readline::previous_event_hook): New data member. | |
9735 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
9736 | |
3206 | 9737 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9738 | |
9739 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
9740 | |
9741 * Makefile.in (stmp-pic): New target. | |
9742 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
9743 (clean): Remove stmp-pic | |
9744 | |
9745 * Makefile.in: Undo previous change to avoid optmization when | |
9746 compiling lo-ieee.cc. | |
9747 | |
9748 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9749 | |
9750 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
9751 imaginary parts. | |
9752 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
9753 | |
3203 | 9754 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9755 | |
9756 * boolMatrix.cc (boolMatrix::operator !): New function. | |
9757 | |
3196 | 9758 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9759 | |
9760 * pathsearch.h (dir_path::default_path): New data member. | |
9761 * pathsearch.cc (dir_path::init): Use it. | |
9762 | |
9763 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
9764 | |
3189 | 9765 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9766 | |
9767 * chMatrix.cc (charMatrix::extract): New function. | |
9768 (charMatrix::charMatrix (char c)): New constructor. | |
9769 | |
9770 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9771 | |
9772 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
9773 * cmd-edit.cc (command_editor::read_init_file): New function. | |
9774 (gnu_readline::do_read_init_file): Likewise. | |
9775 | |
3185 | 9776 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9777 | |
9778 * oct-env.cc (octave_env::do_get_home_directory): | |
9779 If HOME can't be found, set it to "/". | |
9780 (octave_env::do_get_user_name) | |
9781 If user name can't be found, set it to "unknown". | |
9782 (octave_env::do_get_host_name) | |
9783 If host name can't be found, set it to "unknown". | |
9784 | |
9785 * pathsearch.h (dir_path::rehash): New function. | |
9786 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
9787 diretcory cache before doing initialization. | |
9788 | |
3180 | 9789 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9790 | |
3185 | 9791 * dMatrix.cc (Qzval): Delete. |
9792 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
9793 * dMatrix.h (Qzval): Delete declaration. | |
9794 | |
9795 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
9796 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
9797 * mx-ext.h: Don't include dbleGEPBAL. | |
9798 | |
3180 | 9799 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
9800 static_cast. | |
9801 | |
9802 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9803 | |
9804 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
9805 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
9806 | |
9807 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9808 | |
9809 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
9810 HUGE_VAL and NAN. | |
9811 | |
9812 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9813 | |
9814 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9815 Handle x(i) = scalar for do_fortran_indexing == 1. | |
9816 | |
9817 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9818 | |
9819 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
9820 Alloctate space before attempting to use it. | |
9821 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
9822 | |
5095 | 9823 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 9824 |
9825 * EIG.cc (EIG::init): Move invariant code outside loop. | |
9826 | |
9827 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9828 | |
9829 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
9830 have the same size as the operands. | |
9831 | |
9832 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9833 | |
9834 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
9835 call to ddassl, set integration_error to 1 before calling the | |
9836 error handler and returning. | |
9837 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9838 | |
3177 | 9839 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9840 | |
9841 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
9842 do_fortran_indexing is set, A([]) = scalar. | |
9843 * Array-idx.h (assign): Allow A([]) = scalar. | |
9844 | |
3176 | 9845 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9846 | |
9847 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
9848 if dm_nc == 0. | |
9849 | |
3174 | 9850 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9851 | |
9852 * pathsearch.h (dir_path::p_orig): New field. | |
9853 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
9854 expansion on the original path here. | |
9855 (dir_path::find_all): Don't do anything if not initialized. | |
9856 | |
3164 | 9857 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9858 | |
9859 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
9860 is not set. | |
9861 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
9862 | |
9863 * lo-specfun.cc (gammainc): Use dgamit to compute | |
9864 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
9865 \int_0^x exp(-t) t^(a-1) dt. | |
9866 | |
9867 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9868 | |
9869 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
9870 Array-s.cc: Change return types of all `assign' explicit | |
9871 instantiations to be int, not void, to match the template decl in | |
9872 Array.h. | |
9873 | |
3162 | 9874 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9875 | |
9876 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
9877 | |
3156 | 9878 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9879 | |
9880 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
9881 * lo-mappers.cc: Not here. | |
9882 | |
9883 * lo-specfun.h: Declare xgamma and xlgamma here. | |
9884 * lo-mappers.h: Not here. | |
9885 | |
9886 * lo-specfun.h: Never declare gamma or lgamma. | |
9887 | |
3154 | 9888 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9889 | |
9890 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
9891 empty matrix of any dimension. | |
9892 | |
3145 | 9893 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9894 | |
3147 | 9895 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
9896 | |
3146 | 9897 * lo-specfun.cc: Don't include dbleBessel.h. |
9898 | |
9899 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
9900 | |
3145 | 9901 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
9902 * file-stat.h (file_stat::operator bool ()): Likewise. | |
9903 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
9904 * oct-group.h (octave_group::operator bool ()): Likewise. | |
9905 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
9906 | |
9907 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
9908 Don't cast arg in call to swap_8_bytes. | |
9909 (IEEE_big_double_to_IEEE_little_double): Ditto | |
9910 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
9911 swap_4_bytes. | |
9912 (IEEE_little_float_to_IEEE_big_float): Ditto | |
9913 | |
9914 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
9915 * prog-args.cc (prog_args::getopt): Likewise. | |
9916 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
9917 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
9918 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
9919 Likewise. | |
9920 | |
9921 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
9922 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
9923 | |
3141 | 9924 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9925 | |
9926 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
9927 Use $(mk-libdir-link). | |
9928 | |
9929 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
9930 not SAFE_STAT and SAFE_LSTAT. | |
9931 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
9932 * safe-xstat.hin, safe-xstat.cin: Delete. | |
9933 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
9934 safe-lstat.h, and safe-lstat.cc. | |
9935 | |
3136 | 9936 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9937 | |
9938 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
9939 | |
3130 | 9940 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9941 | |
9942 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9943 trace is negative. | |
9944 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
9945 the real part of the trace is negative. | |
9946 | |
9947 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9948 | |
9949 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
9950 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
9951 | |
9952 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
9953 to succeed. | |
9954 | |
3125 | 9955 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9956 | |
9957 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
9958 (make_uniq): Likewise. | |
9959 | |
9960 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9961 | |
9962 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
9963 | |
3119 | 9964 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9965 | |
3121 | 9966 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
9967 | |
9968 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 9969 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
9970 | |
3121 | 9971 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
9972 oct-math.h: Delete. | |
9973 * Makefile.in (SOURCES): Delete them from the list. | |
9974 | |
3112 | 9975 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9976 | |
9977 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
9978 | |
5095 | 9979 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 9980 |
9981 Changes to make support egcs snapshots that implement explicit | |
9982 specification of template functions according to CD2. | |
9983 | |
9984 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
9985 template function specs for template friends. | |
9986 * MArray2.h: Likewise. | |
9987 * MDiagArray2.h: Likewise. | |
9988 | |
3095 | 9989 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9990 | |
9991 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
9992 | |
3092 | 9993 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
9994 | |
9995 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
9996 to complex<double>(int) instead of complex<double>(double). | |
9997 | |
9998 * lo-mappers.cc (atanh): Ditto. | |
9999 | |
3079 | 10000 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10001 | |
10002 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
10003 * idx-vector.h (idx_vector::sort): Ditto. | |
10004 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
10005 trying to delete elements specified by the index vectors. | |
10006 | |
3075 | 10007 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10008 | |
10009 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
10010 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
10011 | |
3074 | 10012 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10013 | |
10014 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
10015 | |
3069 | 10016 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10017 | |
10018 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
10019 Call error handler if we can't find the current directory. | |
10020 | |
3068 | 10021 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10022 | |
3069 | 10023 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
10024 (xfinite (double)): Ditto. | |
10025 | |
3068 | 10026 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
10027 * CmplxQR.cc (ComplexQR::init): Ditto. | |
10028 | |
3056 | 10029 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10030 | |
10031 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
10032 compatible with Matlab. | |
10033 | |
3050 | 10034 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10035 | |
10036 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
10037 single colon. | |
10038 | |
3040 | 10039 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10040 | |
3049 | 10041 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
10042 (xgamma): Likewise, for calling xdgamma. | |
10043 | |
3042 | 10044 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
10045 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
10046 | |
3040 | 10047 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
10048 to do better job expanding tildes. | |
10049 | |
10050 * str-vec.cc (string_vector::string_vector (const char * const *): | |
10051 Use temporary variable to compute length. | |
10052 | |
3029 | 10053 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10054 | |
3034 | 10055 * Makefile.in: Make building of static library optional. |
3036 | 10056 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 10057 |
3029 | 10058 * Makefile.in (stamp-picdir): Delete. |
10059 (pic): New target. Don't worry so much about creating pic | |
10060 directory only when it is really needed. | |
10061 (stamp-interp): Delete. | |
10062 (libraries): New target. Depend on shared library directly. | |
10063 | |
3024 | 10064 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10065 | |
10066 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
10067 New static function. | |
10068 | |
3012 | 10069 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10070 | |
10071 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
10072 | |
3004 | 10073 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10074 | |
10075 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
10076 set_basic_quote_characters, to match new version of readline. | |
10077 | |
10078 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
10079 for restoring terminal state through rl_deprep_term_function, now | |
10080 declared in readline.h | |
10081 (rl_deprep_terminal): Delete declaration. | |
10082 | |
2993 | 10083 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10084 | |
10085 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
10086 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
10087 | |
2968 | 10088 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10089 | |
10090 * cmd-edit.cc (command_editor::increment_current_command_number): | |
10091 New static function. | |
10092 | |
2964 | 10093 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10094 | |
2966 | 10095 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
10096 the vector is not sorted. | |
10097 | |
2964 | 10098 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
10099 * dMatrix.cc (Matrix::operator !): Likewise | |
10100 | |
2941 | 10101 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10102 | |
10103 * oct-syscalls.h, oct-syscalls.cc: New files. | |
10104 | |
10105 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
10106 | |
10107 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
10108 | |
2938 | 10109 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10110 | |
2941 | 10111 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
10112 (install-inc): Use it. | |
10113 | |
2938 | 10114 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
10115 Handle errors and missing functions consistently. | |
10116 | |
10117 * oct-group.h, oct-group.cc: New files. | |
10118 | |
10119 * oct-passwd.cc: Handle errors and missing functions consistently. | |
10120 | |
10121 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
10122 | |
2934 | 10123 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10124 | |
10125 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
10126 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
10127 | |
10128 * oct-passwd.h, oct-passwd.cc: New files. | |
10129 | |
2926 | 10130 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10131 | |
10132 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
10133 | |
10134 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
10135 (instance_ok ()): New function. | |
10136 | |
10137 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
10138 | |
10139 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
10140 | |
10141 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
10142 src/utils.h and src/utils.cc. | |
10143 (octave_fgets): New function, extracted from src/input.cc. | |
10144 | |
10145 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
10146 GNU readline, and allow Octave to work without GNU readline. | |
10147 | |
10148 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
10149 system-dependent functions. | |
10150 | |
10151 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
10152 | |
10153 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
10154 from file-ops.h and file-ops.cc and move here. | |
10155 | |
10156 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
10157 tilde_expand functions here from src/dirfns.cc. | |
10158 | |
10159 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10160 | |
10161 * pathlen.h: New file, from ../src. | |
10162 | |
2917 | 10163 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10164 | |
10165 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
10166 out-of-bounds indexing of the index array. | |
10167 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
10168 | |
2850 | 10169 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10170 | |
10171 * LSODE.h (x_step_limit): New field. | |
10172 (LSODE_options::init): Initialize it. | |
10173 (LSODE_options::copy): Copy it. | |
10174 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
10175 New functions. | |
10176 (LSODE::working_too_hard): Delete. | |
10177 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
10178 | |
2844 | 10179 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10180 | |
10181 * MArray-b.cc: Delete. | |
10182 * Makefile.in: Delete it from the lists. | |
10183 | |
10184 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
10185 MArray2, since most of the numeric ops don't really make sense. | |
10186 | |
2829 | 10187 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10188 | |
2832 | 10189 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
10190 | |
10191 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
10192 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
10193 | |
2830 | 10194 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
10195 idx_vector::freeze): Delete prefer_zero_one arg. | |
10196 * Array-idx.h, Array2-idx.h: Change all callers. | |
10197 | |
10198 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
10199 | |
2829 | 10200 * mx-op-defs.h: New file for operator definitions. |
10201 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
10202 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
10203 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
10204 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
10205 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
10206 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
10207 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
10208 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
10209 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
10210 mx-s-cm.cc, mx-s-dm.cc: | |
10211 New files for mixed-type operations. | |
10212 * Makefiles.in: Add them to the appropriate lists. | |
10213 | |
10214 * mx-inlines.cc: Add bool by bool EQ ops. | |
10215 | |
10216 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
10217 boolMatrix types. | |
10218 (idx_vector::maybe_convert_one_zero_to_idx, | |
10219 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
10220 Delete second arg, prefer_zero_one. Change all callers. | |
10221 | |
10222 * boolMatrix.h, boolMatrix.cc: New files. | |
10223 * mx-base.h: Include boolMatrix.h here. | |
10224 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
10225 | |
10226 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
10227 | |
10228 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
10229 operator-, operator*, product, and quotient functions. | |
10230 Add constructor for boolMatrix type. | |
10231 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
10232 product, and quotient functions. | |
10233 | |
10234 * CDiagMatrix.h: Delete friend declarations for operator+, | |
10235 operator-, and product functions. | |
10236 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
10237 | |
10238 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
10239 | |
2815 | 10240 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10241 | |
10242 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
10243 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
10244 (EIG::symmetric_init (const Matrix&)): New function. | |
10245 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
10246 | |
10247 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
10248 | |
10249 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10250 | |
10251 * Array2.cc (is_symmetric): New function. | |
10252 * Array2.h (is_square): New function. | |
10253 | |
2811 | 10254 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10255 | |
10256 * Makefile.in (install-strip): New target. | |
10257 | |
2804 | 10258 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10259 | |
10260 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
10261 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
10262 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
10263 dbleSVD.cc: Don't include mx-inlines.cc. | |
10264 | |
10265 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
10266 duplicate code. | |
10267 | |
2800 | 10268 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10269 | |
2804 | 10270 * dbleQR.h (QR): Delete extra comma at end of list. |
10271 | |
10272 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
10273 | |
10274 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
10275 | |
10276 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
10277 idx_vecotr_rep:: qualifiers. | |
10278 | |
10279 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
10280 | |
10281 * data-conv.h (save_type): Delete extra comma at end of list. | |
10282 | |
2800 | 10283 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
10284 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
10285 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
10286 old C-style `(T) val' casts. | |
10287 | |
2795 | 10288 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10289 | |
10290 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
10291 just breaking out of the innermost loop. | |
10292 * CMatrix.cc (operator >>): Likewise. | |
10293 | |
2779 | 10294 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 10295 |
10296 * Version 2.0.5 released. | |
10297 | |
2767 | 10298 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10299 | |
10300 * CmplxQR.cc (ComplexQR::init): New function. | |
10301 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
10302 * CmplxQRP.cc (ComplexQRP::init): New function. | |
10303 Get sizes right in all cases. | |
10304 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
10305 | |
10306 * dbleQR.cc (QR::init): New function. | |
10307 (QR::QR): Use it. Use initializer list too. | |
10308 * dbleQRP.cc (QRP::init): New function. | |
10309 Get sizes right in all cases. | |
10310 (QR::QRP): Use it. Use initializer list too. | |
10311 | |
2759 | 10312 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10313 | |
10314 * mach-info.cc (oct_mach_info::string_to_float_format): | |
10315 Recognize "vaxg", not "vax_g". | |
10316 | |
2713 | 10317 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10318 | |
2714 | 10319 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
10320 dimension in check for colon equivalent index. | |
10321 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
10322 index whose value is 0 is also colon eqivalent for n == 1. | |
10323 | |
2713 | 10324 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
10325 system-specific tests first. | |
10326 | |
2709 | 10327 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 10328 |
10329 * Version 2.0.4 released. | |
10330 | |
10331 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10332 | |
10333 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
10334 | |
2693 | 10335 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 10336 |
10337 * Version 2.0.3 released. | |
10338 | |
2686 | 10339 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10340 | |
10341 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
10342 | |
2673 | 10343 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10344 | |
2676 | 10345 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
10346 (all): Don't depend on stamp-prereq or stamp-picdir. | |
10347 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
10348 (stamp-picdir): Silence noise about making pic. | |
10349 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
10350 | |
2673 | 10351 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
10352 Fix typo in last change. | |
10353 | |
10354 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
10355 Convert from friend (moved from dColVector.cc). | |
10356 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
10357 Likewise (moved from dMatrix.cc). | |
10358 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
10359 Likewise (moved from dRowVector.cc). | |
10360 | |
10361 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
10362 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
10363 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
10364 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
10365 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
10366 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
10367 | |
10368 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
10369 * dMatrix.cc (Matrix::apply): Likewise. | |
10370 * dRowVector.cc (RowVector::apply): Likewise. | |
10371 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
10372 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
10373 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
10374 | |
2668 | 10375 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10376 | |
10377 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
10378 | |
10379 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10380 | |
10381 * file-ops.cc (oct_unlink (const string&, string&)): | |
10382 New two-arg version. | |
10383 (oct_rmdir (const string&, string&)): New two-arg version. | |
10384 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
10385 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
10386 (oct_rename (const string&, const string&, string&)): | |
10387 New three-arg version. | |
10388 | |
2663 | 10389 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10390 | |
10391 * idx-vector.h (idx_vector::orig_empty): New function. | |
10392 | |
10393 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
10394 Don't always resize to [](0x0) if one of the indices is empty or | |
10395 zero. | |
10396 | |
2658 | 10397 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10398 | |
10399 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
10400 Set line_in_file here too. | |
10401 (command_history::read_range): New arg, must_exist. | |
10402 | |
2651 | 10403 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10404 | |
10405 * f2c-main.c: Change C++-style comments to C-style comments. | |
10406 | |
2638 | 10407 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10408 | |
10409 * Makefile.in (install-inc): Create a relative symbolic link. | |
10410 | |
2634 | 10411 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10412 | |
10413 * Version 2.0.2 released. | |
10414 | |
2624 | 10415 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10416 | |
10417 * Makefile.in (bin-dist): New target. | |
10418 | |
2621 | 10419 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10420 | |
10421 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
10422 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
10423 | |
2613 | 10424 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10425 | |
10426 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10427 If the number of columns is zero, also set the number of rows to zero. | |
10428 (charMatrix::charMatrix (const char *)): Likewise. | |
10429 | |
2602 | 10430 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10431 | |
10432 * Version 2.0.1 released. | |
10433 | |
2601 | 10434 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10435 | |
10436 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
10437 columns for resizing when the number of rows is specified but the | |
10438 number of columns is not. | |
10439 | |
2598 | 10440 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10441 | |
2599 | 10442 * Range.cc (operator -): New function. |
10443 | |
2598 | 10444 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
10445 | |
2589 | 10446 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10447 | |
10448 * Array2-idx.h (assign): Delay resizing left hand side until we | |
10449 know if the assignment conforms. | |
10450 | |
2583 | 10451 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10452 | |
10453 * Version 2.0 released. | |
10454 | |
2570 | 10455 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10456 | |
2575 | 10457 * Array2-idx.h (assign): If index is a colon, set number of |
10458 elements to the lhs dimension if the lhs dimension is greater than | |
10459 zero. Otherwise, set it to the rhs dimension. | |
10460 | |
10461 * Version 1.94. | |
10462 | |
2570 | 10463 * Array2-idx.h (assign): Test for rhs scalar case first. |
10464 If index is colon, set number of elements to lhs dimension, not | |
10465 rhs dimension. | |
10466 | |
2563 | 10467 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10468 | |
2566 | 10469 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
10470 * sun-utils.cc: Delete. | |
10471 * f2c-main.c: New file | |
10472 | |
10473 * Makefile.in: Fix file name lists. | |
10474 | |
2563 | 10475 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
10476 | |
2561 | 10477 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10478 | |
10479 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
10480 Create result using Complex constructor, not multiplication. | |
10481 Order elements as they are returned from Eispack. | |
10482 | |
2559 | 10483 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10484 | |
2560 | 10485 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
10486 Only include nan.h if SCO is defined. Define _IEEE before | |
10487 including it and undefine it afterward. | |
10488 [SCO] (isnan): Don't mistake Inf as NaN. | |
10489 | |
2559 | 10490 * Array-idx.h (assign): Only resize if assignment conforms. |
10491 | |
2551 | 10492 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10493 | |
10494 * Makefile.in (INCLUDES): Delete lo-error.h. | |
10495 * lo-error.h: Delete (moved to libcruft/misc). | |
10496 | |
10497 * Version 1.93. | |
10498 | |
2546 | 10499 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10500 | |
2549 | 10501 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
10502 be the same as they are in fnmatch.h. | |
10503 | |
2546 | 10504 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
10505 | |
10506 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
10507 (SOURCES): Delete f77-fcn.c. | |
10508 | |
2522 | 10509 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10510 | |
10511 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
10512 | |
2512 | 10513 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10514 | |
10515 * Version 1.92. | |
10516 | |
2508 | 10517 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10518 | |
2512 | 10519 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
10520 lines that have only carriage return or newline. | |
10521 | |
2508 | 10522 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
10523 | |
2500 | 10524 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10525 | |
10526 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
10527 (IDX_VEC_REP::idx_vector_rep): Use it. | |
10528 | |
2493 | 10529 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10530 | |
10531 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
10532 from vectors of C strings. | |
10533 | |
10534 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
10535 vector. | |
10536 (glob_match::match): Allow match string to be a string vector. | |
10537 (glob_match::glob): New function. | |
10538 | |
10539 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
10540 | |
10541 * Array-b.cc: New file. | |
10542 * Makefile.in (TI_SRC): Add it to the list. | |
10543 | |
2492 | 10544 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10545 | |
10546 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
10547 and safe-stat.h, to avoid getting them from $srcdir when we really | |
10548 want the version from the build directory. (Maybe this should be | |
10549 done for all the include files, not just those that are | |
10550 auto-generated? Hmm.) | |
10551 | |
2481 | 10552 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10553 | |
2482 | 10554 * Version 1.91. |
10555 | |
2481 | 10556 * Array3.cc (Array3<T>::resize): Make it work. |
10557 | |
10558 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10559 | |
10560 * oct-alloc.h, oct-alloc.cc: New files. | |
10561 * Makefile.in: Add them to the lists. | |
10562 | |
10563 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10564 | |
10565 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
10566 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
10567 | |
2466 | 10568 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10569 | |
10570 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
10571 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
10572 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
10573 underlying macro is not defined. | |
10574 | |
10575 * oct-math.h (lgamma, gamma): Delete declarations. | |
10576 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
10577 Protect declarations with #ifdef HAVE_*. | |
10578 | |
2440 | 10579 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10580 | |
2452 | 10581 * Version 1.90. |
10582 | |
10583 * Makefile.in (DISTFILES): Add ChangeLog. | |
10584 | |
2444 | 10585 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
10586 | |
10587 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
10588 | |
2443 | 10589 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 10590 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
10591 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 10592 |
2440 | 10593 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
10594 since that is now accepatble syntax, even for built-in types. | |
10595 * Array2.h (T Array2<T>::checkelem): Likewise | |
10596 | |
2433 | 10597 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10598 | |
10599 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
10600 message and return -1. | |
10601 | |
2428 | 10602 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10603 | |
2431 | 10604 * str-vec.h (str_vec_compare): Declare args as const void *, then |
10605 cast them to const string * in the body of the function. | |
10606 | |
10607 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
10608 string from buf. | |
10609 | |
2428 | 10610 * Array3.h (Array3::checkelem): Tag bogus return value with |
10611 GCC_ATTRIBUTE_UNUSED. | |
10612 * Array2.h (Array2::checkelem): Likewise. | |
10613 | |
2424 | 10614 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10615 | |
10616 * Quad.h (Quad): Define virtual destructor. | |
10617 | |
2408 | 10618 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10619 | |
10620 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
10621 | |
2401 | 10622 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10623 | |
10624 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
10625 and MAIN__ extern "C". | |
10626 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
10627 | |
2391 | 10628 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10629 | |
10630 * MArray-misc.cc: New file. | |
10631 * Makefile.in (MATRIX_SRC): Add it to the list. | |
10632 | |
10633 * mx-inlines.cc (equal): Return bool, not int. | |
10634 | |
10635 * idx-vector.h (idx_vector (double)): New constructor. | |
10636 | |
10637 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
10638 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
10639 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
10640 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
10641 CRowVector.cc: Logical operators return bool, not int. | |
10642 | |
10643 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
10644 New function. | |
10645 | |
10646 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
10647 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
10648 Matrix::all_elements_are_inf_or_nan): New functions. | |
10649 | |
10650 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
10651 | |
10652 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
10653 for errors. Simplify macros by converting FCN to string for error | |
10654 messages. | |
10655 | |
10656 * Array-idx.h (Array<T>::index): New function. Don't call | |
10657 clear_index() here. | |
10658 (Array<T>::value): Call it, do call clear_index() here. | |
10659 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
10660 one and two arg index functions. | |
10661 | |
10662 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10663 | |
10664 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
10665 separate implementation file. | |
10666 | |
2354 | 10667 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10668 | |
2358 | 10669 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
10670 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
10671 | |
2356 | 10672 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
10673 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
10674 them uniq. | |
10675 | |
2354 | 10676 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
10677 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
10678 Rewrite. Also return index as a reference arg. | |
10679 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
10680 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
10681 Delete. | |
10682 | |
10683 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
10684 Matrix::column_max, Matrix::column_min): | |
10685 Rewrite. Also return index as a reference arg. | |
10686 (Matrix::row_max_loc, Matrix::row_min_loc, | |
10687 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
10688 | |
10689 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10690 | |
10691 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
10692 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
10693 Matrix::column_min_loc, Matrix::column_max, | |
10694 Matrix::column_max_loc): Ignore leading NaNs. | |
10695 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
10696 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
10697 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
10698 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
10699 leading NaNs. | |
10700 | |
2352 | 10701 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10702 | |
10703 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
10704 starting at n, not 0. | |
10705 | |
2349 | 10706 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10707 | |
10708 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
10709 Matrix::Matrix (const ColumnVector&)): New constructors. | |
10710 | |
10711 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
10712 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
10713 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
10714 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
10715 New constructors. | |
10716 | |
10717 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
10718 New constructor. | |
10719 | |
2343 | 10720 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10721 | |
10722 * LSODE.cc (do_integrate): Check to make sure that the state and | |
10723 derivative vectors are the same size. | |
2344 | 10724 * DASSL.cc (do_integrate): Likewise. |
2343 | 10725 |
2330 | 10726 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10727 | |
10728 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
10729 iostreams and handler data format conversions. Delete old methods | |
10730 that used stdio. | |
10731 | |
10732 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
10733 | |
10734 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10735 | |
10736 * mach-info.h: Rename from float-fmt.h. | |
10737 * mach-info.cc: Rename from float-fmt.cc. | |
10738 Handle machine information using a singlton class. | |
10739 * Makefile.in: Update appropriate lists. | |
10740 | |
10741 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10742 | |
10743 * Array-flags.cc: Provide definitions for the flags even if | |
10744 OCTAVE_SOURCE is not defined. | |
10745 | |
10746 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
10747 operator(), not elem(). | |
10748 * Array3.h: Move indexing methods here from Array3.cc. | |
10749 | |
10750 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10751 | |
10752 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
10753 | |
10754 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
10755 INSTALL_DATA for shared libs. | |
10756 | |
10757 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10758 | |
10759 * Quad.cc: Include lo-error.h here too. | |
10760 | |
10761 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10762 | |
10763 * file-ops.h: Include sys/types.h here. | |
10764 | |
10765 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10766 | |
10767 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
10768 | |
10769 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
10770 elements in result. | |
10771 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
10772 rows and columns in result. | |
10773 | |
10774 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10775 | |
10776 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
10777 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
10778 | |
10779 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10780 | |
10781 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
10782 | |
10783 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10784 | |
10785 * Makefile.in (uninstall): Also delete shared library. | |
10786 Split install into install-libs and install-includes. | |
10787 (install-inc): If linkdir is a directory, leave it alone. | |
10788 | |
10789 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
10790 | |
10791 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10792 | |
10793 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
10794 * Array2-idx.h (assign): Likewise. | |
10795 | |
10796 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10797 | |
10798 * Array2.cc (Array2<T>::range_error): New functions. | |
10799 | |
10800 * Array.h (class Array<T>): elem() and operator() are now | |
10801 equivalent, and do bounds checking by default. | |
10802 * Array2.cc (class Array2<T>): Likewise. | |
10803 | |
10804 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10805 | |
10806 * Makefile.in (maintainer-clean, distclean): Also delete | |
10807 stamp-picdir, stamp-shared, and pic directory. | |
10808 (stamp-prereq): New target. | |
10809 | |
10810 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10811 | |
10812 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
10813 New function. | |
10814 | |
10815 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
10816 * Array.h (Array<T>::checkelem): Use them. | |
10817 | |
10818 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
10819 elements too. | |
10820 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
10821 | |
10822 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
10823 | |
10824 * Makefile.in (distclean): Delete so_locations, which is created | |
10825 on DEC Alpha systems. | |
10826 | |
10827 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10828 | |
10829 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
10830 already defined. | |
10831 | |
10832 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10833 | |
10834 * pathsearch.cc: Include config.h. | |
10835 | |
10836 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10837 | |
10838 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
10839 allow M(I, J) = scalar if I or J is empty. | |
10840 | |
10841 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
10842 and Array3-idx.h). | |
10843 | |
10844 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10845 | |
10846 * lo-error.h: Make comments C friendly. | |
10847 | |
10848 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10849 | |
10850 * Array2.h (make_unique): Move all indexing functions here. | |
10851 * Array2.cc: From here. | |
10852 | |
10853 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
10854 whether operator() calls elem or checkelem. | |
10855 | |
10856 * Array.h (make_unique): New private function. | |
10857 Move all indexing functions here. | |
10858 * Array.cc: From here. | |
10859 | |
10860 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
10861 it too. | |
10862 | |
10863 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
10864 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
10865 MArray-C.cc: Include config.h. | |
10866 | |
10867 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
10868 Don't define HEAVYWEIGHT_INDEXING here. | |
10869 | |
10870 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10871 | |
10872 * base-lu.h, base-lu.cc: New files. | |
10873 * Makefile.in: Add them to the appropriate lists. | |
10874 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
10875 | |
10876 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10877 | |
10878 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
10879 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
10880 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
10881 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
10882 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
10883 | |
10884 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
10885 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
10886 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
10887 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
10888 Simplify using new macros. | |
10889 | |
10890 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10891 | |
10892 * Makefile.in (install): If $(includedir) ends in version string, | |
10893 make link to name that does not include version info. | |
10894 | |
10895 * lo-ieee.cc: Include <cmath> here. | |
10896 | |
10897 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10898 | |
10899 * lo-ieee.cc, lo-ieee.h: New files. | |
10900 * lo-mappers.cc, lo-mappers.h: New files. | |
10901 * lo-utils.cc, lo-utils.h: New files. | |
10902 * Makefile.in: Add them to the appropriate lists. | |
10903 | |
10904 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10905 | |
10906 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
10907 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
10908 | |
10909 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
10910 float-fmt.cc: New files. | |
10911 * Makefile.in: Include them in the appropriate lists. | |
10912 | |
10913 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10914 | |
10915 * dMatrix.cc (Qzval): New function. | |
10916 | |
10917 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10918 | |
10919 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
10920 char*. | |
10921 | |
10922 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
10923 Use F77_XFCN to call Fortran subroutine. | |
10924 * dColVector.cc, CColVector.cc: Likewise. | |
10925 * dRowVector.cc, CRowVector.cc: Likewise. | |
10926 * NPSOL.h, NPSOL.cc: Likewise. | |
10927 * CmplxCHOL.cc: Likewise. | |
10928 * dbleCHOL.cc: Likewise. | |
10929 * CMatrix.cc: Likewise. | |
10930 * dMatrix.cc: Likewise. | |
10931 * QPSOL.cc: Likewise. | |
10932 * LSODE.cc: Likewise. | |
10933 | |
10934 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10935 | |
10936 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
10937 | |
10938 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
10939 workspace. Use F77_XFCN to call Fortran subroutine. | |
10940 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
10941 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
10942 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
10943 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
10944 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
10945 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
10946 * dbleHESS.h, dbleHESS.cc: Likewise. | |
10947 * dbleSVD.h, dbleSVD.cc: Likewise. | |
10948 * EIG.h, EIG.cc; Likewise. | |
10949 * CollocWt.cc: Likewise. | |
10950 * NLEqn.cc: Likewise. | |
10951 * Quad.cc: Likewise. | |
10952 | |
10953 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10954 | |
10955 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
10956 Use F77_XFCN to call Fortran subroutine. | |
10957 * CmplxLU.h, CmplxLU.cc: Ditto. | |
10958 * dbleQR.h, dbleQR.cc: Ditto. | |
10959 * CmplxQR.h, CmplxQR.cc: Ditto. | |
10960 * dbleQRP.h, dbleQRP.cc: Ditto. | |
10961 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
10962 | |
10963 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
10964 (struct DIR): delete forward declaration. | |
10965 (dir_entry::operator = (const dir_entry$)): Protect against | |
10966 copying same object. | |
10967 * dir-ops.cc: Cast dir appropriately. | |
10968 | |
10969 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10970 | |
10971 * lo-error.cc: Moved to libcruft/misc. | |
10972 * Makefile.in: Delete it from the list. | |
10973 | |
10974 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
10975 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
10976 | |
10977 * Array-flags.h: New file. | |
10978 * Array-idx.h: Include it here. | |
10979 * Makefile.in (MATRIX_INC): Add it to the list. | |
10980 | |
10981 * Array-flags.cc: Renamed from Array-ext.cc. | |
10982 (liboctave_dfi_flag): Renamed from dfi_flag. | |
10983 (liboctave_pcv_flag): Renamed from pcv_flag. | |
10984 (liboctave_pzo_flag): Renamed from pzo_flag. | |
10985 (liboctave_rre_flag): Renamed from rre_flag. | |
10986 * Array-idx.h: Change all uses of dfi_flag, etc. | |
10987 * Makefile.in (MATRIX_SRC): Change file name here too. | |
10988 | |
10989 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
10990 (stamp-shared): Use them here. | |
10991 | |
10992 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10993 | |
10994 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
10995 argument value. | |
10996 | |
10997 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10998 | |
10999 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
11000 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
11001 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
11002 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
11003 Clean up constructors, assigment operator. | |
11004 | |
11005 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11006 | |
11007 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
11008 Check f77_exception_encountered on return. | |
11009 | |
11010 * f77-fcn.c (f77_exception_encountered): New variable. | |
11011 (F77_XFCN): Set it. | |
11012 * f77-fcn.h: Provide declaration. | |
11013 | |
11014 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
11015 | |
11016 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
11017 | |
11018 * NLEqn.h (NLEqn_options::set_options): New function. | |
11019 * Quad.h (Quad_options::set_options): Likewise. | |
11020 | |
11021 * LP.h (class LP): Add accessors for LP data. | |
11022 | |
11023 * NLEqn.h (NLEqn::n): Delete. | |
11024 | |
11025 * NLEqn.h (class NLEqn::n): Likewise. | |
11026 | |
11027 * NLP.h (class NLP): Add accessors for NLP data. | |
11028 | |
11029 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
11030 access functions here. | |
11031 * NPSOL.cc.cc: From here. | |
11032 | |
11033 * QLD.h (class QLD): Add destructor definition. | |
11034 * Objective.h (class Objective): Likewise. | |
11035 * ODEFunc.h (class ODEFunc): Likewise. | |
11036 * NLFunc.h (class NLFunc): Likewise. | |
11037 * NLEqn.h (class NLEqn): Likewise. | |
11038 * NLConst.h (class NLConst): Likewise. | |
11039 * LinConst.h (class LinConst): Likewise. | |
11040 * LSODE.h (class LSODE_options): Likewise. | |
11041 * CollocWt.h (class CollocWt): Likewise. | |
11042 * Bounds.h (class Bounds): Likewise. | |
11043 | |
11044 * QLD.cc (QLD::set_default_options): Delete. | |
11045 | |
11046 * QP.h (QP): Add accessors for QP data. | |
11047 Add copy constructor, operator =, and destructor definitions. | |
11048 | |
11049 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
11050 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
11051 DAEFunc.h, CollocWt.h, Bounds.h: | |
11052 Clean up constructors, assigment operator. | |
11053 | |
11054 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
11055 counting to avoid duplicating the data immediately. | |
11056 * dColVector.cc (ColumnVector::transpose): Likewise. | |
11057 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
11058 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
11059 | |
11060 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11061 | |
11062 * prog-args.h (prog_args::option_argument): New enum. | |
11063 | |
11064 * f77-fcn.h: Rename from f77-uscore.h. | |
11065 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
11066 * f77-fcn.c: New file. | |
11067 * Makefile.in (SOURCES): Add it to the list. | |
11068 | |
11069 * ODEFunc.h: Clean up. | |
11070 | |
11071 * DASSL.cc, DASSL.h: New files. | |
11072 * Makefile.in: Add them to the appropriate lists. | |
11073 | |
11074 * LSODE.cc, LSODE.h: New files. | |
11075 * Makefile.in: Add them to the appropriate lists. | |
11076 | |
11077 * ODE.cc: Delete. | |
11078 * Makefile.in (SOURCES): Remove from list. | |
11079 | |
11080 * base-de.h, DAE.cc: New files. | |
11081 * Makefile.in: Add them to the appropriate lists. | |
11082 * ODE.h: Only define interface for ODE classes. | |
11083 * DAE.h: Only define interface for ODE classes. | |
11084 | |
11085 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
11086 (LPsolve::set_default_options)): Delete | |
11087 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
11088 destructor. | |
11089 | |
11090 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
11091 | |
11092 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
11093 (QPSOL::operator =): Call base class operator = instead of assuming | |
11094 we know what to copy. | |
11095 | |
11096 * base-min.h (size): New function. | |
11097 | |
11098 * NLP.h (NLP::size): Delete. | |
11099 (NLP::NLP (const NLP&)): New constructor. | |
11100 (NLP::operator =): Call base class operator = instead of assuming | |
11101 we know what to copy. | |
11102 | |
11103 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
11104 (class NPSOL): Add operator = and destructor. | |
11105 | |
11106 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
11107 | |
11108 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11109 | |
11110 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
11111 | |
11112 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11113 | |
11114 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
11115 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
11116 | |
11117 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11118 | |
11119 * prog-args.h, prog-args.cc: New files. | |
11120 * Makefile.in: Add them to lists. | |
11121 | |
11122 * getopt.h, getopt.c, getopt1.c: New files. | |
11123 * Makefile.in: Add them to the lists. | |
11124 | |
11125 * oct-term.h, oct-term.cc: New files. | |
11126 * Makefile.in: Add them to the lists. | |
11127 | |
11128 * str-vec.cc: New file. | |
11129 * Makefile.in (SOURCES): Add it to the list. | |
11130 | |
11131 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
11132 | |
11133 * tempname.c, tempnam.c: Move here from src directory. | |
11134 * Makefile.in: Add to lists. | |
11135 | |
11136 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11137 | |
11138 * cmd-hist.h, cmd-hist.cc: New files. | |
11139 * Makefile.in: Add them to lists. | |
11140 | |
11141 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11142 | |
11143 * oct-glob.h, oct-glob.cc: New files. | |
11144 * Makefile.in: Add them to lists. | |
11145 | |
11146 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11147 | |
11148 * pathsearch.h, pathsearch.cc: New files. | |
11149 * Makefile.in: Add them to lists. | |
11150 | |
11151 * dir-ops.h, dir-ops.cc: New files. | |
11152 * sysdir.h: Move here from src directory. | |
11153 * Makefile.in: Add them to lists. | |
11154 | |
11155 * Array.h (Array::qsort): Return *this, not void. | |
11156 * str-vec.h (string_vector::qsort): Likewise. | |
11157 | |
11158 * chMatrix.cc (row_as_string): Resize result to eliminate | |
11159 unnecessary NULs. | |
11160 | |
11161 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11162 | |
11163 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
11164 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
11165 Files moved here from src directory. | |
11166 * Makefile.in: Add them to lists. Include appropriate rules. | |
11167 | |
11168 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
11169 Use pointers, not references (this is C code!). | |
11170 | |
11171 * oct-math.h: New file. | |
11172 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
11173 Files moved here from src directory. | |
11174 * Makefile.in: Add them to lists. | |
11175 | |
11176 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11177 | |
11178 * idx-vector.cc (make_uniq): Fix major brain-o. | |
11179 | |
11180 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
11181 Convert to use string class instead of char*. | |
11182 | |
11183 * str-vec.h, Array-str.cc: New files. | |
11184 | |
11185 * Array.h (Array::qsort): New function. | |
11186 | |
11187 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11188 | |
11189 * Array.h: Nest ArrayRep class inside Array class. | |
11190 Refer to ArrayRep, not ArrayRep<T>. | |
11191 Move all ArrayRep functions inline. | |
11192 Don't declare other Array classes as friends of ArrayRep. | |
11193 * Array.cc: Delete ArrayRep functions. | |
11194 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
11195 | |
11196 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
11197 Don't instantiate ArrayRep objects. | |
11198 | |
11199 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11200 | |
11201 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
11202 New constructor. | |
11203 | |
11204 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11205 | |
11206 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
11207 for balance_job arg. | |
11208 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
11209 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
11210 | |
11211 * chMatrix.cc (row_as_string): Return string, not const char*. | |
11212 | |
11213 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11214 | |
11215 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
11216 | |
11217 * chMatrix.cc (row_as_string): Undo previous change. | |
11218 | |
11219 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11220 | |
11221 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
11222 is expected to save string if necessary. | |
11223 | |
11224 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11225 | |
11226 * Array.h (class DiagArray): Enable nested Proxy class for all | |
11227 platforms. | |
11228 | |
11229 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
11230 a.rep, don't mess with count. | |
11231 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
11232 don't do anything if reps are the same. | |
11233 (Array3<T>& operator = (const Array3<T>&) | |
11234 | |
11235 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
11236 Declare private with no definition to prevent misuse. | |
11237 | |
11238 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
11239 Get range check right. | |
11240 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
11241 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
11242 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
11243 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
11244 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
11245 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
11246 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
11247 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
11248 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
11249 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
11250 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
11251 * dColVector.cc | |
11252 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
11253 * CRowVector.cc | |
11254 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
11255 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
11256 * CColVector.cc | |
11257 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
11258 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
11259 | |
11260 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
11261 Also fill in zeros, not just the diagonal. | |
11262 | |
11263 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
11264 Use END parameter properly. | |
11265 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
11266 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
11267 | |
11268 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
11269 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
11270 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
11271 Don't copy count. Set it to 1. | |
11272 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
11273 | |
11274 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
11275 don't set rep->count to 1 here (now handled by ArrayRep | |
11276 constructors). | |
11277 (Array<T>::Array (void)): Ditto. | |
11278 (Array<T>::Array (int)): Ditto. | |
11279 (Array<T>::T& elem (int)): Ditto. | |
11280 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
11281 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
11282 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
11283 (Array<T>::resize (int)): Ditto. | |
11284 (Array<T>::resize (int, const T&)) :Ditto. | |
11285 (Array<T>::fortran_vec (void)): Ditto. | |
11286 (Array2<T>::resize (int, int)): Ditto. | |
11287 (Array2<T>::resize (int, int, const T&)): Ditto. | |
11288 (DiagArray<T>::resize (int, int)): Ditto. | |
11289 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
11290 | |
11291 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11292 | |
11293 * Array-ch.cc: Rename from Array-c.cc. | |
11294 * MArray-ch.cc: Rename from MArray-c.cc. | |
11295 * chMatrix.cc: Rename from cMatrix.cc. | |
11296 * chMatrix.h: Rename from cMatrix.h. | |
11297 * Makefile.in (TI_SRC): Use new names here. | |
11298 * mx-base.h: Likewise. | |
11299 | |
11300 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11301 | |
11302 * Makefile.in: Handle shared libraries. | |
11303 | |
11304 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11305 | |
11306 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
11307 Correctly compute length of return value. Correct rows and | |
11308 columns in zgemv call. | |
11309 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
11310 | |
11311 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11312 | |
11313 * Makefile.in (stamp-picdir): New target. | |
11314 (all): Depend on it. | |
11315 | |
11316 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11317 | |
11318 * Makefile.in (INCLUDES): Remove QLD.h. | |
11319 (SOURCES): Remove QLD.cc. | |
11320 | |
11321 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
11322 | |
11323 * dMatrix.cc (Matrix::inverse): New arg, force. | |
11324 If force is nonzero, invert even if matrix is singular. | |
11325 (ComplexMatrix::inverse): Likewise. | |
11326 | |
11327 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
11328 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
11329 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
11330 Include "oct-cmplx.h" instead of <Complex.h>. | |
11331 | |
11332 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
11333 for class Complex. | |
11334 | |
11335 * oct-cmplx.h: New file. | |
11336 * Makefile.in (INCLUDES): Add it to the list. | |
11337 | |
11338 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
11339 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
11340 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
11341 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
11342 Avoid g++ bugs. | |
11343 | |
11344 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11345 | |
11346 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
11347 | |
11348 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
11349 | |
11350 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11351 | |
11352 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
11353 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
11354 | |
11355 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11356 | |
11357 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
11358 index vector object with Array, not ArrayRep. | |
11359 | |
11360 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11361 | |
11362 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
11363 if index is a colon and resizing is maybe needed. | |
11364 | |
11365 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11366 | |
11367 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
11368 if we have a vector of 1's. | |
11369 | |
11370 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
11371 current orientation, require index and rhs to conform unless | |
11372 do_fortran_indexing flag is set. | |
11373 | |
11374 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11375 | |
11376 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
11377 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
11378 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
11379 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
11380 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
11381 Massive changes to support additional data types. Only charMatrix | |
11382 is currently used in Octave. | |
11383 | |
11384 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11385 | |
11386 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
11387 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
11388 Simply call Array2<Complex> version. | |
11389 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
11390 call Array2<double> version. | |
11391 | |
11392 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
11393 | |
11394 * Array.h, Array.cc: Massive overhaul to support new way of | |
11395 handling indexing. | |
11396 * idx-vector.h, idx-vector.cc: Likewise. | |
11397 * Array-ext.cc, Array-idx.h: New files. | |
11398 * Makefile.in: Add them to the appropriate lists. | |
11399 | |
11400 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11401 | |
11402 * Range.cc (nelem_internal): Use tfloor here, not round. | |
11403 | |
11404 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11405 | |
11406 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
11407 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
11408 | |
11409 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11410 | |
11411 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
11412 | |
11413 * Array.h: Move simple member functions here. | |
11414 * Array.cc: From here. | |
11415 | |
11416 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11417 | |
11418 * Range.cc (tfloor, tceil, round): New static functions. | |
11419 (Range::nelem_internal): Rewrite to use better method. | |
11420 | |
11421 * dbleSVD.h (SVD::type): New item, sigma_only. | |
11422 (type_computed): New var. | |
11423 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
11424 Handle possible error condition. | |
11425 (init): Allow for SVD::sigma_only, save type computed. | |
11426 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
11427 Handle possible error condition. | |
11428 (init): Allow for SVD::sigma_only, save type computed. | |
11429 | |
11430 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11431 | |
11432 * Nearly all non-matrix .h and .cc files: | |
11433 Move short function bodies into class declarations for inlining. | |
11434 Generally clean up. | |
11435 | |
11436 * base-min.h: New file. | |
11437 * LP.h (class LP): Derive from base_minimizer. | |
11438 * QLP.h (class QLP): Derive from base_minimizer. | |
11439 * NLP.h (class NLP): Derive from base_minimizer. | |
11440 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
11441 | |
11442 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
11443 NLFunc.cc, Objective.cc and QP.cc from list. | |
11444 | |
11445 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11446 | |
11447 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
11448 (SCHUR::SCHUR): Delete unused parameter ord. | |
11449 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
11450 | |
11451 * CRowVector.cc | |
11452 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
11453 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
11454 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
11455 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
11456 Actually do something. | |
11457 | |
11458 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
11459 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
11460 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
11461 | |
11462 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
11463 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
11464 tolerances. | |
11465 | |
11466 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
11467 * LPsolve.cc (LPsolve::minimize): Likewise. | |
11468 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
11469 * ODE.cc (lsode_f, lsode_j): Likewise. | |
11470 * QPSOL.cc (qphess): Likewise. | |
11471 | |
11472 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11473 | |
11474 * dMatrix.cc: Include <cstring>. | |
11475 | |
11476 * Array.cc: Try harder to avoid warnings from gcc in functions | |
11477 that return bogus values after calling the error handler. | |
11478 | |
11479 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11480 | |
11481 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
11482 | |
11483 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
11484 | |
11485 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11486 | |
11487 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
11488 (dassl_j): Likewise. | |
11489 | |
11490 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
11491 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
11492 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
11493 Update for change in for loop variable scope for gcc 2.7.0. | |
11494 | |
11495 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11496 | |
11497 * Makefile.in: Only include dependency files if $(omit_deps) is | |
11498 not set. | |
11499 | |
11500 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
11501 | |
11502 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
11503 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
11504 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
11505 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
11506 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
11507 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
11508 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
11509 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
11510 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
11511 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
11512 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
11513 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
11514 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
11515 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
11516 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
11517 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
11518 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
11519 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
11520 NLP.h: Use pragma interface/implementation. Don't surround | |
11521 contents in extern "C++". | |
11522 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
11523 | |
11524 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11525 | |
11526 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
11527 identifiers. | |
11528 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11529 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11530 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11531 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11532 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11533 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11534 Quad.cc: Change usage of F77_FCN to match new definition | |
11535 | |
11536 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11537 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11538 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11539 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11540 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11541 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11542 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
11543 args by reference instead of pointer. Change all callers. | |
11544 | |
11545 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11546 | |
11547 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
11548 functions. Make += and -= operators friend functions. | |
11549 | |
11550 * Array.h (Array2::~Array2, Array3::~Array3, | |
11551 DiagArray::~DiagArray): New functions. | |
11552 | |
11553 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11554 | |
11555 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
11556 (MATRIX_INC): Don't distribute mx-kludge.h. | |
11557 | |
11558 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11559 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11560 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11561 dRowVector.h dRowVector.cc: | |
11562 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
11563 Array2, and DiagArray2. | |
11564 Don't use functions defined in mx-kludge.cc for arithmetic | |
11565 like-type operations on arrays. | |
11566 | |
11567 * MArray.cc: Use the classes defined here like-type mathematical | |
11568 operations on Array objects. Abuse CPP more. | |
11569 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
11570 (EXTRAS): Delete it from this list. | |
11571 | |
11572 * MArray-C.cc, MArray-d.cc: New files. | |
11573 * Makefile.in (TI_SRC): Add them to the list. | |
11574 | |
11575 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11576 | |
11577 * mx-kludge.cc: Abuse CPP even more. | |
11578 | |
11579 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11580 | |
11581 * Objective.h (objective_function): Add missing const. | |
11582 (gradient_function): Likewise. | |
11583 | |
11584 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11585 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11586 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11587 dRowVector.h dRowVector.cc: | |
11588 Reorganize to declare and define friends where they should be, | |
11589 based on the use of private constructors. | |
11590 | |
11591 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11592 | |
11593 * CRowVector.h (linspace): Add declaration. | |
11594 * dRowVector.h (linspace): Likewise. | |
11595 | |
11596 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
11597 Force result of rcond + 1.0 to be stored. | |
11598 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
11599 ComplexMatrix::solve): Likewise. | |
11600 | |
11601 See ChangeLog.1 in the top level directory for earlier changes. |