changeset 2555:97abf5d72929

[project @ 1996-11-21 18:31:31 by jwe]
author jwe
date Thu, 21 Nov 1996 18:31:31 +0000
parents f7e3d23f0a8f
children 253bcf1a11f2
files src/ChangeLog src/ov-ch-mat.h src/ov-str-mat.h
diffstat 3 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Nov 21 01:43:06 1996 +0000
+++ b/src/ChangeLog	Thu Nov 21 18:31:31 1996 +0000
@@ -1,3 +1,9 @@
+Thu Nov 21 12:30:36 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* ov-str-mat.h (octave_char_matrix_str): Provide transpose and
+	hermitian operators.
+	* ov-ch-mat.h (octave_char_matrix): Likewise.
+
 Wed Nov 20 00:35:57 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* sighandlers.h (struct octave_interrupt_handler): Provide
--- a/src/ov-ch-mat.h	Thu Nov 21 01:43:06 1996 +0000
+++ b/src/ov-ch-mat.h	Thu Nov 21 18:31:31 1996 +0000
@@ -116,6 +116,12 @@
   octave_value convert_to_str (void) const
     { return octave_value (matrix); }
 
+  octave_value transpose (void) const
+    { return octave_value (matrix.transpose ()); }
+
+  octave_value hermitian (void) const
+    { return octave_value (matrix.transpose ()); }
+
   void print (ostream& os, bool pr_as_read_syntax = false);
 
   int type_id (void) const { return t_id; }
--- a/src/ov-str-mat.h	Thu Nov 21 01:43:06 1996 +0000
+++ b/src/ov-str-mat.h	Thu Nov 21 18:31:31 1996 +0000
@@ -102,6 +102,12 @@
 
   string string_value (void) const;
 
+  octave_value transpose (void) const
+    { return octave_value (matrix.transpose (), true); }
+
+  octave_value hermitian (void) const
+    { return octave_value (matrix.transpose (), true); }
+
   void print (ostream& os, bool pr_as_read_syntax = false);
 
   int type_id (void) const { return t_id; }