diff liboctave/sparse-base-lu.h @ 7515:f3c00dc0912b

Eliminate the rest of the dispatched sparse functions
author David Bateman <dbateman@free.fr>
date Fri, 22 Feb 2008 15:50:51 +0100
parents a1dbe9d80eee
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/sparse-base-lu.h	Fri Feb 22 13:47:38 2008 -0500
+++ b/liboctave/sparse-base-lu.h	Fri Feb 22 15:50:51 2008 +0100
@@ -26,6 +26,7 @@
 #define octave_sparse_base_lu_h 1
 
 #include "MArray.h"
+#include "dSparse.h"
 
 template <class lu_type, class lu_elt_type, class p_type, class p_elt_type>
 class
@@ -57,10 +58,18 @@
 
   lu_type U (void) const { return Ufact; }
 
+  SparseMatrix R (void) const { return Rfact; }
+
+  lu_type Y (void) const;
+
   p_type Pc (void) const;
 
   p_type Pr (void) const;
 
+  ColumnVector Pc_vec (void) const;
+
+  ColumnVector Pr_vec (void) const;
+
   const octave_idx_type * row_perm (void) const { return P.fortran_vec (); }
 
   const octave_idx_type * col_perm (void) const { return Q.fortran_vec (); }
@@ -71,6 +80,7 @@
 
   lu_type Lfact;
   lu_type Ufact;
+  SparseMatrix Rfact;
 
   double cond;