Mercurial > octave-nkf
comparison src/ov.cc @ 5080:7929486ef2ed
[project @ 2004-11-16 21:57:50 by jwe]
author | jwe |
---|---|
date | Tue, 16 Nov 2004 21:57:50 +0000 |
parents | 6690d8cd9bee |
children | e35b034d3523 |
comparison
equal
deleted
inserted
replaced
5079:48b08a36d82c | 5080:7929486ef2ed |
---|---|
1057 | 1057 |
1058 if (n_dims < 2) | 1058 if (n_dims < 2) |
1059 n_dims = 2; | 1059 n_dims = 2; |
1060 | 1060 |
1061 return n_dims; | 1061 return n_dims; |
1062 } | |
1063 | |
1064 int | |
1065 octave_value::numel (void) const | |
1066 { | |
1067 dim_vector dv = dims (); | |
1068 | |
1069 return dv.numel (); | |
1070 } | 1062 } |
1071 | 1063 |
1072 Cell | 1064 Cell |
1073 octave_value::cell_value (void) const | 1065 octave_value::cell_value (void) const |
1074 { | 1066 { |