https://github.com/cran/pracma
Raw File
Tip revision: c79a04b5074656b36e591191eb8137b70a349932 authored by Hans W. Borchers on 30 June 2014, 00:00:00 UTC
version 1.7.0
Tip revision: c79a04b
polyder.Rd
\name{polyder}
\alias{polyder}
\title{Derivative of Polynomial}
\description{
  Differentiate polynomials.
}
\usage{
  polyder(p, q)
}
\arguments{
  \item{p}{polynomial \code{p} given as a vector}
  \item{q}{polynomial \code{p} given as a vector}
}
\details{
  Calculates the derivative of polynomials and polynomial products.

  \code{polyder(p)} returns the derivative of \code{p} while
  \code{polyder(p, q)} returns the derivative of the product of the
  polynomials \code{p} and \code{q}.
}
\value{
  a vector representing a polynomial
}
\seealso{
    \code{\link{polyval}}, \code{\link{polyint}}
}
\examples{
  polyder(c(3, 6, 9), c(1, 2, 0))  # 12 36 42 18
}
\keyword{ math }
back to top