[CppAD] Pow function doesn't work with double exponent

Brad Bell bradbell at seanet.com
Tue Oct 2 10:09:42 EDT 2007


Mitch:
The pow function has been extended as per your request below; see
    https://projects.coin-or.org/CppAD/changeset/992
This will be included in the CppAD distribution starting with 
cppad-20071003.

If you need the correction today, you could use subversion to download 
the new version of
    
https://projects.coin-or.org/CppAD/browser/trunk/cppad/local/pow.hpp?rev=992
see
    http://www.coin-or.org/CppAD/Doc/installsubversion.xml


Mitch Watrous wrote:
> Hi.
>
> I would like the pow function to be modified so that it works for the 
> case
>
>    pow( WT, 0.425 )
>
> where WT is of
>
>     Type = CppAD::AD<CppAD::AD<CppAD::AD<double> > >
>
>
> Thanks,
> Mitch Watrous
> RFPK
> University of Washington
> _______________________________________________
> CppAD mailing list
> CppAD at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cppad
>
>



More information about the CppAD mailing list