powered by
Return the running time of a function
runningtime(FUN, ...)
The function to be evaluated.
The parameters to be passes to function FUN.
FUN
The running time of function FUN.
difftime
# NOT RUN { sqrt (x = 1:100) runningtime (sqrt, x = 1:100) # }
Run the code above in your browser using DataLab