Learn R Programming

scorematchingad (version 0.1.4)

avgrange: Average Across Range of a Tape

Description

Creates a CppAD tape that is the average of the returned values of pfun. For creating this tape, the values of pfun$dyntape and pfun$xtape are used.

Usage

avgrange(pfun)

Value

An Rcpp_ADFun object.

Arguments

pfun

An Rcpp_ADFun object.

See Also

Other tape builders: fixdynamic(), fixindependent(), keeprange(), tape_Hessian(), tape_Jacobian(), tape_bdryw(), tape_gradoffset(), tape_logJacdet(), tape_smd(), tape_swap(), tape_uld()