Revision d50cda4811eb3cdb8d2ce9e01ddb5e07d4a8c24f authored by HwB on 11 September 2013, 00:00:00 UTC, committed by Gabor Csardi on 11 September 2013, 00:00:00 UTC
1 parent 10ae2bb
Raw File
fzsolve.Rd
\name{fzsolve}
\alias{fzsolve}
\title{
  Complex Root Finding
}
\description{
  Find the root of a complex function
}
\usage{
fzsolve(fz, z0)
}
\arguments{
  \item{fz}{complex(-analytic) function.}
  \item{z0}{complex point near the assumed root.}
}
\details{
  \code{fzsolve} tries to find the root of the complex and relatively
  smooth (i.e., analytic) function near a starting point.

  The function is considered as real function \code{R^2 --> R^2} and the
  \code{newtonsys} function is applied.
}
\value{
  Complex point with sufficiently small function value.
}
\seealso{
  \code{\link{newtonsys}}
}
\examples{
fz <- function(z) sin(z)^2 + sqrt(z) - log(z)
fzsolve(fz, 1+1i)
# 0.2555197+0.8948303i
}
\keyword{ math }
back to top