Automatic differentiation of x -> x^p, p>=2 integer, as CppAD user-atomic function.
This class implements forward and reverse operations for the function x -> x^p for use within CppAD. While CppAD would implement integer powers as a recursion of multiplications, we still use pow functions as they allow us to avoid overestimation in interval arithmetics.
Definition at line 454 of file exprinterpret_cppad.cpp.
Public Member Functions | |
atomic_posintpower () | |
|
inline |
Definition at line 457 of file exprinterpret_cppad.cpp.
References pow(), univariate_for_sparse_jac(), univariate_rev_sparse_hes(), and univariate_rev_sparse_jac().