Automatic differentiation of x -> sign(x)abs(x)^p, p>=1, as CppAD user-atomic function.
This class implements forward and reverse operations for the function x -> sign(x)abs(x)^p for use within CppAD. While we otherwise would have to use discontinuous sign and abs functions, our own implementation allows to provide a continuously differentiable function.
Definition at line 711 of file exprinterpret_cppad.cpp.
Public Member Functions | |
atomic_signpower () | |
|
inline |
Definition at line 714 of file exprinterpret_cppad.cpp.
References abs(), pow(), REALABS, SCIP_Real, SCIPexprGetSignPowerExponent(), SIGN, sign(), signpow(), square(), univariate_for_sparse_jac(), univariate_rev_sparse_hes(), and univariate_rev_sparse_jac().