An AD of Base operation sequence is stored in an ADFun object by its FunConstruct . The ADFun object can then be used to calculate function values, derivative values, and other values related to the corresponding function.