Mercurial > hg > octave-lyh
comparison src/tc-rep.h @ 1277:db4f4009d6e8
[project @ 1995-04-24 20:35:06 by jwe]
author | jwe |
---|---|
date | Mon, 24 Apr 1995 20:35:06 +0000 |
parents | ed01dfb2338d |
children | 611d403c7f3d |
comparison
equal
deleted
inserted
replaced
1276:cbdf7db98554 | 1277:db4f4009d6e8 |
---|---|
174 int valid_as_scalar_index (void) const; | 174 int valid_as_scalar_index (void) const; |
175 int valid_as_zero_index (void) const; | 175 int valid_as_zero_index (void) const; |
176 | 176 |
177 int is_true (void) const; | 177 int is_true (void) const; |
178 | 178 |
179 int is_empty (void) const | |
180 { | |
181 return ((! (is_magic_colon () || is_all_va_args () || is_unknown ())) | |
182 && (rows () == 0 || columns () == 0)); | |
183 } | |
184 | |
179 double double_value (int force_string_conversion = 0) const; | 185 double double_value (int force_string_conversion = 0) const; |
180 Matrix matrix_value (int force_string_conversion = 0) const; | 186 Matrix matrix_value (int force_string_conversion = 0) const; |
181 Complex complex_value (int force_string_conversion = 0) const; | 187 Complex complex_value (int force_string_conversion = 0) const; |
182 ComplexMatrix complex_matrix_value (int force_string_conversion = 0) const; | 188 ComplexMatrix complex_matrix_value (int force_string_conversion = 0) const; |
183 char *string_value (void) const; | 189 char *string_value (void) const; |
184 Range range_value (void) const; | 190 Range range_value (void) const; |
185 Octave_map map_value (void) const; | 191 Octave_map map_value (void) const; |
186 | 192 |
187 tree_constant& lookup_map_element (const char *name, int insert = 0); | 193 tree_constant& lookup_map_element (const char *name, int insert = 0, |
194 int silent = 0); | |
188 | 195 |
189 ColumnVector vector_value (int force_string_conversion = 0, | 196 ColumnVector vector_value (int force_string_conversion = 0, |
190 int force_vector_conversion = 0) const; | 197 int force_vector_conversion = 0) const; |
191 | 198 |
192 ComplexColumnVector complex_vector_value (int force_string_conv = 0, | 199 ComplexColumnVector complex_vector_value (int force_string_conv = 0, |