Functions

ls-mat4.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int float_format_to_mopt_digit (oct_mach_info::float_format flt_fmt)
oct_mach_info::float_format mopt_digit_to_float_format (int mach)
std::string read_mat_binary_data (std::istream &is, const std::string &filename, octave_value &tc)
int read_mat_file_header (std::istream &is, bool &swap, int32_t &mopt, int32_t &nr, int32_t &nc, int32_t &imag, int32_t &len, int quiet=0)
bool save_mat_binary_data (std::ostream &os, const octave_value &tc, const std::string &name)

Function Documentation

int float_format_to_mopt_digit ( oct_mach_info::float_format  flt_fmt  ) 
oct_mach_info::float_format mopt_digit_to_float_format ( int  mach  ) 

Definition at line 182 of file ls-mat4.cc.

Referenced by read_binary_file_header(), and read_mat_binary_data().

std::string read_mat_binary_data ( std::istream &  is,
const std::string &  filename,
octave_value tc 
)
int read_mat_file_header ( std::istream &  is,
bool swap,
int32_t &  mopt,
int32_t &  nr,
int32_t &  nc,
int32_t &  imag,
int32_t &  len,
int  quiet = 0 
)

Definition at line 112 of file ls-mat4.cc.

References error(), swap_bytes< 4 >(), and oct_mach_info::words_big_endian().

Referenced by get_file_format(), and read_mat_binary_data().

bool save_mat_binary_data ( std::ostream &  os,
const octave_value tc,
const std::string &  name 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines