Description Usage Arguments Details Value See Also Examples
Takes any function and returns a function that will behave in a nearly identical manner, but will also return the function's execution time.
1 |
..f |
Any function that isn't primitive (sum, list, etc...) |
tic_args |
A list of arguments to be passed into tic() |
toc_args |
A list of arguments to be passed into toc() |
Creates a wrapper function around a function call, preceded by tic() and toc(). The wrapper will be given the same arguments as the original function and work identically to the original function.
function
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.