21 static Interval fwd(
const Interval& x1,
const Interval& x2,
const Interval& x3);
22 static ScalarType fwd_natural(
const ScalarType& x1,
const ScalarType& x2,
const ScalarType& x3);
23 static ScalarType fwd_centered(
const ScalarType& x1,
const ScalarType& x2,
const ScalarType& x3);
24 static void bwd(
const Interval& y, Interval& x1, Interval& x2, Interval& x3);
31 chi(
const ScalarExpr& x1,
const ScalarExpr& x2,
const ScalarExpr& x3)
33 return { std::make_shared<AnalyticOperationExpr<ChiOp,ScalarType,ScalarType,ScalarType,ScalarType>>(x1,x2,x3) };
43 inline ScalarType ChiOp::fwd_natural(
const ScalarType& x1,
const ScalarType& x2,
const ScalarType& x3)
47 x1.def_domain && x2.def_domain && x3.def_domain
51 inline ScalarType ChiOp::fwd_centered(
const ScalarType& x1,
const ScalarType& x2,
const ScalarType& x3)
57 x1.def_domain && x2.def_domain && x3.def_domain
69 if((x2 &= y).is_empty())
78 if((x3 &= y).is_empty())
87 if((x1 &= Interval(0,oo)).is_empty())
93 if((x3 &= y).is_empty())
100 if(y.is_disjoint(x3))
102 if((x1 &= Interval(-oo,0)).is_empty())
108 if((x2 &= y).is_empty())
Interval class, for representing closed and connected subsets of .
Definition codac2_Interval.h:62
Interval chi(const Interval &x, const Interval &y, const Interval &z)
Return if , if , else.
Definition codac2_Interval_operations_impl.h:299