std › math › complex.Complex › subsubReturns the subtraction of two complex numbers. Function parametersParameters#self:Selfother:SelfFunctions in this namespaceFunctions#absacoshacosargasinhasinatanhatanconjcoshcosexplogpowprojsinhsinsqrttanhtanComplex A complex number consisting of a real an imaginary part.SourceImplementation#pub fn sub(self: Self, other: Self) Self { return Self{ .re = self.re - other.re, .im = self.im - other.im, }; }
pub fn sub(self: Self, other: Self) Self { return Self{ .re = self.re - other.re, .im = self.im - other.im, }; }