Scippy

SCIP

Solving Constraint Integer Programs

atomic_posintpower< Type > Class Template Reference

Detailed Description

template<class Type>
class atomic_posintpower< Type >

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 462 of file exprinterpret_cppad.cpp.

Public Member Functions

 atomic_posintpower ()
 

Constructor & Destructor Documentation