avgrange: Average Across Range of a Tape

View source: R/RcppExports.R

avgrangeR Documentation

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)

Arguments

pfun

An Rcpp_ADFun object.

Value

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()


scorematchingad documentation built on Sept. 1, 2025, 9:08 a.m.