diff src/sparse-xdiv.h @ 5322:22994a5730f9

[project @ 2005-04-29 13:04:24 by dbateman]
author dbateman
date Fri, 29 Apr 2005 13:04:25 +0000
parents 4c8a2e4e0717
children 6b9cec830d72
line wrap: on
line diff
--- a/src/sparse-xdiv.h
+++ b/src/sparse-xdiv.h
@@ -24,23 +24,27 @@
 #define octave_sparse_xdiv_h 1
 
 #include "oct-cmplx.h"
+#include "SparseType.h"
 
 class SparseMatrix;
 class SparseComplexMatrix;
 
-extern Matrix xdiv (const Matrix& a, const SparseMatrix& b);
-extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b);
-extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b);
+extern Matrix xdiv (const Matrix& a, const SparseMatrix& b, SparseType &typ);
+extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b,
+			   SparseType &typ);
+extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b,
+			   SparseType &typ);
 extern ComplexMatrix xdiv (const ComplexMatrix& a, 
-			   const SparseComplexMatrix& b);
+			   const SparseComplexMatrix& b, SparseType &typ);
 
-extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b);
+extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b,
+			  SparseType &typ);
 extern SparseComplexMatrix xdiv (const SparseMatrix& a, 
-				 const SparseComplexMatrix& b);
+				 const SparseComplexMatrix& b, SparseType &typ);
 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, 
-				 const SparseMatrix& b);
+				 const SparseMatrix& b, SparseType &typ);
 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, 
-				 const SparseComplexMatrix& b);
+				 const SparseComplexMatrix& b, SparseType &typ);
 
 extern Matrix x_el_div (double a, const SparseMatrix& b);
 extern ComplexMatrix x_el_div (double a, const SparseComplexMatrix& b);
@@ -48,19 +52,23 @@
 extern ComplexMatrix x_el_div (const Complex a, 
 			       const SparseComplexMatrix& b);
 
-extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b);
-extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b);
-extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b);
+extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b, 
+			SparseType& typ);
+extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b,
+			       SparseType &typ);
+extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b,
+			       SparseType &typ);
 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, 
-			       const ComplexMatrix& b);
+			       const ComplexMatrix& b, SparseType &typ);
 
-extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b);
+extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b,
+			      SparseType &typ);
 extern SparseComplexMatrix xleftdiv (const SparseMatrix& a, 
-				     const SparseComplexMatrix& b);
+				     const SparseComplexMatrix& b, SparseType &typ);
 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, 
-				     const SparseMatrix& b);
+				     const SparseMatrix& b, SparseType &typ);
 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, 
-				     const SparseComplexMatrix& b);
+				     const SparseComplexMatrix& b, SparseType &typ);
 
 #endif