Solving Constraint Integer Programs

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()