[Rd] A limitation for polyroot ? (PR#880)
Paul Gilbert
pgilbert@bank-banque-canada.ca
Mon, 19 Mar 2001 17:12:30 -0500
>Dear R Development Team,
I think most of the core team is at a conference, but I seem to recall that this
problem was fixed in 1.2.2. You should probably upgrade. Below is what I get.
Paul Gilbert
_____
R : Copyright 2001, The R Development Core Team
Version 1.2.2 (2001-02-26)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with many contributors.
Type `contributors()' for more information.
Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.
> polyroot(c(6,-5,1))
[1] 2+1.615587e-27i 3-1.615587e-27i
> polyroot(c(0,0,0,1))
[1] 0+0i 0+0i 0+0i
> polyroot(c(4,-4,1))
[1] 2+1.110223e-16i 2-1.110223e-16i
> polyroot(c(0,0,0,1))
[1] 0+0i 0+0i 0+0i
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._