Mercurial > hg > octave-nkf
comparison liboctave/CNDArray.cc @ 5110:ea96466f98ea
[project @ 2005-01-19 02:11:53 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2005 02:11:53 +0000 |
parents | e35b034d3523 |
children | f2858bbf0277 |
comparison
equal
deleted
inserted
replaced
5109:1e36493572a0 | 5110:ea96466f98ea |
---|---|
611 | 611 |
612 boolNDArray | 612 boolNDArray |
613 ComplexNDArray::any (int dim) const | 613 ComplexNDArray::any (int dim) const |
614 { | 614 { |
615 MX_ND_ANY_ALL_REDUCTION | 615 MX_ND_ANY_ALL_REDUCTION |
616 (MX_ND_ANY_EVAL (elem (iter_idx) != Complex (0, 0)), false); | 616 (MX_ND_ANY_EVAL (elem (iter_idx) != Complex (0, 0) |
617 && ! (lo_ieee_isnan (::real (elem (iter_idx))) | |
618 || lo_ieee_isnan (::imag (elem (iter_idx))))), | |
619 false); | |
617 } | 620 } |
618 | 621 |
619 ComplexNDArray | 622 ComplexNDArray |
620 ComplexNDArray::cumprod (int dim) const | 623 ComplexNDArray::cumprod (int dim) const |
621 { | 624 { |