Hi,
First of all, thanks for developing this great tool! I'm new to CppADCodeGen, I'd like to ask is there any way to get the value of a scalar type CppAD::AD<CppAD::cg::CG<double>> (or convert this type to the double type). I know in CppAD this is possible by using CppAD::Value() of Var2Par() function, but I don't know how to do that in CppADCodeGen. Would you please give me any advice? Thanks a lot!
Hi,
First of all, thanks for developing this great tool! I'm new to CppADCodeGen, I'd like to ask is there any way to get the value of a scalar type
CppAD::AD<CppAD::cg::CG<double>>(or convert this type to the double type). I know in CppAD this is possible by usingCppAD::Value()ofVar2Par()function, but I don't know how to do that in CppADCodeGen. Would you please give me any advice? Thanks a lot!