Mercurial > octave-nkf
comparison src/ov-flt-re-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 | a04352386a6b |
children | e793865ede63 |
comparison
equal
deleted
inserted
replaced
9606:a04352386a6b | 9607:1be3c73ed7b5 |
---|---|
165 | 165 |
166 // Use matrix_ref here to clear index cache. | 166 // Use matrix_ref here to clear index cache. |
167 void increment (void) { matrix_ref () += 1.0; } | 167 void increment (void) { matrix_ref () += 1.0; } |
168 | 168 |
169 void decrement (void) { matrix_ref () -= 1.0; } | 169 void decrement (void) { matrix_ref () -= 1.0; } |
170 | |
171 void changesign (void) { matrix_ref ().changesign (); } | |
170 | 172 |
171 octave_value convert_to_str_internal (bool pad, bool force, char type) const; | 173 octave_value convert_to_str_internal (bool pad, bool force, char type) const; |
172 | 174 |
173 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; | 175 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; |
174 | 176 |