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