20 static Interval fwd(
const Interval& x1);
21 static ScalarType fwd_natural(
const ScalarType& x1);
22 static ScalarType fwd_centered(
const ScalarType& x1);
23 static void bwd(
const Interval& y, Interval& x1);
30 atan(
const ScalarExpr& x1)
32 return { std::make_shared<AnalyticOperationExpr<AtanOp,ScalarType,ScalarType>>(x1) };
42 inline ScalarType AtanOp::fwd_natural(
const ScalarType& x1)
50 inline ScalarType AtanOp::fwd_centered(
const ScalarType& x1)
52 if(centered_form_not_available_for_args(x1))
53 return fwd_natural(x1);
55 IntervalMatrix d(1,x1.da.size());
56 for(Index i = 0 ; i < d.size() ; i++)
57 d(0,i) = x1.da(0,i)/(1.+
sqr(x1.a));
106 x1 &= Interval(
tan(Interval(z.lb())).
lb(),oo);
118 else if(z.lb() < -pi2l)
120 x1 &= Interval(-oo,
tan(Interval(z.ub())).
ub());
123 x1 &= Interval(
tan(Interval(z.lb())).
lb(),
tan(Interval(z.ub())).
ub());
Interval class, for representing closed and connected subsets of .
Definition codac2_Interval.h:62
double ub() const
Returns the upper bound of this.
Definition codac2_Interval_impl.h:107
static Interval pi()
Provides an interval for .
Definition codac2_Interval_impl.h:555
double lb() const
Returns the lower bound of this.
Definition codac2_Interval_impl.h:102
Interval atan(const Interval &x)
Returns .
Definition codac2_Interval_operations_impl.h:133
Interval sqr(const Interval &x)
Returns .
Definition codac2_Interval_operations_impl.h:21
Interval tan(const Interval &x)
Returns .
Definition codac2_Interval_operations_impl.h:112