Searched refs:denominator_1 (Results 1 – 4 of 4) sorted by relevance
120 denominator_1 = weight_1 * (1.0 - decay)121 self.assertAllClose(numerator_1 / denominator_1, wma_array)128 denominator_2 = denominator_1 * decay + weight_2 * (1.0 - decay)146 denominator_1 = weight_1 * (1.0 - decay)147 self.assertAllClose(numerator_1 / denominator_1, wma_array)154 denominator_2 = denominator_1 * decay + weight_2 * (1.0 - decay)
167 int64_t numerator_1, int64_t denominator_1) { in NormalizeAndCompareFractions() argument171 GreatestCommonDivisor(std::abs(numerator_1), std::abs(denominator_1)); in NormalizeAndCompareFractions()176 auto normalized_denominator_1 = denominator_1 / gcd_1; in NormalizeAndCompareFractions()