Home
last modified time | relevance | path

Searched refs:rd (Results 1 – 3 of 3) sorted by relevance

/oneTBB/examples/parallel_for/tachyon/src/
H A Dquadric.cpp85 vector rd; in quadric_intersect() local
88 rd = ry->d; in quadric_intersect()
89 VNorm(&rd); in quadric_intersect()
95 Aq = (q->mat.a * (rd.x * rd.x)) + (2.0 * q->mat.b * rd.x * rd.y) + in quadric_intersect()
96 (2.0 * q->mat.c * rd.x * rd.z) + (q->mat.e * (rd.y * rd.y)) + in quadric_intersect()
97 (2.0 * q->mat.f * rd.y * rd.z) + (q->mat.h * (rd.z * rd.z)); in quadric_intersect()
99 Bq = 2.0 * ((q->mat.a * ro.x * rd.x) + (q->mat.b * ((ro.x * rd.y) + (rd.x * ro.y))) + in quadric_intersect()
100 (q->mat.c * ((ro.x * rd.z) + (rd.x * ro.z))) + (q->mat.d * rd.x) + in quadric_intersect()
101 (q->mat.e * ro.y * rd.y) + (q->mat.f * ((ro.y * rd.z) + (rd.y * ro.z))) + in quadric_intersect()
102 (q->mat.g * rd.y) + (q->mat.h * ro.z * rd.z) + (q->mat.i * rd.z)); in quadric_intersect()
/oneTBB/test/tbb/
H A Dtest_scheduler_mix.cpp45 std::random_device rd; member
49 State() : gen(rd()), dist(0, std::numeric_limits<unsigned short>::max()) {} in State()
H A Dtest_flow_graph_priorities.cpp778 std::random_device rd; in test() local
779 std::mt19937 gen(rd()); in test()