comparison liboctave/boolNDArray.h @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 72c96de7a403
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
44 44
45 boolNDArray (const dim_vector& dv) : Array<bool> (dv) { } 45 boolNDArray (const dim_vector& dv) : Array<bool> (dv) { }
46 46
47 boolNDArray (const dim_vector& dv, const bool& val) 47 boolNDArray (const dim_vector& dv, const bool& val)
48 : Array<bool> (dv, val) { } 48 : Array<bool> (dv, val) { }
49 49
50 boolNDArray (const boolNDArray& a) : Array<bool> (a) { } 50 boolNDArray (const boolNDArray& a) : Array<bool> (a) { }
51 51
52 boolNDArray (const boolMatrix& a) : Array<bool> (a) { } 52 boolNDArray (const boolMatrix& a) : Array<bool> (a) { }
53 53
54 boolNDArray (const Array<bool>& a) : Array<bool> (a) { } 54 boolNDArray (const Array<bool>& a) : Array<bool> (a) { }
61 61
62 // unary operations 62 // unary operations
63 63
64 boolNDArray operator ! (void) const; 64 boolNDArray operator ! (void) const;
65 65
66 boolNDArray& invert (void); 66 boolNDArray& invert (void);
67 67
68 bool any_element_is_nan (void) const { return false; } 68 bool any_element_is_nan (void) const { return false; }
69 69
70 // FIXME -- this is not quite the right thing. 70 // FIXME -- this is not quite the right thing.
71 71
112 NDS_CMP_OP_DECLS (boolNDArray, bool, OCTAVE_API) 112 NDS_CMP_OP_DECLS (boolNDArray, bool, OCTAVE_API)
113 113
114 SND_BOOL_OP_DECLS (bool, boolNDArray, OCTAVE_API) 114 SND_BOOL_OP_DECLS (bool, boolNDArray, OCTAVE_API)
115 SND_CMP_OP_DECLS (bool, boolNDArray, OCTAVE_API) 115 SND_CMP_OP_DECLS (bool, boolNDArray, OCTAVE_API)
116 116
117 extern OCTAVE_API boolNDArray& 117 extern OCTAVE_API boolNDArray&
118 mx_el_and_assign (boolNDArray& m, const boolNDArray& a); 118 mx_el_and_assign (boolNDArray& m, const boolNDArray& a);
119 extern OCTAVE_API boolNDArray& 119 extern OCTAVE_API boolNDArray&
120 mx_el_or_assign (boolNDArray& m, const boolNDArray& a); 120 mx_el_or_assign (boolNDArray& m, const boolNDArray& a);
121 121
122 BSXFUN_OP_DECL (and, boolNDArray, OCTAVE_API); 122 BSXFUN_OP_DECL (and, boolNDArray, OCTAVE_API);
123 BSXFUN_OP_DECL (or, boolNDArray, OCTAVE_API); 123 BSXFUN_OP_DECL (or, boolNDArray, OCTAVE_API);
124 124