Searched refs:dist_x (Results 1 – 4 of 4) sorted by relevance
61 dist_x = p.x - self.x63 return (dist_x ** 2 + dist_y ** 2 ) ** 0.5
819 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()]
873 const int8_t dist_x = (int8_t) in[i].x - 8; in sample_pattern_get_gen6_packed_offsets() local875 const uint8_t dist = dist_x * dist_x + dist_y * dist_y; in sample_pattern_get_gen6_packed_offsets()
577 dist_x = x1 - x0579 return math.sqrt(dist_x * dist_x + dist_y * dist_y)