[Rd] cummax / cummin for complex numbers
Michael Haupt
michael.haupt at oracle.com
Mon Jul 14 16:53:47 CEST 2014
Dear all,
in R 3.1.0, this is happening:
> cummin(c(1+1i,2-3i,4+5i))
Error in cummin(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) :
'cummax' not defined for complex numbers
> cummax(c(1+1i,2-3i,4+5i))
Error in cummax(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) :
'cummin' not defined for complex numbers
It may be fixed in R-devel, but I thought I'd mention it to make sure ...
Best,
Michael
--
Dr. Michael Haupt
Principal Member of Technical Staff
Phone: +49 331 200 7277, Fax: +49 331 200 7561
Oracle Labs
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14, 14467 Potsdam, Germany
More information about the R-devel
mailing list