changeset 24783:db6fb8b8bbde

* CDiagMatrix.h: New typedefs for element types.
author John W. Eaton <jwe@octave.org>
date Wed, 21 Feb 2018 11:51:32 -0500
parents 0eb41237424e
children 4d945f2e5914
files liboctave/array/CDiagMatrix.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/array/CDiagMatrix.h	Sun Feb 18 14:32:36 2018 -0600
+++ b/liboctave/array/CDiagMatrix.h	Wed Feb 21 11:51:32 2018 -0500
@@ -39,6 +39,10 @@
 {
 public:
 
+  typedef double real_elt_type;
+  typedef Complex complex_elt_type;
+  typedef Complex element_type;
+
   ComplexDiagMatrix (void) : MDiagArray2<Complex> () { }
 
   ComplexDiagMatrix (octave_idx_type r, octave_idx_type c)