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 gpuVector
log(x, base = NULL)# S4 method for vclMatrix
log(x, base = NULL)
# S4 method for vclVector
log(x, base = NULL)
# S4 method for gpuMatrix
log(x, base = NULL)
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
A gpuR object
A positive number (complex not currently supported by OpenCL): the base with respect to which logarithms are computed. Defaults to the natural log.