5683
|
1 /* |
|
2 |
|
3 Copyright (C) 2006 David Bateman |
|
4 |
|
5 Octave is free software; you can redistribute it and/or modify it |
|
6 under the terms of the GNU General Public License as published by the |
|
7 Free Software Foundation; either version 2, or (at your option) any |
|
8 later version. |
|
9 |
|
10 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 for more details. |
|
14 |
|
15 You should have received a copy of the GNU General Public License |
|
16 along with this program; see the file COPYING. If not, write to the |
|
17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
18 Boston, MA 02110-1301, USA. |
|
19 |
|
20 */ |
|
21 |
|
22 #ifdef HAVE_CONFIG_H |
|
23 #include <config.h> |
|
24 #endif |
|
25 |
|
26 |
5794
|
27 // FIXME -- liboctave should not be including files from the src directory. |
5683
|
28 #include "ov-re-sparse.h" |
|
29 #include "ov-cx-sparse.h" |
5794
|
30 |
5683
|
31 #include "MArray2.h" |
|
32 #include "MSparse.h" |
|
33 #include "SparseQR.h" |
|
34 #include "SparseCmplxQR.h" |
5785
|
35 #include "MatrixType.h" |
5683
|
36 #include "oct-sort.h" |
|
37 |
|
38 template <class T> |
|
39 static MSparse<T> |
|
40 dmsolve_extract (const MSparse<T> &A, const octave_idx_type *Pinv, |
|
41 const octave_idx_type *Q, octave_idx_type rst, |
|
42 octave_idx_type rend, octave_idx_type cst, |
|
43 octave_idx_type cend, octave_idx_type maxnz = -1, |
|
44 bool lazy = false) |
|
45 { |
|
46 octave_idx_type nz = (rend - rst) * (cend - cst); |
|
47 maxnz = (maxnz < 0 ? A.nnz () : maxnz); |
|
48 MSparse<T> B (rend - rst, cend - cst, (nz < maxnz ? nz : maxnz)); |
|
49 // Some sparse functions can support lazy indexing (where elements |
|
50 // in the row are in no particular order), even though octave in |
|
51 // general can't. For those functions that can using it is a big |
|
52 // win here in terms of speed. |
|
53 if (lazy) |
|
54 { |
|
55 nz = 0; |
|
56 for (octave_idx_type j = cst ; j < cend ; j++) |
|
57 { |
|
58 octave_idx_type qq = (Q ? Q [j] : j); |
|
59 B.xcidx (j - cst) = nz; |
|
60 for (octave_idx_type p = A.cidx(qq) ; p < A.cidx (qq+1) ; p++) |
|
61 { |
|
62 OCTAVE_QUIT; |
|
63 octave_idx_type r = (Pinv ? Pinv [A.ridx (p)] : A.ridx (p)); |
|
64 if (r >= rst && r < rend) |
|
65 { |
|
66 B.xdata (nz) = A.data (p); |
|
67 B.xridx (nz++) = r - rst ; |
|
68 } |
|
69 } |
|
70 } |
|
71 B.xcidx (cend - cst) = nz ; |
|
72 } |
|
73 else |
|
74 { |
|
75 OCTAVE_LOCAL_BUFFER (T, X, rend - rst); |
|
76 octave_sort<octave_idx_type> sort; |
|
77 octave_idx_type *ri = B.xridx(); |
|
78 nz = 0; |
|
79 for (octave_idx_type j = cst ; j < cend ; j++) |
|
80 { |
|
81 octave_idx_type qq = (Q ? Q [j] : j); |
|
82 B.xcidx (j - cst) = nz; |
|
83 for (octave_idx_type p = A.cidx(qq) ; p < A.cidx (qq+1) ; p++) |
|
84 { |
|
85 OCTAVE_QUIT; |
|
86 octave_idx_type r = (Pinv ? Pinv [A.ridx (p)] : A.ridx (p)); |
|
87 if (r >= rst && r < rend) |
|
88 { |
|
89 X [r-rst] = A.data (p); |
|
90 B.xridx (nz++) = r - rst ; |
|
91 } |
|
92 } |
|
93 sort.sort (ri + B.xcidx (j - cst), nz - B.xcidx (j - cst)); |
|
94 for (octave_idx_type p = B.cidx (j - cst); p < nz; p++) |
|
95 B.xdata (p) = X [B.xridx (p)]; |
|
96 } |
|
97 B.xcidx (cend - cst) = nz ; |
|
98 } |
|
99 |
|
100 return B; |
|
101 } |
|
102 |
|
103 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
104 static MSparse<double> |
|
105 dmsolve_extract (const MSparse<double> &A, const octave_idx_type *Pinv, |
|
106 const octave_idx_type *Q, octave_idx_type rst, |
|
107 octave_idx_type rend, octave_idx_type cst, |
|
108 octave_idx_type cend, octave_idx_type maxnz, |
|
109 bool lazy); |
|
110 |
|
111 static MSparse<Complex> |
|
112 dmsolve_extract (const MSparse<Complex> &A, const octave_idx_type *Pinv, |
|
113 const octave_idx_type *Q, octave_idx_type rst, |
|
114 octave_idx_type rend, octave_idx_type cst, |
|
115 octave_idx_type cend, octave_idx_type maxnz, |
|
116 bool lazy); |
|
117 #endif |
|
118 |
|
119 template <class T> |
|
120 static MArray2<T> |
|
121 dmsolve_extract (const MArray2<T> &m, const octave_idx_type *, |
|
122 const octave_idx_type *, octave_idx_type r1, |
|
123 octave_idx_type r2, octave_idx_type c1, |
|
124 octave_idx_type c2) |
|
125 { |
|
126 r2 -= 1; |
|
127 c2 -= 1; |
|
128 if (r1 > r2) { octave_idx_type tmp = r1; r1 = r2; r2 = tmp; } |
|
129 if (c1 > c2) { octave_idx_type tmp = c1; c1 = c2; c2 = tmp; } |
|
130 |
|
131 octave_idx_type new_r = r2 - r1 + 1; |
|
132 octave_idx_type new_c = c2 - c1 + 1; |
|
133 |
|
134 MArray2<T> result (new_r, new_c); |
|
135 |
|
136 for (octave_idx_type j = 0; j < new_c; j++) |
|
137 for (octave_idx_type i = 0; i < new_r; i++) |
|
138 result.xelem (i, j) = m.elem (r1+i, c1+j); |
|
139 |
|
140 return result; |
|
141 } |
|
142 |
|
143 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
144 static MArray2<double> |
|
145 dmsolve_extract (const MArray2<double> &m, const octave_idx_type *, |
|
146 const octave_idx_type *, octave_idx_type r1, |
|
147 octave_idx_type r2, octave_idx_type c1, |
|
148 octave_idx_type c2) |
|
149 |
|
150 static MArray2<Complex> |
|
151 dmsolve_extract (const MArray2<Complex> &m, const octave_idx_type *, |
|
152 const octave_idx_type *, octave_idx_type r1, |
|
153 octave_idx_type r2, octave_idx_type c1, |
|
154 octave_idx_type c2) |
|
155 #endif |
|
156 |
|
157 template <class T> |
|
158 static void |
|
159 dmsolve_insert (MArray2<T> &a, const MArray2<T> &b, const octave_idx_type *Q, |
|
160 octave_idx_type r, octave_idx_type c) |
|
161 { |
|
162 T *ax = a.fortran_vec(); |
|
163 const T *bx = b.fortran_vec(); |
|
164 octave_idx_type anr = a.rows(); |
|
165 octave_idx_type nr = b.rows(); |
|
166 octave_idx_type nc = b.cols(); |
|
167 for (octave_idx_type j = 0; j < nc; j++) |
|
168 { |
|
169 octave_idx_type aoff = (c + j) * anr; |
|
170 octave_idx_type boff = j * nr; |
|
171 for (octave_idx_type i = 0; i < nr; i++) |
|
172 { |
|
173 OCTAVE_QUIT; |
|
174 ax [Q [r + i] + aoff] = bx [i + boff]; |
|
175 } |
|
176 } |
|
177 } |
|
178 |
|
179 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
180 static void |
|
181 dmsolve_insert (MArray2<double> &a, const MArray2<double> &b, |
|
182 const octave_idx_type *Q, octave_idx_type r, octave_idx_type c); |
|
183 |
|
184 static void |
|
185 dmsolve_insert (MArray2<Complex> &a, const MArray2<Complex> &b, |
|
186 const octave_idx_type *Q, octave_idx_type r, octave_idx_type c); |
|
187 #endif |
|
188 |
|
189 template <class T> |
|
190 static void |
|
191 dmsolve_insert (MSparse<T> &a, const MSparse<T> &b, const octave_idx_type *Q, |
|
192 octave_idx_type r, octave_idx_type c) |
|
193 { |
|
194 octave_idx_type b_rows = b.rows (); |
|
195 octave_idx_type b_cols = b.cols (); |
|
196 octave_idx_type nr = a.rows (); |
|
197 octave_idx_type nc = a.cols (); |
|
198 |
|
199 OCTAVE_LOCAL_BUFFER (octave_idx_type, Qinv, nr); |
|
200 for (octave_idx_type i = 0; i < nr; i++) |
|
201 Qinv [Q [i]] = i; |
|
202 |
|
203 // First count the number of elements in the final array |
|
204 octave_idx_type nel = a.xcidx(c) + b.nnz (); |
|
205 |
|
206 if (c + b_cols < nc) |
|
207 nel += a.xcidx(nc) - a.xcidx(c + b_cols); |
|
208 |
|
209 for (octave_idx_type i = c; i < c + b_cols; i++) |
|
210 for (octave_idx_type j = a.xcidx(i); j < a.xcidx(i+1); j++) |
|
211 if (Qinv [a.xridx(j)] < r || Qinv [a.xridx(j)] >= r + b_rows) |
|
212 nel++; |
|
213 |
|
214 OCTAVE_LOCAL_BUFFER (T, X, nr); |
|
215 octave_sort<octave_idx_type> sort; |
|
216 MSparse<T> tmp (a); |
|
217 a = MSparse<T> (nr, nc, nel); |
|
218 octave_idx_type *ri = a.xridx(); |
|
219 |
|
220 for (octave_idx_type i = 0; i < tmp.cidx(c); i++) |
|
221 { |
|
222 a.xdata(i) = tmp.xdata(i); |
|
223 a.xridx(i) = tmp.xridx(i); |
|
224 } |
|
225 for (octave_idx_type i = 0; i < c + 1; i++) |
|
226 a.xcidx(i) = tmp.xcidx(i); |
|
227 |
|
228 octave_idx_type ii = a.xcidx(c); |
|
229 |
|
230 for (octave_idx_type i = c; i < c + b_cols; i++) |
|
231 { |
|
232 OCTAVE_QUIT; |
|
233 |
|
234 for (octave_idx_type j = tmp.xcidx(i); j < tmp.xcidx(i+1); j++) |
|
235 if (Qinv [tmp.xridx(j)] < r || Qinv [tmp.xridx(j)] >= r + b_rows) |
|
236 { |
|
237 X [tmp.xridx(j)] = tmp.xdata(j); |
|
238 a.xridx(ii++) = tmp.xridx(j); |
|
239 } |
|
240 |
|
241 OCTAVE_QUIT; |
|
242 |
|
243 for (octave_idx_type j = b.cidx(i-c); j < b.cidx(i-c+1); j++) |
|
244 { |
|
245 X [Q [r + b.ridx(j)]] = b.data(j); |
|
246 a.xridx(ii++) = Q [r + b.ridx(j)]; |
|
247 } |
|
248 |
|
249 sort.sort (ri + a.xcidx (i), ii - a.xcidx (i)); |
|
250 for (octave_idx_type p = a.xcidx (i); p < ii; p++) |
|
251 a.xdata (p) = X [a.xridx (p)]; |
|
252 a.xcidx(i+1) = ii; |
|
253 } |
|
254 |
|
255 for (octave_idx_type i = c + b_cols; i < nc; i++) |
|
256 { |
|
257 for (octave_idx_type j = tmp.xcidx(i); j < tmp.cidx(i+1); j++) |
|
258 { |
|
259 a.xdata(ii) = tmp.xdata(j); |
|
260 a.xridx(ii++) = tmp.xridx(j); |
|
261 } |
|
262 a.xcidx(i+1) = ii; |
|
263 } |
|
264 } |
|
265 |
|
266 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
267 static void |
|
268 dmsolve_insert (MSparse<double> &a, const SparseMatrix &b, |
|
269 const octave_idx_type *Q, octave_idx_type r, octave_idx_type c); |
|
270 |
|
271 static void |
|
272 dmsolve_insert (MSparse<Complex> &a, const MSparse<Complex> &b, |
|
273 const octave_idx_type *Q, octave_idx_type r, octave_idx_type c); |
|
274 #endif |
|
275 |
|
276 template <class T, class RT> |
|
277 static void |
|
278 dmsolve_permute (MArray2<RT> &a, const MArray2<T>& b, const octave_idx_type *p) |
|
279 { |
|
280 octave_idx_type b_nr = b.rows (); |
|
281 octave_idx_type b_nc = b.cols (); |
|
282 const T *Bx = b.fortran_vec(); |
|
283 a.resize(b_nr, b_nc); |
|
284 RT *Btx = a.fortran_vec(); |
|
285 for (octave_idx_type j = 0; j < b_nc; j++) |
|
286 { |
|
287 octave_idx_type off = j * b_nr; |
|
288 for (octave_idx_type i = 0; i < b_nr; i++) |
|
289 { |
|
290 OCTAVE_QUIT; |
|
291 Btx [p [i] + off] = Bx [ i + off]; |
|
292 } |
|
293 } |
|
294 } |
|
295 |
|
296 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
297 static void |
|
298 dmsolve_permute (MArray2<double> &a, const MArray2<double>& b, |
|
299 const octave_idx_type *p); |
|
300 |
|
301 static void |
|
302 dmsolve_permute (MArray2<Complex> &a, const MArray2<double>& b, |
|
303 const octave_idx_type *p); |
|
304 |
|
305 static void |
|
306 dmsolve_permute (MArray2<Complex> &a, const MArray2<Complex>& b, |
|
307 const octave_idx_type *p); |
|
308 #endif |
|
309 |
|
310 template <class T, class RT> |
|
311 static void |
|
312 dmsolve_permute (MSparse<RT> &a, const MSparse<T>& b, const octave_idx_type *p) |
|
313 { |
|
314 octave_idx_type b_nr = b.rows (); |
|
315 octave_idx_type b_nc = b.cols (); |
|
316 octave_idx_type b_nz = b.nnz (); |
|
317 octave_idx_type nz = 0; |
|
318 a = MSparse<RT> (b_nr, b_nc, b_nz); |
|
319 octave_sort<octave_idx_type> sort; |
|
320 octave_idx_type *ri = a.xridx(); |
|
321 OCTAVE_LOCAL_BUFFER (RT, X, b_nr); |
|
322 a.xcidx(0) = 0; |
|
323 for (octave_idx_type j = 0; j < b_nc; j++) |
|
324 { |
|
325 for (octave_idx_type i = b.cidx(j); i < b.cidx(j+1); i++) |
|
326 { |
|
327 OCTAVE_QUIT; |
|
328 octave_idx_type r = p [b.ridx (i)]; |
|
329 X [r] = b.data (i); |
|
330 a.xridx(nz++) = p [b.ridx (i)]; |
|
331 } |
|
332 sort.sort (ri + a.xcidx (j), nz - a.xcidx (j)); |
|
333 for (octave_idx_type i = a.cidx (j); i < nz; i++) |
|
334 { |
|
335 OCTAVE_QUIT; |
|
336 a.xdata (i) = X [a.xridx (i)]; |
|
337 } |
|
338 a.xcidx(j+1) = nz; |
|
339 } |
|
340 } |
|
341 |
|
342 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
343 static void |
|
344 dmsolve_permute (MSparse<double> &a, const MSparse<double>& b, |
|
345 const octave_idx_type *p); |
|
346 |
|
347 static void |
|
348 dmsolve_permute (MSparse<Complex> &a, const MSparse<double>& b, |
|
349 const octave_idx_type *p); |
|
350 |
|
351 static void |
|
352 dmsolve_permute (MSparse<Complex> &a, const MSparse<Complex>& b, |
|
353 const octave_idx_type *p); |
|
354 #endif |
|
355 |
|
356 static void |
|
357 solve_singularity_warning (double) |
|
358 { |
|
359 // Dummy singularity handler so that LU solver doesn't flag |
|
360 // an error for numerically rank defficient matrices |
|
361 } |
|
362 |
|
363 template <class RT, class ST, class T> |
|
364 RT |
|
365 dmsolve (const ST &a, const T &b, octave_idx_type &info) |
|
366 { |
5684
|
367 #ifdef HAVE_CXSPARSE |
5683
|
368 octave_idx_type nr = a.rows (); |
|
369 octave_idx_type nc = a.cols (); |
|
370 octave_idx_type b_nr = b.rows (); |
|
371 octave_idx_type b_nc = b.cols (); |
|
372 RT retval; |
|
373 |
|
374 if (nr < 1 || nc < 1 || nr != b_nr) |
|
375 (*current_liboctave_error_handler) |
|
376 ("matrix dimension mismatch in solution of minimum norm problem"); |
|
377 else |
|
378 { |
|
379 octave_idx_type nnz_remaining = a.nnz (); |
|
380 CXSPARSE_DNAME () csm; |
|
381 csm.m = nr; |
|
382 csm.n = nc; |
|
383 csm.x = NULL; |
|
384 csm.nz = -1; |
|
385 csm.nzmax = a.nnz (); |
|
386 // Cast away const on A, with full knowledge that CSparse won't touch it. |
|
387 // Prevents the methods below making a copy of the data. |
|
388 csm.p = const_cast<octave_idx_type *>(a.cidx ()); |
|
389 csm.i = const_cast<octave_idx_type *>(a.ridx ()); |
|
390 |
5792
|
391 #if defined(CS_VER) && (CS_VER >= 2) |
|
392 CXSPARSE_DNAME (d) *dm = CXSPARSE_DNAME(_dmperm) (&csm, 0); |
|
393 octave_idx_type *p = dm->p; |
|
394 octave_idx_type *q = dm->q; |
|
395 #else |
5683
|
396 CXSPARSE_DNAME (d) *dm = CXSPARSE_DNAME(_dmperm) (&csm); |
|
397 octave_idx_type *p = dm->P; |
|
398 octave_idx_type *q = dm->Q; |
5792
|
399 #endif |
5683
|
400 OCTAVE_LOCAL_BUFFER (octave_idx_type, pinv, nr); |
|
401 for (octave_idx_type i = 0; i < nr; i++) |
|
402 pinv [p [i]] = i; |
|
403 RT btmp; |
|
404 dmsolve_permute (btmp, b, pinv); |
|
405 info = 0; |
|
406 retval.resize (nc, b_nc); |
|
407 |
|
408 // Leading over-determined block |
|
409 if (dm->rr [2] < nr && dm->cc [3] < nc) |
|
410 { |
|
411 ST m = dmsolve_extract (a, pinv, q, dm->rr [2], nr, dm->cc [3], nc, |
|
412 nnz_remaining, true); |
|
413 nnz_remaining -= m.nnz(); |
|
414 RT mtmp = |
|
415 qrsolve (m, dmsolve_extract (btmp, NULL, NULL, dm->rr[2], b_nr, 0, |
|
416 b_nc), info); |
|
417 dmsolve_insert (retval, mtmp, q, dm->cc [3], 0); |
|
418 if (dm->rr [2] > 0 && !info && !error_state) |
|
419 { |
|
420 m = dmsolve_extract (a, pinv, q, 0, dm->rr [2], |
|
421 dm->cc [3], nc, nnz_remaining, true); |
|
422 nnz_remaining -= m.nnz(); |
|
423 RT ctmp = dmsolve_extract (btmp, NULL, NULL, 0, |
|
424 dm->rr[2], 0, b_nc); |
|
425 btmp.insert (ctmp - m * mtmp, 0, 0); |
|
426 } |
|
427 } |
|
428 |
|
429 // Structurally non-singular blocks |
5775
|
430 // FIXME Should use fine Dulmange-Mendelsohn decomposition here. |
5683
|
431 if (dm->rr [1] < dm->rr [2] && dm->cc [2] < dm->cc [3] && |
|
432 !info && !error_state) |
|
433 { |
|
434 ST m = dmsolve_extract (a, pinv, q, dm->rr [1], dm->rr [2], |
|
435 dm->cc [2], dm->cc [3], nnz_remaining, false); |
|
436 nnz_remaining -= m.nnz(); |
|
437 RT btmp2 = dmsolve_extract (btmp, NULL, NULL, dm->rr [1], dm->rr [2], |
|
438 0, b_nc); |
|
439 double rcond = 0.0; |
5785
|
440 MatrixType mtyp (MatrixType::Full); |
5683
|
441 RT mtmp = m.solve (mtyp, btmp2, info, rcond, |
5697
|
442 solve_singularity_warning, false); |
5683
|
443 if (info != 0) |
|
444 { |
|
445 info = 0; |
|
446 mtmp = qrsolve (m, btmp2, info); |
|
447 } |
|
448 |
|
449 dmsolve_insert (retval, mtmp, q, dm->cc [2], 0); |
|
450 if (dm->rr [1] > 0 && !info && !error_state) |
|
451 { |
|
452 m = dmsolve_extract (a, pinv, q, 0, dm->rr [1], dm->cc [2], |
|
453 dm->cc [3], nnz_remaining, true); |
|
454 nnz_remaining -= m.nnz(); |
|
455 RT ctmp = dmsolve_extract (btmp, NULL, NULL, 0, |
|
456 dm->rr[1], 0, b_nc); |
|
457 btmp.insert (ctmp - m * mtmp, 0, 0); |
|
458 } |
|
459 } |
|
460 |
|
461 // Trailing under-determined block |
|
462 if (dm->rr [1] > 0 && dm->cc [2] > 0 && !info && !error_state) |
|
463 { |
|
464 ST m = dmsolve_extract (a, pinv, q, 0, dm->rr [1], 0, |
|
465 dm->cc [2], nnz_remaining, true); |
|
466 RT mtmp = |
|
467 qrsolve (m, dmsolve_extract(btmp, NULL, NULL, 0, dm->rr [1] , 0, |
|
468 b_nc), info); |
|
469 dmsolve_insert (retval, mtmp, q, 0, 0); |
|
470 } |
|
471 |
|
472 CXSPARSE_DNAME (_dfree) (dm); |
|
473 } |
|
474 return retval; |
5684
|
475 #else |
|
476 return RT (); |
|
477 #endif |
5683
|
478 } |
|
479 |
|
480 #if !defined (CXX_NEW_FRIEND_TEMPLATE_DECL) |
|
481 extern Matrix |
|
482 dmsolve (const SparseMatrix &a, const Matrix &b, |
|
483 octave_idx_type &info); |
|
484 |
|
485 extern ComplexMatrix |
|
486 dmsolve (const SparseMatrix &a, const ComplexMatrix &b, |
|
487 octave_idx_type &info); |
|
488 |
|
489 extern ComplexMatrix |
|
490 dmsolve (const SparseComplexMatrix &a, const Matrix &b, |
|
491 octave_idx_type &info); |
|
492 |
|
493 extern ComplexMatrix |
|
494 dmsolve (const SparseComplexMatrix &a, const ComplexMatrix &b, |
|
495 octave_idx_type &info); |
|
496 |
|
497 extern SparseMatrix |
|
498 dmsolve (const SparseMatrix &a, const SparseMatrix &b, |
|
499 octave_idx_type &info); |
|
500 |
|
501 extern SparseComplexMatrix |
|
502 dmsolve (const SparseMatrix &a, const SparseComplexMatrix &b, |
|
503 octave_idx_type &info); |
|
504 |
|
505 extern SparseComplexMatrix |
|
506 dmsolve (const SparseComplexMatrix &a, const SparseMatrix &b, |
|
507 octave_idx_type &info); |
|
508 |
|
509 extern SparseComplexMatrix |
|
510 dmsolve (const SparseComplexMatrix &a, const SparseComplexMatrix &b, |
|
511 octave_idx_type &info); |
|
512 #endif |
|
513 |
|
514 /* |
|
515 ;;; Local Variables: *** |
|
516 ;;; mode: C++ *** |
|
517 ;;; End: *** |
|
518 */ |