Mercurial > octave-nkf
comparison src/ov-bool-mat.h @ 9607:1be3c73ed7b5
reuse temporary arrays in nested expressions
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 03 Sep 2009 08:48:51 +0200 |
parents | d4b1314a7c31 |
children | e793865ede63 |
comparison
equal
deleted
inserted
replaced
9606:a04352386a6b | 9607:1be3c73ed7b5 |
---|---|
172 | 172 |
173 SparseBoolMatrix sparse_bool_matrix_value (bool = false) const | 173 SparseBoolMatrix sparse_bool_matrix_value (bool = false) const |
174 { return SparseBoolMatrix (matrix.matrix_value ()); } | 174 { return SparseBoolMatrix (matrix.matrix_value ()); } |
175 | 175 |
176 octave_value convert_to_str_internal (bool pad, bool force, char type) const; | 176 octave_value convert_to_str_internal (bool pad, bool force, char type) const; |
177 | |
178 // Use matrix_ref here to clear index cache. | |
179 void invert (void) { matrix_ref ().invert (); } | |
177 | 180 |
178 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; | 181 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; |
179 | 182 |
180 bool save_ascii (std::ostream& os); | 183 bool save_ascii (std::ostream& os); |
181 | 184 |