Searched refs:mul_add_assign (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/num-traits/src/ops/ |
D | mul_add.rs | 34 fn mul_add_assign(&mut self, a: A, b: B); in mul_add_assign() method 76 fn mul_add_assign(&mut self, a: Self, b: Self) { in mul_add_assign() method 84 fn mul_add_assign(&mut self, a: Self, b: Self) { in mul_add_assign() method 93 fn mul_add_assign(&mut self, a: Self, b: Self) {
|
/aosp_15_r20/external/rust/android-crates-io/crates/num-complex/src/ |
D | lib.rs | 885 fn mul_add_assign(&mut self, other: Complex<T>, add: Complex<T>) { in mul_add_assign() method 888 self.re.mul_add_assign(other.re.clone(), add.re); // (a*c + e) in mul_add_assign() 892 adf.mul_add_assign(other.im, add.im); // (a*d + f) in mul_add_assign() 893 self.im.mul_add_assign(other.re, adf); // (b*c + (a*d + f)) in mul_add_assign() 900 fn mul_add_assign(&mut self, other: &Complex<T>, add: &Complex<T>) { in mul_add_assign() method 901 self.mul_add_assign(other.clone(), add.clone()); in mul_add_assign() 2557 x.mul_add_assign(_1_0i, _1_0i); in test_mul_add_float() 2566 x.mul_add_assign(b, c); in test_mul_add_float() 2590 x.mul_add_assign(_1_0i, _1_0i); in test_mul_add() 2599 x.mul_add_assign(b, c); in test_mul_add()
|