ls-mat4.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2003-2012 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 3 of the License, or (at your
00010 option) any later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, see
00019 <http://www.gnu.org/licenses/>.
00020 
00021 */
00022 
00023 #if !defined (octave_ls_mat4_h)
00024 #define octave_ls_mat4_h 1
00025 
00026 extern oct_mach_info::float_format
00027 mopt_digit_to_float_format (int mach);
00028 
00029 extern int
00030 float_format_to_mopt_digit (oct_mach_info::float_format flt_fmt);
00031 
00032 extern int
00033 read_mat_file_header (std::istream& is, bool& swap, int32_t& mopt,
00034                       int32_t& nr, int32_t& nc, int32_t& imag,
00035                       int32_t& len, int quiet = 0);
00036 
00037 extern std::string
00038 read_mat_binary_data (std::istream& is, const std::string& filename,
00039                       octave_value& tc);
00040 
00041 extern bool
00042 save_mat_binary_data (std::ostream& os, const octave_value& tc,
00043                       const std::string& name) ;
00044 
00045 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines