GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Functions | |
bool | looks_like_mat_ascii_file (std::istream &is, const std::string &filename) |
std::string | read_mat_ascii_data (std::istream &is, const std::string &filename, octave_value &tc) |
bool | save_mat_ascii_data (std::ostream &os, const octave_value &val_arg, int precision, bool tabs=false) |
bool looks_like_mat_ascii_file | ( | std::istream & | is, |
const std::string & | filename | ||
) |
Definition at line 414 of file ls-mat-ascii.cc.
References get_lines_and_columns().
Referenced by get_file_format().
std::string read_mat_ascii_data | ( | std::istream & | is, |
const std::string & | filename, | ||
octave_value & | tc | ||
) |
Definition at line 232 of file ls-mat-ascii.cc.
References d, Array< T >::elem(), error(), error_state, get_lines_and_columns(), get_mat_data_input_line(), is_keyword(), and valid_identifier().
Referenced by do_load().
bool save_mat_ascii_data | ( | std::ostream & | os, |
const octave_value & | val_arg, | ||
int | precision, | ||
bool | tabs = false |
||
) |
Definition at line 364 of file ls-mat-ascii.cc.
References Array< T >::cols(), error_state, octave_value::is_complex_type(), octave_value::matrix_value(), octave_write_double(), Array< T >::rows(), and warning().
Referenced by do_save().