diff liboctave/numeric/SparseQR.h @ 21153:9c61ab1f7588

eliminate unnecessary qrsolve functions * SparseCmplxQR.cc, SparseCmplxQR.h, SparseQR.cc, SparseQR.h (qrsolve): Eliminate versions that accept Matrix and ComplexMatrix arguments in favor of MArray<double> and MArray<Complex>.
author John W. Eaton <jwe@octave.org>
date Fri, 29 Jan 2016 16:27:54 -0500
parents e06e600f396a
children
line wrap: on
line diff
--- a/liboctave/numeric/SparseQR.h	Fri Jan 29 14:55:20 2016 -0500
+++ b/liboctave/numeric/SparseQR.h	Fri Jan 29 16:27:54 2016 -0500
@@ -129,13 +129,13 @@
 
   Matrix Q (void) const { return rep->Q (); }
 
-  friend Matrix qrsolve (const SparseMatrix &a, const Matrix &b,
+  friend Matrix qrsolve (const SparseMatrix &a, const MArray<double> &b,
                          octave_idx_type &info);
 
   friend SparseMatrix qrsolve (const SparseMatrix &a, const SparseMatrix &b,
                                octave_idx_type &info);
 
-  friend ComplexMatrix qrsolve (const SparseMatrix &a, const ComplexMatrix &b,
+  friend ComplexMatrix qrsolve (const SparseMatrix &a, const MArray<Complex> &b,
                                 octave_idx_type &info);
 
   friend SparseComplexMatrix qrsolve (const SparseMatrix &a,
@@ -153,18 +153,12 @@
 
 // Publish externally used friend functions.
 
-extern Matrix qrsolve (const SparseMatrix &a, const Matrix &b,
-                       octave_idx_type &info);
-
 extern Matrix qrsolve (const SparseMatrix &a, const MArray<double> &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 ComplexMatrix qrsolve (const SparseMatrix &a, const MArray<Complex> &b,
                               octave_idx_type &info);