atomic_signpower< Type > Class Template Reference
Detailed Description
template<class Type>
class atomic_signpower< Type >
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 694 of file exprinterpret_cppad.cpp.
Public Member Functions | |
atomic_signpower () | |
Constructor & Destructor Documentation
◆ atomic_signpower()
template<class Type>
|
inline |
Definition at line 697 of file exprinterpret_cppad.cpp.
References abs(), pow(), r, REALABS, SCIP_Real, SCIPexprGetSignPowerExponent(), SIGN, sign(), signpow(), square(), univariate_for_sparse_jac(), univariate_rev_sparse_hes(), and univariate_rev_sparse_jac().