tape_swap: Switch Dynamic and Independent Values of a Tape

View source: R/RcppExports.R

tape_swapR Documentation

Switch Dynamic and Independent Values of a Tape

Description

Convert an Rcpp_ADFun object so that the independent values become dynamic parameters and the dynamic parameters become independent values

Usage

tape_swap(pfun)

Arguments

pfun

An Rcpp_ADFun object.

Details

For creating this tape, the values of pfun$xtape and pfun$dyntape are used.

Value

An Rcpp_ADFun object.

See Also

Other tape builders: tape_Hessian(), tape_Jacobian(), tape_gradoffset(), tape_logJacdet(), tape_smd(), tape_uld()


scorematchingad documentation built on April 4, 2025, 12:15 a.m.