diff src/ov-perm.h @ 8381:ad896677a2e2

implement binary saving of diag & perm matrices
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 08 Dec 2008 12:31:57 +0100
parents c43481a19bfe
children f00578b495e9
line wrap: on
line diff
--- a/src/ov-perm.h
+++ b/src/ov-perm.h
@@ -185,6 +185,11 @@
 
   bool load_ascii (std::istream& is);
 
+  bool save_binary (std::ostream& os, bool& save_as_floats);
+
+  bool load_binary (std::istream& is, bool swap, 
+		    oct_mach_info::float_format fmt);
+
   int write (octave_stream& os, int block_size,
 	     oct_data_conv::data_type output_type, int skip,
 	     oct_mach_info::float_format flt_fmt) const;