21    static std::string str(
const X1& x1)
 
   23      return "|" + x1->str() + 
"|";
 
   27    static std::pair<Index,Index> output_shape([[maybe_unused]] 
const X1& x1)
 
   32    static Interval fwd(
const Interval& x1);
 
   33    static ScalarType fwd_natural(
const ScalarType& x1);
 
   34    static ScalarType fwd_centered(
const ScalarType& x1);
 
   35    static void bwd(
const Interval& y, Interval& x1);
 
   42  abs(
const ScalarExpr& x1)
 
   44    return { std::make_shared<AnalyticOperationExpr<AbsOp,ScalarType,ScalarType>>(x1) };
 
   54  inline ScalarType AbsOp::fwd_natural(
const ScalarType& x1)
 
   58      x1.def_domain && x1.a != 0. 
 
   62  inline ScalarType AbsOp::fwd_centered(
const ScalarType& x1)
 
   64    if(centered_form_not_available_for_args(x1))
 
   65      return fwd_natural(x1);
 
   68    for(Index i = 0 ; i < d.size() ; i++)
 
   69      d(0,i) = (x1.a/
abs(x1.a))*x1.da(0,i);
 
   75      x1.def_domain && x1.a != 0. 
 
   81    x1 = gaol::invabs_rel(y, x1);
 
Interval class, for representing closed and connected subsets of .
Definition codac2_Interval.h:49
Definition codac2_OctaSym.h:21
Interval abs(const Interval &x)
Returns .
Definition codac2_Interval_operations_impl.h:264
Eigen::Matrix< Interval,-1,-1 > IntervalMatrix
Alias for a dynamic-size matrix of intervals.
Definition codac2_IntervalMatrix.h:25