Mercurial > hg > octave-lyh
comparison liboctave/chMatrix.cc @ 8750:8af4ba6b4216
use new reduction ops for char matrices
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 16 Feb 2009 07:57:03 +0100 |
parents | 36594d5bbe13 |
children | b756ce0002db |
comparison
equal
deleted
inserted
replaced
8749:5a7494ee68a3 | 8750:8af4ba6b4216 |
---|---|
201 // in a base class? | 201 // in a base class? |
202 | 202 |
203 boolMatrix | 203 boolMatrix |
204 charMatrix::all (int dim) const | 204 charMatrix::all (int dim) const |
205 { | 205 { |
206 MX_ALL_OP (dim); | 206 return do_mx_red_op<boolMatrix> (*this, dim, mx_inline_all); |
207 } | 207 } |
208 | 208 |
209 boolMatrix | 209 boolMatrix |
210 charMatrix::any (int dim) const | 210 charMatrix::any (int dim) const |
211 { | 211 { |
212 MX_ANY_OP (dim); | 212 return do_mx_red_op<boolMatrix> (*this, dim, mx_inline_any); |
213 } | 213 } |
214 | 214 |
215 MS_CMP_OPS(charMatrix, , char, ) | 215 MS_CMP_OPS(charMatrix, , char, ) |
216 MS_BOOL_OPS(charMatrix, char, 0) | 216 MS_BOOL_OPS(charMatrix, char, 0) |
217 | 217 |