Re: [R] finding complex roots in R

2010-09-16 Thread Ravi Varadhan
To: r-help@r-project.org Subject: [R] finding complex roots in R I am looking for a way to find the roots of a non-polynomial expression. I know R has a few ways to deal with polynomials, but, I could not find a method that deals with functions involving e^(x) type arguments, that have complex roots

Re: [R] finding complex roots in R

2010-09-16 Thread Ravi Varadhan
-project.org Subject: Re: [R] finding complex roots in R Hi Toros, It is actually quite easy to do this with existing real-root finders. If you want to solve for F(z) = 0, where z = x + iy, you simultaneously solve for the zeros of the real and imaginary part of F. Here are a couple of examples

Re: [R] finding complex roots in R

2010-09-16 Thread Toros Caglar
-boun...@r-project.org] On Behalf Of Ravi Varadhan Sent: Thursday, September 16, 2010 3:52 PM To: 'Toros Caglar'; r-help@r-project.org Subject: Re: [R] finding complex roots in R Hi Toros, It is actually quite easy to do this with existing real-root finders.  If you want to solve for F(z) = 0

[R] finding complex roots in R

2010-09-15 Thread Toros Caglar
I am looking for a way to find the roots of a non-polynomial expression. I know R has a few ways to deal with polynomials, but, I could not find a method that deals with functions involving e^(x) type arguments, that have complex roots as well as real roots. Any ideas? Thanks, Toros