Mercurial > hg > octave-nkf
diff liboctave/boolNDArray.cc @ 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 | aa4a23337a0f |
line wrap: on
line diff
--- a/liboctave/boolNDArray.cc +++ b/liboctave/boolNDArray.cc @@ -68,15 +68,15 @@ return do_mx_red_op<bool, bool> (*this, dim, mx_inline_any); } -NDArray +NDArray boolNDArray::sum (int dim) const { // NOTE: going via octave_idx_type is typically faster even though it - // requires a conversion. + // requires a conversion. return do_mx_red_op<octave_idx_type, bool> (*this, dim, mx_inline_count); } -NDArray +NDArray boolNDArray::cumsum (int dim) const { // In this case, it's better to sum directly to doubles. @@ -143,7 +143,7 @@ SND_BOOL_OPS (bool, boolNDArray) SND_CMP_OPS (bool, boolNDArray) -boolNDArray& +boolNDArray& mx_el_and_assign (boolNDArray& a, const boolNDArray& b) { if (a.is_shared ()) @@ -154,7 +154,7 @@ return a; } -boolNDArray& +boolNDArray& mx_el_or_assign (boolNDArray& a, const boolNDArray& b) { if (a.is_shared ())