[CppAD] CPPAD store derivative function

Brad Bell bradbell at seanet.com
Fri Mar 9 06:43:06 EST 2018


Yes it is possible and there are many ways to do so. One set of methods would use second derivatives 
of f. For example, see
	http://coin-or.github.io/CppAD/doc/forward_two.htm
	http://coin-or.github.io/CppAD/doc/reverse_two.htm
The other set of methods would use multiple levels of AD; see
	http://coin-or.github.io/CppAD/doc/mul_level.cpp.htm

On 03/08/2018 08:16 AM, MANUSHANKER BALASUBRAMANIAN wrote:
> Dear All,
> 
> I am using CPPAD library to compute gradient of a function. Given a function f(y,z,r1,r2,r3,r4) I would like to first obtain two new functions fy and fz which are derivatives of f with respect to y and z, then subsequently obtain derivatives of fy and fz with respect to other parameters. Can you please let me know if it possible to obtain a ADFun of a derivative.
> 
> Regards,
> 
> Manu
> _______________________________________________
> CppAD mailing list
> CppAD at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cppad&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=UxLhbaqYMJLc2OFXF6T8asQht7vpwIClD1FdrFb8omo&m=c6a1yN8lF7ririOJQQX91EC-FfIMFrUCfJ3DHClW6_g&s=oY2abV2KbSM-llHSTZ6Cs_0IsjtkM6B1Ig6EkqcKvos&e=
> 


More information about the CppAD mailing list