comparison src/ov-base.h @ 4559:802818bfac91

[project @ 2003-10-28 19:13:43 by jwe]
author jwe
date Tue, 28 Oct 2003 19:13:43 +0000
parents 78e34346f6fd
children 742993a501b9
comparison
equal deleted inserted replaced
4558:239df9c618ef 4559:802818bfac91
102 102
103 int length (void) const { return -1; } 103 int length (void) const { return -1; }
104 104
105 int ndims (void) const { return -1; } 105 int ndims (void) const { return -1; }
106 106
107 int numel (void) const { return -1; }
108
107 bool is_defined (void) const { return false; } 109 bool is_defined (void) const { return false; }
108 110
109 bool is_cell (void) const { return false; } 111 bool is_cell (void) const { return false; }
110 112
111 bool is_real_scalar (void) const { return false; } 113 bool is_real_scalar (void) const { return false; }
157 bool valid_as_scalar_index (void) const { return false; } 159 bool valid_as_scalar_index (void) const { return false; }
158 160
159 bool valid_as_zero_index (void) const { return false; } 161 bool valid_as_zero_index (void) const { return false; }
160 162
161 bool is_true (void) const { return false; } 163 bool is_true (void) const { return false; }
162
163 bool is_empty (void) const
164 { return (rows () == 0 || columns () == 0); }
165 164
166 bool is_zero_by_zero (void) const 165 bool is_zero_by_zero (void) const
167 { return (rows () == 0 && columns () == 0); } 166 { return (rows () == 0 && columns () == 0); }
168 167
169 bool is_constant (void) const { return false; } 168 bool is_constant (void) const { return false; }