changeset 6928:20dac48f4d8d

[project @ 2007-09-26 21:55:05 by dbateman]
author dbateman
date Wed, 26 Sep 2007 21:55:05 +0000
parents cf07aa5666cb
children d5bf6be68c87
files src/ov-range.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ov-range.h	Wed Sep 26 20:10:01 2007 +0000
+++ b/src/ov-range.h	Wed Sep 26 21:55:05 2007 +0000
@@ -163,6 +163,12 @@
   NDArray array_value (bool = false) const
     { return range.matrix_value (); }
 
+  SparseMatrix sparse_matrix_value (bool = false) const
+    { return SparseMatrix (range.matrix_value ()); }
+
+  SparseComplexMatrix sparse_complex_matrix_value (bool = false) const
+    { return SparseComplexMatrix (sparse_matrix_value ()); }
+
   Complex complex_value (bool = false) const;
 
   boolNDArray bool_array_value (bool warn = false) const