Home
last modified time | relevance | path

Searched refs:dist_x (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
Delements.py61 dist_x = p.x - self.x
63 return (dist_x ** 2 + dist_y ** 2 ) ** 0.5
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/
Dhmc_test.py819 dist_x = normal_lib.Normal(loc=self.dtype(0), scale=self.dtype(1))
825 return dist_x.log_prob(x) + dist_y.log_prob(y)
826 x0 = [dist_x.sample(seed=1), dist_y.sample(seed=2)]
837 expected_means = [dist_x.mean(), dist_y.mean()]
838 expected_vars = [dist_x.variance(), dist_y.variance()]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_raster.c873 const int8_t dist_x = (int8_t) in[i].x - 8; in sample_pattern_get_gen6_packed_offsets() local
875 const uint8_t dist = dist_x * dist_x + dist_y * dist_y; in sample_pattern_get_gen6_packed_offsets()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py577 dist_x = x1 - x0
579 return math.sqrt(dist_x * dist_x + dist_y * dist_y)