Home
last modified time | relevance | path

Searched refs:Dist (Results 1 – 25 of 71) sorted by relevance

123

/third_party/boost/boost/math/distributions/
Dfind_scale.hpp32 template <class Dist, class Policy>
34 typename Dist::value_type find_scale( // For example, normal mean. in find_scale()
35 … typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. in find_scale()
37 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z. in find_scale()
38 … typename Dist::value_type location, // location parameter, for example, normal distribution mean. in find_scale()
43 BOOST_STATIC_ASSERT(::boost::math::tools::is_distribution<Dist>::value); in find_scale()
44 BOOST_STATIC_ASSERT(::boost::math::tools::is_scaled_distribution<Dist>::value); in find_scale()
50 return policies::raise_domain_error<typename Dist::value_type>( in find_scale()
55 return policies::raise_domain_error<typename Dist::value_type>( in find_scale()
60 return policies::raise_domain_error<typename Dist::value_type>( in find_scale()
[all …]
Dfind_location.hpp31 template <class Dist, class Policy>
33 typename Dist::value_type find_location( // For example, normal mean. in find_location()
34 … typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p. in find_location()
36 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z. in find_location()
37 typename Dist::value_type scale, // scale parameter, for example, normal standard deviation. in find_location()
45 BOOST_STATIC_ASSERT(::boost::math::tools::is_distribution<Dist>::value); in find_location()
46 BOOST_STATIC_ASSERT(::boost::math::tools::is_scaled_distribution<Dist>::value); in find_location()
52 return policies::raise_domain_error<typename Dist::value_type>( in find_location()
57 return policies::raise_domain_error<typename Dist::value_type>( in find_location()
62 return policies::raise_domain_error<typename Dist::value_type>( in find_location()
[all …]
Dcomplement.hpp19 template <class Dist, class RealType>
23 const Dist& d, in complemented2_type()
28 const Dist& dist;
35 template <class Dist, class RealType1, class RealType2>
39 const Dist& d, in complemented3_type()
46 const Dist& dist;
53 template <class Dist, class RealType1, class RealType2, class RealType3>
57 const Dist& d, in complemented4_type()
66 const Dist& dist;
74 template <class Dist, class RealType1, class RealType2, class RealType3, class RealType4>
[all …]
/third_party/boost/boost/math/distributions/detail/
Dinv_discrete_quantile.hpp16 template <class Dist>
19 typedef typename Dist::value_type value_type;
20 typedef typename Dist::policy_type policy_type;
22 distribution_quantile_finder(const Dist d, value_type p, bool c) in distribution_quantile_finder()
31 Dist dist;
71 template <class Dist, class Tolerance>
72 typename Dist::value_type
74 const Dist& dist, in do_inverse_discrete_quantile()
75 const typename Dist::value_type& p, in do_inverse_discrete_quantile()
77 typename Dist::value_type guess, in do_inverse_discrete_quantile()
[all …]
Dgeneric_mode.hpp17 template <class Dist>
20 pdf_minimizer(const Dist& d) in pdf_minimizer()
23 typename Dist::value_type operator()(const typename Dist::value_type& x) in operator ()()
28 Dist dist;
31 template <class Dist>
32 typename Dist::value_type generic_find_mode(const Dist& dist, typename Dist::value_type guess, cons… in generic_find_mode()
35 typedef typename Dist::value_type value_type; in generic_find_mode()
36 typedef typename Dist::policy_type policy_type; in generic_find_mode()
78 pdf_minimizer<Dist>(dist), in generic_find_mode()
96 template <class Dist>
[all …]
Dgeneric_quantile.hpp11 template <class Dist>
14 typedef typename Dist::value_type value_type;
15 typedef typename Dist::policy_type policy_type;
17 generic_quantile_finder(const Dist& d, value_type t, bool c) in generic_quantile_finder()
28 Dist dist;
45 template <class Dist>
46 typename Dist::value_type generic_quantile(const Dist& dist, const typename Dist::value_type& p, co… in generic_quantile()
48 typedef typename Dist::value_type value_type; in generic_quantile()
49 typedef typename Dist::policy_type policy_type; in generic_quantile()
73 generic_quantile_finder<Dist> f(dist, p, comp); in generic_quantile()
Dderived_accessors.hpp146 template <class Dist>
147 inline typename Dist::value_type median(const Dist& d) in median()
151 typedef typename Dist::value_type value_type; in median()
/third_party/boost/libs/math/doc/distributions/
Ddist_algorithms.qbk23 template <class Dist, class ``__Policy``> // explicit error handling policy
24 typename Dist::value_type find_location( // For example, normal mean.
25 typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p.
27 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z.
28 typename Dist::value_type scale, // scale parameter, for example, normal standard deviation.
31 template <class Dist> // with default policy.
32 typename Dist::value_type find_location( // For example, normal mean.
33 typename Dist::value_type z, // location of random variable z to give probability, P(X > z) == p.
35 typename Dist::value_type p, // probability value desired at x, say 0.95 for 95% > z.
36 typename Dist::value_type scale); // scale parameter, for example, normal standard deviation.
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dbenchmarks.cc169 template <typename Engine, typename Dist, typename... Args>
171 using value_type = typename Dist::result_type; in BM_Dist()
173 Dist dis{std::forward<Args>(args)...}; in BM_Dist()
181 template <typename Engine, typename Dist>
183 using value_type = typename Dist::result_type; in BM_Large()
186 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Large()
189 template <typename Engine, typename Dist>
191 using value_type = typename Dist::result_type; in BM_Small()
194 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Small()
197 template <typename Engine, typename Dist, int A>
[all …]
/third_party/abseil-cpp/absl/random/
Dbenchmarks.cc169 template <typename Engine, typename Dist, typename... Args>
171 using value_type = typename Dist::result_type; in BM_Dist()
173 Dist dis{std::forward<Args>(args)...}; in BM_Dist()
181 template <typename Engine, typename Dist>
183 using value_type = typename Dist::result_type; in BM_Large()
186 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Large()
189 template <typename Engine, typename Dist>
191 using value_type = typename Dist::result_type; in BM_Small()
194 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Small()
197 template <typename Engine, typename Dist, int A>
[all …]
/third_party/boost/boost/fusion/view/transform_view/detail/
Dadvance_impl.hpp34 template<typename Iterator, typename Dist>
38 typedef typename result_of::advance<first_type, Dist>::type advanced_type;
46 return type(boost::fusion::advance<Dist>(i.first), i.f); in call()
55 template<typename Iterator, typename Dist>
60 typedef typename result_of::advance<first1_type, Dist>::type advanced1_type;
61 typedef typename result_of::advance<first2_type, Dist>::type advanced2_type;
70 boost::fusion::advance<Dist>(i.first1) in call()
71 , boost::fusion::advance<Dist>(i.first2), i.f); in call()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_probe_benchmark.cc359 template <class T, class Dist>
361 T operator()() const { return Dist{}(T{}); } in operator ()()
364 template <class Dist, int Align>
365 struct Random<Ptr<Align>*, Dist> {
367 return MakePtr<Align>(Random<uintptr_t, Dist>{}() * Align); in operator ()()
371 template <class Dist>
372 struct Random<IntIdentity, Dist> {
374 return IntIdentity{Random<uint64_t, Dist>{}()}; in operator ()()
378 template <class Dist, int Align>
379 struct Random<PtrIdentity<Align>, Dist> {
[all …]
/third_party/boost/boost/graph/distributed/
Ddelta_stepping_shortest_paths.hpp74 typedef typename property_traits<EdgeWeightMap>::value_type Dist; typedef in boost::graph::distributed::delta_stepping_impl
98 Dist delta);
109 void relax(Vertex u, Vertex v, Dist x);
118 void handle_relax_message(Vertex v, Dist x) { relax(v, v, x); } in handle_relax_message()
123 void handle_relax_message(Vertex v, const std::pair<Dist, Vertex>& p) in handle_relax_message() argument
138 Dist delta;
171 Dist delta) in delta_stepping_impl()
204 Dist max_edge_weight = 0; in delta_stepping_impl()
212 max_edge_weight = all_reduce(pg, max_edge_weight, maximum<Dist>()); in delta_stepping_impl()
230 Dist inf = (std::numeric_limits<Dist>::max)(); in run()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dgradient_paint.inl34 tvec2<T, P> Dist = Point1 - Point0; local
35 …return (Dist.x * (Position.x - Point0.x) + Dist.y * (Position.y - Point0.y)) / glm::dot(Dist, Dist
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp98 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
105 DitheringDistributer::DitheringDistributer(Distribution &Dist, in DitheringDistributer() argument
107 Dist.normalize(); in DitheringDistributer()
108 RemWeight = Dist.Total; in DitheringDistributer()
290 bool BlockFrequencyInfoImplBase::addToDist(Distribution &Dist, in addToDist() argument
319 Dist.addBackedge(Resolved, Weight); in addToDist()
325 Dist.addExit(Resolved, Weight); in addToDist()
348 Dist.addLocal(Resolved, Weight); in addToDist()
353 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { in addLoopSuccessorsToDist() argument
356 if (!addToDist(Dist, OuterLoop, Loop.getHeader(), I.first, in addLoopSuccessorsToDist()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp131 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
134 MachineInstr *MI, unsigned Dist);
137 unsigned RegBIdx, unsigned RegCIdx, unsigned Dist);
143 unsigned RegA, unsigned RegB, unsigned Dist);
145 bool isDefTooClose(unsigned Reg, unsigned Dist, MachineInstr *MI);
157 unsigned Dist, bool shouldOnlyCommute);
163 unsigned Dist);
172 void processTiedPairs(MachineInstr *MI, TiedPairList&, unsigned &Dist);
384 bool TwoAddressInstructionPass::noUseAfterLastDef(unsigned Reg, unsigned Dist, in noUseAfterLastDef() argument
387 unsigned LastUse = Dist; in noUseAfterLastDef()
[all …]
DLiveVariables.cpp202 unsigned Dist = DistanceMap[Def]; in FindLastPartialDef() local
203 if (Dist > LastDefDist) { in FindLastPartialDef()
206 LastDefDist = Dist; in FindLastPartialDef()
296 unsigned Dist = DistanceMap[Def]; in FindLastRefOrPartRef() local
297 if (Dist > LastPartDefDist) in FindLastRefOrPartRef()
298 LastPartDefDist = Dist; in FindLastRefOrPartRef()
300 unsigned Dist = DistanceMap[Use]; in FindLastRefOrPartRef() local
301 if (Dist > LastRefOrPartRefDist) { in FindLastRefOrPartRef()
302 LastRefOrPartRefDist = Dist; in FindLastRefOrPartRef()
345 unsigned Dist = DistanceMap[Def]; in HandlePhysRegKill() local
[all …]
/third_party/boost/libs/math/doc/graphs/
Ddist_graphs.cpp36 template <class Dist>
58 template <class Dist>
61 value_finder(Dist const& d, typename Dist::value_type v) in value_finder()
64 inline typename Dist::value_type operator()(const typename Dist::value_type& x) in operator ()()
70 Dist m_dist;
71 typename Dist::value_type m_value;
74 template <class Dist>
81 void add(const Dist& d, const std::string& name) in add()
100 if((mod <= a) && !is_discrete_distribution<Dist>::value) in add()
125 value_finder<Dist>(d, min_y), in add()
[all …]
/third_party/boost/boost/mpl/aux_/range_c/
Diterator.hpp65 template< typename Iter, typename Dist > struct apply
70 ::template apply<n_,Dist>::type m_;
72 typedef typename plus<n_,Dist>::type m_;
/third_party/boost/libs/random/performance/
Drandom_speed.cpp102 template<class URNG, class Dist, class Ret = typename Dist::result_type>
107 DynamicRandomGenerator(URNG& urng, const Dist& d) : _rng(urng, d) { } in DynamicRandomGenerator()
110 boost::variate_generator<URNG&, Dist> _rng;
236 template<class PRNG, class Dist>
237 inline boost::variate_generator<PRNG&, Dist> make_gen(PRNG & rng, Dist d) in make_gen()
239 return boost::variate_generator<PRNG&, Dist>(rng, d); in make_gen()
/third_party/boost/boost/fusion/view/single_view/detail/
Dadvance_impl.hpp29 template<typename Iterator, typename Dist>
34 typename mpl::plus<typename Iterator::position, Dist>::type>
/third_party/boost/libs/random/test/
Dhistogram.cpp112 template<class PRNG, class Dist>
113 inline boost::variate_generator<PRNG&, Dist> make_gen(PRNG & rng, Dist d) in make_gen()
115 return boost::variate_generator<PRNG&, Dist>(rng, d); in make_gen()
Dstatistic_tests.cpp101 template<class RNG, class Dist>
102 void run(RNG & rng, const Dist& dist, int n1, int n2) in run()
171 template<class RNG, class Dist>
172 void run(RNG & rng, const Dist& dist, int n1, int n2) in run()
395 template<class RNG, class Dist, class ExpectedDist>
396 void run_test(const std::string & name, const Dist & dist, const ExpectedDist & expected_dist) in run_test()
403 variate_generator<RNG&, Dist> vgen(rng, dist); in run_test()
/third_party/boost/boost/fusion/view/nview/detail/
Dadvance_impl.hpp29 template<typename Iterator, typename Dist>
36 typename result_of::advance<iterator_type, Dist>::type> type;
/third_party/boost/boost/fusion/view/reverse_view/detail/
Dadvance_impl.hpp30 template<typename Iterator, typename Dist>
34 typedef typename mpl::negate<Dist>::type negative_dist;

123