diff src/ov-complex.h @ 5989:e049385342f6

[project @ 2006-09-14 02:10:46 by jwe]
author jwe
date Thu, 14 Sep 2006 02:10:46 +0000
parents 85c7dc4afe6b
children 2f357df626cb
line wrap: on
line diff
--- a/src/ov-complex.h
+++ b/src/ov-complex.h
@@ -104,6 +104,12 @@
 
   NDArray array_value (bool = false) const;
 
+  SparseMatrix sparse_matrix_value (bool = false) const
+    { return SparseMatrix (matrix_value ()); }
+
+  SparseComplexMatrix sparse_complex_matrix_value (bool = false) const
+    { return SparseComplexMatrix (complex_matrix_value ()); }
+
   octave_value resize (const dim_vector& dv, bool fill = false) const;
 
   Complex complex_value (bool = false) const;