Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 1232) sorted by relevance

12345678910>>...50

/third_party/boost/boost/numeric/interval/
Dutility_fwd.hpp28 const T& lower(const interval<T,Policies>& x);
31 const T& upper(const interval<T,Policies>& x);
34 T checked_lower(const interval<T,Policies>& x);
37 T width(const interval<T,Policies>& x);
40 T median(const interval<T,Policies>& x);
43 interval<T,Policies> widen(const interval<T,Policies>& x, const T& v);
50 bool empty(const interval<T,Policies>& x);
53 bool zero_in(const interval<T,Policies>& x);
56 bool in_zero(const interval<T,Policies>& x); // DEPRECATED
59 bool in(const T& x, const interval<T,Policies>& y);
[all …]
Dinterval.hpp38 class interval class
50 interval();
51 interval(T const &v);
52 template<class T1> interval(T1 const &v);
53 interval(T const &l, T const &u);
54 template<class T1, class T2> interval(T1 const &l, T2 const &u);
55 interval(interval<T, Policies> const &r);
56 template<class Policies1> interval(interval<T, Policies1> const &r);
57 template<class T1, class Policies1> interval(interval<T1, Policies1> const &r);
59 interval &operator=(T const &v);
[all …]
Dutility.hpp32 const T& lower(const interval<T, Policies>& x) in lower()
38 const T& upper(const interval<T, Policies>& x) in upper()
44 T checked_lower(const interval<T, Policies>& x) in checked_lower()
54 T checked_upper(const interval<T, Policies>& x) in checked_upper()
64 T width(const interval<T, Policies>& x) in width()
72 T median(const interval<T, Policies>& x) in median()
83 interval<T, Policies> widen(const interval<T, Policies>& x, const T& v) in widen()
86 return interval<T, Policies>::empty(); in widen()
88 return interval<T, Policies>(rnd.sub_down(x.lower(), v), in widen()
97 bool empty(const interval<T, Policies>& x) in empty()
[all …]
Darith.hpp29 const interval<T, Policies>& operator+(const interval<T, Policies>& x) in operator +()
35 interval<T, Policies> operator-(const interval<T, Policies>& x) in operator -()
38 return interval<T, Policies>::empty(); in operator -()
39 return interval<T, Policies>(-x.upper(), -x.lower(), true); in operator -()
43 interval<T, Policies>& interval<T, Policies>::operator+=(const interval<T, Policies>& r) in operator +=()
55 interval<T, Policies>& interval<T, Policies>::operator+=(const T& r) in operator +=()
67 interval<T, Policies>& interval<T, Policies>::operator-=(const interval<T, Policies>& r) in operator -=()
79 interval<T, Policies>& interval<T, Policies>::operator-=(const T& r) in operator -=()
91 interval<T, Policies>& interval<T, Policies>::operator*=(const interval<T, Policies>& r) in operator *=()
97 interval<T, Policies>& interval<T, Policies>::operator*=(const T& r) in operator *=()
[all …]
Dtransc.hpp28 interval<T, Policies> exp(const interval<T, Policies>& x) in exp()
30 typedef interval<T, Policies> I; in exp()
38 interval<T, Policies> log(const interval<T, Policies>& x) in log()
40 typedef interval<T, Policies> I; in log()
52 interval<T, Policies> cos(const interval<T, Policies>& x) in cos()
55 return interval<T, Policies>::empty(); in cos()
57 typedef interval<T, Policies> I; in cos()
81 interval<T, Policies> sin(const interval<T, Policies>& x) in sin()
83 typedef interval<T, Policies> I; in sin()
94 interval<T, Policies> tan(const interval<T, Policies>& x) in tan()
[all …]
Darith2.hpp32 interval<T, Policies> fmod(const interval<T, Policies>& x, in fmod()
33 const interval<T, Policies>& y) in fmod()
36 return interval<T, Policies>::empty(); in fmod()
38 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
45 interval<T, Policies> fmod(const interval<T, Policies>& x, const T& y) in fmod()
48 return interval<T, Policies>::empty(); in fmod()
50 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
56 interval<T, Policies> fmod(const T& x, const interval<T, Policies>& y) in fmod()
59 return interval<T, Policies>::empty(); in fmod()
61 typedef typename interval_lib::unprotect<interval<T, Policies> >::type I; in fmod()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_ra.c55 const struct ir3_reg_interval *interval = in ir3_reg_interval_cmp() local
57 if (interval->reg->interval_start > reg) in ir3_reg_interval_cmp()
59 else if (interval->reg->interval_end <= reg) in ir3_reg_interval_cmp()
86 struct ir3_reg_interval *interval = in ir3_reg_interval_search_right() local
88 if (!interval) { in ir3_reg_interval_search_right()
90 } else if (interval->reg->interval_end > offset) { in ir3_reg_interval_search_right()
91 return interval; in ir3_reg_interval_search_right()
97 return ir3_reg_interval_next_or_null(interval); in ir3_reg_interval_search_right()
111 struct ir3_reg_interval *interval) in interval_insert() argument
114 ir3_reg_interval_search_right(tree, interval->reg->interval_start); in interval_insert()
[all …]
Dir3_spill.c50 struct ir3_reg_interval interval; member
332 ra_spill_interval_init(struct ra_spill_interval *interval, in ra_spill_interval_init() argument
335 ir3_reg_interval_init(&interval->interval, reg); in ra_spill_interval_init()
336 interval->dst.flags = reg->flags; in ra_spill_interval_init()
337 interval->dst.def = reg; in ra_spill_interval_init()
338 interval->already_spilled = false; in ra_spill_interval_init()
339 interval->needs_reload = false; in ra_spill_interval_init()
340 interval->cant_spill = false; in ra_spill_interval_init()
344 ir3_reg_interval_to_interval(struct ir3_reg_interval *interval) in ir3_reg_interval_to_interval() argument
346 return rb_node_data(struct ra_spill_interval, interval, interval); in ir3_reg_interval_to_interval()
[all …]
/third_party/boost/boost/safe_numerics/
Dinterval.hpp27 struct interval { struct
32 constexpr interval(const T & lower, const T & upper) : in interval() argument
39 constexpr interval(const std::pair<T, T> & p) : in interval() argument
44 constexpr interval(const interval<T> & rhs) : in interval() function
49 constexpr interval();
59 constexpr tribool includes(const interval<R> & t) const { in includes() argument
71 constexpr tribool excludes(const interval<R> & t) const { in excludes() argument
78 constexpr interval<R> make_interval(){ in make_interval()
79 return interval<R>(); in make_interval()
82 constexpr interval<R> make_interval(const R & r){ in make_interval()
[all …]
/third_party/boost/boost/numeric/interval/compare/
Dexplicit.hpp25 bool cerlt(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in cerlt()
31 bool cerlt(const interval<T, Policies>& x, const T& y) in cerlt()
37 bool cerlt(const T& x, const interval<T, Policies>& y) in cerlt()
43 bool cerle(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in cerle()
49 bool cerle(const interval<T, Policies>& x, const T& y) in cerle()
55 bool cerle(const T& x, const interval<T, Policies>& y) in cerle()
61 bool cergt(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in cergt()
67 bool cergt(const interval<T, Policies>& x, const T& y) in cergt()
73 bool cergt(const T& x, const interval<T, Policies>& y) in cergt()
79 bool cerge(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in cerge()
[all …]
Dset.hpp24 bool operator<(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <()
30 bool operator<(const interval<T, Policies>& , const T& ) in operator <()
36 bool operator<=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <=()
42 bool operator<=(const interval<T, Policies>& , const T& ) in operator <=()
48 bool operator>(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >()
54 bool operator>(const interval<T, Policies>& , const T& ) in operator >()
60 bool operator>=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >=()
66 bool operator>=(const interval<T, Policies>& , const T& ) in operator >=()
72 bool operator==(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator ==()
78 bool operator==(const interval<T, Policies>& , const T& ) in operator ==()
[all …]
Dcertain.hpp23 bool operator<(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <()
30 bool operator<(const interval<T, Policies>& x, const T& y) in operator <()
37 bool operator<=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <=()
44 bool operator<=(const interval<T, Policies>& x, const T& y) in operator <=()
51 bool operator>(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >()
58 bool operator>(const interval<T, Policies>& x, const T& y) in operator >()
65 bool operator>=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >=()
72 bool operator>=(const interval<T, Policies>& x, const T& y) in operator >=()
79 bool operator==(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator ==()
86 bool operator==(const interval<T, Policies>& x, const T& y) in operator ==()
[all …]
Dpossible.hpp23 bool operator<(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <()
30 bool operator<(const interval<T, Policies>& x, const T& y) in operator <()
37 bool operator<=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <=()
44 bool operator<=(const interval<T, Policies>& x, const T& y) in operator <=()
51 bool operator>(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >()
58 bool operator>(const interval<T, Policies>& x, const T& y) in operator >()
65 bool operator>=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >=()
72 bool operator>=(const interval<T, Policies>& x, const T& y) in operator >=()
79 bool operator==(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator ==()
86 bool operator==(const interval<T, Policies>& x, const T& y) in operator ==()
[all …]
Dlexicographic.hpp23 bool operator<(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <()
32 bool operator<(const interval<T, Policies>& x, const T& y) in operator <()
39 bool operator<=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator <=()
48 bool operator<=(const interval<T, Policies>& x, const T& y) in operator <=()
56 bool operator>(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >()
65 bool operator>(const interval<T, Policies>& x, const T& y) in operator >()
73 bool operator>=(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator >=()
82 bool operator>=(const interval<T, Policies>& x, const T& y) in operator >=()
89 bool operator==(const interval<T, Policies1>& x, const interval<T, Policies2>& y) in operator ==()
96 bool operator==(const interval<T, Policies>& x, const T& y) in operator ==()
[all …]
/third_party/boost/libs/numeric/ublas/test/
Dtest72.cpp82 …_matrix_vector<ublas::vector<boost::numeric::interval<float>, ublas::bounded_array<boost::numeric:… in test_matrix_vector()
83 …ublas::matrix<boost::numeric::interval<float>, ublas::row_major, ublas::bounded_array<boost::numer… in test_matrix_vector()
88 …_matrix_vector<ublas::vector<boost::numeric::interval<double>, ublas::bounded_array<boost::numeric… in test_matrix_vector()
89 …ublas::matrix<boost::numeric::interval<double>, ublas::row_major, ublas::bounded_array<boost::nume… in test_matrix_vector()
96 …matrix_vector<ublas::vector<boost::numeric::interval<float>, ublas::unbounded_array<boost::numeric… in test_matrix_vector()
97 …ublas::matrix<boost::numeric::interval<float>, ublas::row_major, ublas::unbounded_array<boost::num… in test_matrix_vector()
102 …matrix_vector<ublas::vector<boost::numeric::interval<double>, ublas::unbounded_array<boost::numeri… in test_matrix_vector()
103 …ublas::matrix<boost::numeric::interval<double>, ublas::row_major, ublas::unbounded_array<boost::nu… in test_matrix_vector()
110 …st_my_matrix_vector<ublas::vector<boost::numeric::interval<float>, std::vector<boost::numeric::int… in test_matrix_vector()
111 …ublas::matrix<boost::numeric::interval<float>, ublas::row_major, std::vector<boost::numeric::inter… in test_matrix_vector()
[all …]
/third_party/boost/libs/multiprecision/test/ublas_interop/
Dtest72.cpp91 …trix_vector<ublas::vector<boost::numeric::interval<mp_test_type>, ublas::bounded_array<boost::nume… in test_matrix_vector()
92 …ublas::matrix<boost::numeric::interval<mp_test_type>, ublas::row_major, ublas::bounded_array<boost… in test_matrix_vector()
97 …_matrix_vector<ublas::vector<boost::numeric::interval<double>, ublas::bounded_array<boost::numeric… in test_matrix_vector()
98 …ublas::matrix<boost::numeric::interval<double>, ublas::row_major, ublas::bounded_array<boost::nume… in test_matrix_vector()
105 …rix_vector<ublas::vector<boost::numeric::interval<mp_test_type>, ublas::unbounded_array<boost::num… in test_matrix_vector()
106 …ublas::matrix<boost::numeric::interval<mp_test_type>, ublas::row_major, ublas::unbounded_array<boo… in test_matrix_vector()
111 …matrix_vector<ublas::vector<boost::numeric::interval<double>, ublas::unbounded_array<boost::numeri… in test_matrix_vector()
112 …ublas::matrix<boost::numeric::interval<double>, ublas::row_major, ublas::unbounded_array<boost::nu… in test_matrix_vector()
119 …y_matrix_vector<ublas::vector<boost::numeric::interval<mp_test_type>, std::vector<boost::numeric:: in test_matrix_vector()
120 …ublas::matrix<boost::numeric::interval<mp_test_type>, ublas::row_major, std::vector<boost::numeric… in test_matrix_vector()
[all …]
/third_party/boost/libs/icl/test/test_changing_interval_defaults_/
Dtest_changing_interval_defaults.cpp48 … BOOST_CHECK( (boost::is_same<icl::interval<int >::type, right_open_interval<int > >::value) ); in BOOST_AUTO_TEST_CASE()
49 … BOOST_CHECK( (boost::is_same<icl::interval<double>::type, right_open_interval<double> >::value) ); in BOOST_AUTO_TEST_CASE()
51 …BOOST_CHECK_EQUAL( icl::interval<int>::open(0,2), icl::construct<right_open_interval<int> >(… in BOOST_AUTO_TEST_CASE()
52 …BOOST_CHECK_EQUAL( icl::interval<int>::left_open(0,1), icl::construct<right_open_interval<int> >(… in BOOST_AUTO_TEST_CASE()
53 …BOOST_CHECK_EQUAL( icl::interval<int>::right_open(1,2), icl::construct<right_open_interval<int> >(… in BOOST_AUTO_TEST_CASE()
54 …BOOST_CHECK_EQUAL( icl::interval<int>::closed(1,1), icl::construct<right_open_interval<int> >(… in BOOST_AUTO_TEST_CASE()
56 …BOOST_CHECK_EQUAL( icl::interval<float>::right_open(1.0,2.0), icl::construct<right_open_interval<f… in BOOST_AUTO_TEST_CASE()
64 BOOST_CHECK( (boost::is_same<icl::interval<int>::type, open_interval<int> >::value) ); in BOOST_AUTO_TEST_CASE()
65 …BOOST_CHECK_EQUAL( icl::interval<int>::open(0,2), icl::construct<open_interval<int> >(0,2) ); in BOOST_AUTO_TEST_CASE()
66 …BOOST_CHECK_EQUAL( icl::interval<int>::left_open(0,1), icl::construct<open_interval<int> >(0,2) ); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/boost/polygon/
Dinterval_concept.hpp96 >::type get(const IntervalType& interval, direction_1d dir) { in get() argument
97 return interval_traits<IntervalType>::get(interval, dir); in get()
111 >::type set(IntervalType& interval, direction_1d dir, in set() argument
113 interval_mutable_traits<IntervalType>::set(interval, dir, value); in set()
150 >::type copy_construct(const IntervalType2& interval) { in copy_construct() argument
151 return construct<IntervalType1>(get(interval, LOW), get(interval, HIGH)); in copy_construct()
185 >::type low(const IntervalType& interval) { in low() argument
186 return get(interval, LOW); in low()
200 >::type high(const IntervalType& interval) { in high() argument
201 return get(interval, HIGH); in high()
[all …]
/third_party/boost/boost/numeric/interval/ext/
Dinteger.hpp20 interval<T, Policies> operator+ (const interval<T, Policies>& x, int y) in operator +()
26 interval<T, Policies> operator+ (int x, const interval<T, Policies>& y) in operator +()
32 interval<T, Policies> operator- (const interval<T, Policies>& x, int y) in operator -()
38 interval<T, Policies> operator- (int x, const interval<T, Policies>& y) in operator -()
44 interval<T, Policies> operator* (const interval<T, Policies>& x, int y) in operator *()
50 interval<T, Policies> operator* (int x, const interval<T, Policies>& y) in operator *()
56 interval<T, Policies> operator/ (const interval<T, Policies>& x, int y) in operator /()
62 interval<T, Policies> operator/ (int x, const interval<T, Policies>& y) in operator /()
/third_party/boost/libs/icl/test/
Dtest_icl_interval_shared.hpp70 BOOST_CHECK_EQUAL(icl::length(icl::interval<double>::type()), 0.0); in interval_ctor_specific()
71 BOOST_CHECK_EQUAL(icl::cardinality(icl::interval<double>::closed(5.0, 5.0)), 1); in interval_ctor_specific()
72 BOOST_CHECK_EQUAL(icl::cardinality(icl::interval<std::string>::closed("test", "test")), 1); in interval_ctor_specific()
73 BOOST_CHECK_EQUAL(icl::cardinality(icl::interval<std::string>::closed("best","test")), in interval_ctor_specific()
74 icl::cardinality(icl::interval<double>::closed(0.0,0.1))); in interval_ctor_specific()
75 BOOST_CHECK_EQUAL(icl::cardinality(icl::interval<std::string>::right_open("best","test")), in interval_ctor_specific()
76 … icl::infinity<size_type_of<icl::interval<std::string>::type>::type >::value() ); in interval_ctor_specific()
77 BOOST_CHECK_EQUAL(icl::cardinality(icl::interval<double>::right_open(0.0, 1.0)), in interval_ctor_specific()
78 icl::infinity<size_type_of<icl::interval<double>::type>::type >::value() ); in interval_ctor_specific()
86 typedef typename icl::interval<T>::type IntervalT; in interval_equal_4_integral_types()
[all …]
Dtest_interval_laws.hpp43 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: closed(lo,up)), true); in check_border_containedness()
44 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>::right_open(lo,up)), true); in check_border_containedness()
45 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: left_open(lo,up)), true); in check_border_containedness()
46 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: open(lo,up)), true); in check_border_containedness()
52 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: closed(lo,up)), false); in check_border_containedness()
53 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>::right_open(lo,up)), true); in check_border_containedness()
54 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: left_open(lo,up)), false); in check_border_containedness()
55 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: open(lo,up)), true); in check_border_containedness()
61 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>:: closed(lo,up)), false); in check_border_containedness()
62 BOOST_CHECK_EQUAL(icl::contains(itv, icl::interval<domain_type>::right_open(lo,up)), false); in check_border_containedness()
[all …]
/third_party/boost/libs/numeric/interval/test/
DJamfile.v225 test-suite numeric/interval :
26 [ compile libs/numeric/interval/test/integer.cpp ]
28 [ run libs/numeric/interval/test/add.cpp ]
29 [ run libs/numeric/interval/test/det.cpp ]
30 [ run libs/numeric/interval/test/fmod.cpp ]
31 [ run libs/numeric/interval/test/msvc_x64_flags.cpp : : : <build>no <toolset>msvc:<build>yes ]
32 [ run libs/numeric/interval/test/mul.cpp ]
33 [ run libs/numeric/interval/test/overflow.cpp ]
34 [ run libs/numeric/interval/test/pi.cpp ]
35 [ run libs/numeric/interval/test/pow.cpp ]
[all …]
/third_party/boost/boost/numeric/interval/detail/
Ddivision.hpp25 interval<T, Policies> div_non_zero(const interval<T, Policies>& x, in div_non_zero()
26 const interval<T, Policies>& y) in div_non_zero()
30 typedef interval<T, Policies> I; in div_non_zero()
53 interval<T, Policies> div_non_zero(const T& x, const interval<T, Policies>& y) in div_non_zero()
57 typedef interval<T, Policies> I; in div_non_zero()
67 interval<T, Policies> div_positive(const interval<T, Policies>& x, const T& yu) in div_positive()
74 typedef interval<T, Policies> I; in div_positive()
87 interval<T, Policies> div_positive(const T& x, const T& yu) in div_positive()
90 typedef interval<T, Policies> I; in div_positive()
102 interval<T, Policies> div_negative(const interval<T, Policies>& x, const T& yl) in div_negative()
[all …]
/third_party/node/test/parallel/
Dtest-timers-unenroll-unref-interval.js7 const interval = setInterval(common.mustCall(() => { constant
8 clearTimeout(interval);
13 const interval = setInterval(common.mustCall(() => { constant
14 interval.close();
19 const interval = setInterval(common.mustCall(() => { constant
20 timers.unenroll(interval);
25 const interval = setInterval(common.mustCall(() => { constant
26 interval._idleTimeout = -1;
31 const interval = setInterval(common.mustCall(() => { constant
32 interval._onTimeout = null;
/third_party/boost/libs/icl/example/static_interval_/
Dstatic_interval.cpp70 boost::is_same< interval<int>::type in main()
76interval<int>::type int_interval = interval<int>::right_open(3, 8); // shifted the upper bound in main()
77 interval<double>::type sqrt_interval = interval<double>::right_open(1/sqrt(2.0), sqrt(2.0)); in main()
81 interval<string>::type city_interval = interval<string>::right_open("Barcelona", "Boston"); in main()
85interval<Time>::type time_interval = interval<Time>::right_open(Time(monday,8,31), Time(monday,1… in main()
104 interval<rational<int> >::type unit_interval in main()
105 = interval<rational<int> >::right_open(rational<int>(0), rational<int>(1)); in main()

12345678910>>...50