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