Mercurial > hg > octave-lyh
comparison src/ov-bool.h @ 4915:c638c144d4da
[project @ 2004-07-23 19:01:22 by jwe]
author | jwe |
---|---|
date | Fri, 23 Jul 2004 19:01:23 +0000 |
parents | 83ddfedb8db7 |
children | 25c2664861bc |
comparison
equal
deleted
inserted
replaced
4914:1c0442da75fd | 4915:c638c144d4da |
---|---|
109 { return boolMatrix (1, 1, scalar); } | 109 { return boolMatrix (1, 1, scalar); } |
110 | 110 |
111 boolNDArray bool_array_value (void) const | 111 boolNDArray bool_array_value (void) const |
112 { return boolNDArray (dim_vector (1, 1), scalar); } | 112 { return boolNDArray (dim_vector (1, 1), scalar); } |
113 | 113 |
114 octave_value resize (const dim_vector& dv) const | |
115 { boolNDArray retval (dv); if (dv.numel()) retval(0) = scalar; return retval; } | |
116 | |
114 octave_value convert_to_str_internal (bool pad, bool force) const; | 117 octave_value convert_to_str_internal (bool pad, bool force) const; |
115 | 118 |
116 bool save_ascii (std::ostream& os, bool& infnan_warned, | 119 bool save_ascii (std::ostream& os, bool& infnan_warned, |
117 bool strip_nan_and_inf); | 120 bool strip_nan_and_inf); |
118 | 121 |