log,gpuVector-method | R Documentation |
log
computes logarithms, by default natural logarithms
and log10
computes common (i.e. base 10) logarithms. The general form
log(x, base)
computes logarithms with base base
.
exp
computes the exponential function.
## S4 method for signature 'gpuVector'
log(x, base = NULL)
## S4 method for signature 'vclMatrix'
log(x, base = NULL)
## S4 method for signature 'vclVector'
log(x, base = NULL)
## S4 method for signature 'gpuMatrix'
log(x, base = NULL)
x |
A gpuR object |
base |
A positive number (complex not currently supported by OpenCL): the base with respect to which logarithms are computed. Defaults to the natural log. |
A gpuVector object with the element-wise natural
logarithm of the elements of the input gpuVector object x
.
A vclMatrix
object.
A vclVector object.
A gpuR object of the same class as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.