comparison liboctave/chNDArray.cc @ 5983:ae09df27153f

[project @ 2006-09-12 02:15:47 by jwe]
author jwe
date Tue, 12 Sep 2006 02:15:47 +0000
parents ace8d8d26933
children 7f5316cadaa2
comparison
equal deleted inserted replaced
5982:1ed991f0ed61 5983:ae09df27153f
35 // FIXME -- this is not quite the right thing. 35 // FIXME -- this is not quite the right thing.
36 36
37 boolNDArray 37 boolNDArray
38 charNDArray::all (int dim) const 38 charNDArray::all (int dim) const
39 { 39 {
40 MX_ND_ANY_ALL_REDUCTION (MX_ND_ALL_EVAL (elem (iter_idx) == ' '), true); 40 MX_ND_ANY_ALL_REDUCTION (MX_ND_ALL_EVAL (elem (iter_idx) == '\0'), true);
41 } 41 }
42 42
43 boolNDArray 43 boolNDArray
44 charNDArray::any (int dim) const 44 charNDArray::any (int dim) const
45 { 45 {
46 MX_ND_ANY_ALL_REDUCTION (MX_ND_ANY_EVAL (elem (iter_idx) != ' '), false); 46 MX_ND_ANY_ALL_REDUCTION (MX_ND_ANY_EVAL (elem (iter_idx) != '\0'), false);
47 } 47 }
48 48
49 charNDArray 49 charNDArray
50 charNDArray::concat (const charNDArray& rb, const Array<octave_idx_type>& ra_idx) 50 charNDArray::concat (const charNDArray& rb, const Array<octave_idx_type>& ra_idx)
51 { 51 {