22-Trig | R Documentation |
Basic trig functions.
## S4 method for signature 'Rcpp_MPCR'
sin(x)
## S4 method for signature 'Rcpp_MPCR'
cos(x)
## S4 method for signature 'Rcpp_MPCR'
tan(x)
## S4 method for signature 'Rcpp_MPCR'
asin(x)
## S4 method for signature 'Rcpp_MPCR'
acos(x)
## S4 method for signature 'Rcpp_MPCR'
atan(x)
x |
An MPCR object. |
An MPCR object of the same dimensions as the input.
library(MPCR)
mpcr_matrix <- as.MPCR(1:20,nrow=2,ncol=10,"single")
x <- sin(mpcr_matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.