24 #if !defined (octave_ov_str_mat_h)
25 #define octave_ov_str_mat_h 1
92 type_conv_info numeric_conversion_function (
void)
const;
95 bool resize_ok =
false)
96 {
return do_index_op_internal (idx, resize_ok); }
116 double double_value (
bool =
false)
const;
118 Matrix matrix_value (
bool =
false)
const;
120 NDArray array_value (
bool =
false)
const;
122 Complex complex_value (
bool =
false)
const;
130 std::string string_value (
bool force =
false)
const;
139 {
return octave_value (matrix.sort (sidx, dim, mode)); }
143 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
145 void short_disp (std::ostream& os)
const;
147 bool save_ascii (std::ostream& os);
149 bool load_ascii (std::istream& is);
151 bool save_binary (std::ostream& os,
bool& save_as_floats);
153 bool load_binary (std::istream& is,
bool swap,
156 #if defined (HAVE_HDF5)
157 bool save_hdf5 (hid_t loc_id,
const char *name,
bool save_as_floats);
159 bool load_hdf5 (hid_t loc_id,
const char *name);
165 {
return os.
write (matrix, block_size, output_type, skip, flt_fmt); }
170 bool resize_ok,
char type =
'"');
245 bool resize_ok =
false)
246 {
return do_index_op_internal (idx, resize_ok,
'\''); }
250 {
return octave_value (matrix.sort (dim, mode),
'\''); }
254 {
return octave_value (matrix.sort (sidx, dim, mode),
'\''); }