diff liboctave/CSparse.h @ 8303:b11c31849b44

improve norm computation capabilities
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 31 Oct 2008 08:05:32 +0100
parents 935be827eaf8
children 64cf956a109c
line wrap: on
line diff
--- a/liboctave/CSparse.h	Sun Nov 02 06:44:12 2008 +0100
+++ b/liboctave/CSparse.h	Fri Oct 31 08:05:32 2008 +0100
@@ -127,6 +127,12 @@
 
   friend SparseComplexMatrix conj (const SparseComplexMatrix& a);
 
+  // extract row or column i.
+
+  ComplexRowVector row (octave_idx_type i) const;
+
+  ComplexColumnVector column (octave_idx_type i) const;
+
 private:
   SparseComplexMatrix dinverse (MatrixType &mattyp, octave_idx_type& info, 
 				double& rcond, const bool force = false,