counting_function: Count number of function evaluations

Description Usage Arguments See Also Examples

View source: R/counting_function.R

Description

Return a new function which is identical to the soo_function passed in except that all function evaluations are counted.

Usage

1

Arguments

fn

[soo_function]
A test function.

See Also

number_of_evaluations, reset_evaluation_counter

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

soobench documentation built on Feb. 9, 2020, 5:08 p.m.