pub fn sub(self: Self, other: Self) Self
Returns the subtraction of two complex numbers.
self: Self
other: Self
54 55 56 57 58 59
pub fn sub(self: Self, other: Self) Self { return Self{ .re = self.re - other.re, .im = self.im - other.im, }; }
Returns the subtraction of two complex numbers.