| Line 47... |
Line 47... |
| 47 |
A vector of the same length as \code{x} containing the transformed
|
47 |
A vector of the same length as \code{x} containing the transformed
|
| 48 |
values. \code{log(0)} gives \code{-Inf}, and \code{log(x)} for
|
48 |
values. \code{log(0)} gives \code{-Inf}, and \code{log(x)} for
|
| 49 |
negative values of \code{x} is \code{NaN}. \code{exp(-Inf)} is \code{0}.
|
49 |
negative values of \code{x} is \code{NaN}. \code{exp(-Inf)} is \code{0}.
|
| 50 |
|
50 |
|
| 51 |
For complex inputs to the log functions, the value is a complex number
|
51 |
For complex inputs to the log functions, the value is a complex number
|
| 52 |
with imaginary part in the range \eqn{[-\pi, \pi]}{[-pi, pi]}: which
|
52 |
with imaginary part in the range \eqn{[-\pi, \pi]}: which
|
| 53 |
end of the range is used might be platform-specific.
|
53 |
end of the range is used might be platform-specific.
|
| 54 |
}
|
54 |
}
|
| 55 |
\details{
|
55 |
\details{
|
| 56 |
All except \code{logb} are generic functions: methods can be defined
|
56 |
All except \code{logb} are generic functions: methods can be defined
|
| 57 |
for them individually or via the \code{\link[=S3groupGeneric]{Math}}
|
57 |
for them individually or via the \code{\link[=S3groupGeneric]{Math}}
|