comparison src/ov-scalar.h @ 8345:c777f3ce02d8

smarter conversion lookup
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 25 Nov 2008 14:04:55 +0100
parents cf59d542f33e
children f00578b495e9
comparison
equal deleted inserted replaced
8344:b5f10b123440 8345:c777f3ce02d8
74 octave_base_value *empty_clone (void) const { return new octave_matrix (); } 74 octave_base_value *empty_clone (void) const { return new octave_matrix (); }
75 75
76 octave_value do_index_op (const octave_value_list& idx, 76 octave_value do_index_op (const octave_value_list& idx,
77 bool resize_ok = false); 77 bool resize_ok = false);
78 78
79 type_conv_fcn numeric_demotion_function (void) const; 79 type_conv_info numeric_demotion_function (void) const;
80 80
81 idx_vector index_vector (void) const { return idx_vector (scalar); } 81 idx_vector index_vector (void) const { return idx_vector (scalar); }
82 82
83 octave_value any (int = 0) const 83 octave_value any (int = 0) const
84 { return (scalar != 0 && ! lo_ieee_isnan (scalar)); } 84 { return (scalar != 0 && ! lo_ieee_isnan (scalar)); }