From bug-request at octave dot org Thu Mar 23 12:29:05 2006 Subject: Re: octave from cvs doesn't compile (g++ 4.1.0) From: David Bateman To: "John W. Eaton" Cc: Gert Van den Eynde , bug@octave.org Date: Thu, 23 Mar 2006 19:24:12 +0100 This is a multi-part message in MIME format. --------------020609010301060901000708 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit John W. Eaton wrote: >On 23-Mar-2006, David Bateman wrote: > >| 2006-03-23 David Bateman >| >| * SparseQR.h: Publish externally used friends. >| * SparseCmplxQR.h: ditto. > >Please check in these changes. > >Thanks, > >jwe > > > Ok, done. Though please note I didn't compile the previous version of the patch and just noticed a typo. An updated patch and what I actually checked in is attached.. D. -- David Bateman David dot Bateman at motorola dot com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary --------------020609010301060901000708 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch" *** ./liboctave/SparseQR.h.orig 2006-03-23 18:07:14.035852964 +0100 --- ./liboctave/SparseQR.h 2006-03-23 18:52:49.582935046 +0100 *************** *** 133,138 **** --- 133,154 ---- #endif }; + + // Publish externally used friend functions. + + extern Matrix qrsolve (const SparseMatrix &a, const Matrix &b, + octave_idx_type &info); + + extern SparseMatrix qrsolve (const SparseMatrix &a, const SparseMatrix &b, + octave_idx_type &info); + + extern ComplexMatrix qrsolve (const SparseMatrix &a, const ComplexMatrix &b, + octave_idx_type &info); + + extern SparseComplexMatrix qrsolve (const SparseMatrix &a, + const SparseComplexMatrix &b, + octave_idx_type &info); + #endif /* *** ./liboctave/SparseCmplxQR.h.orig 2006-03-23 18:07:24.523298606 +0100 --- ./liboctave/SparseCmplxQR.h 2006-03-23 18:06:52.572987293 +0100 *************** *** 137,142 **** --- 137,159 ---- #endif }; + + // Publish externally used friend functions. + + extern ComplexMatrix qrsolve (const SparseComplexMatrix &a, const Matrix &b, + octave_idx_type &info); + + extern SparseComplexMatrix qrsolve (const SparseComplexMatrix &a, + const SparseMatrix &b, + octave_idx_type &info); + + extern ComplexMatrix qrsolve (const SparseComplexMatrix &a, + const ComplexMatrix &b, + octave_idx_type &info); + + extern SparseComplexMatrix qrsolve (const SparseComplexMatrix &a, + const SparseComplexMatrix &b, + octave_idx_type &info); #endif /* --------------020609010301060901000708-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------