CachedFunctions.calls
— Methodreturns how many times has ´f´ been called.
CachedFunctions.evaluate!
— Methodevaluate!(f,x)
Force (re-)evaluation of the cached function at x
. Returns f(x)
and stores the input value.
CachedFunctions.evaluate
— MethodEvaluates the cached function at x
. Returns f(x)
, it doesn' t store the input
CachedFunctions.output
— Methodreturns the output cache stored in ´f´ Returns f(x)
, it doesn' t store the input. if your function has only one type cached, you can get the output cache without adding the type.