public Complex_number Product(Complex_number num) { double productReZ = GetReZ() * num.GetReZ() - GetImZ() * num.GetImZ(); double productImZ = GetImZ() * num.GetReZ() + num.GetImZ() * GetReZ(); return(new Complex_number(productReZ, productImZ)); }
public Complex_number Difference(Complex_number num) { return(new Complex_number(GetReZ() - num.GetReZ(), GetImZ() - num.GetImZ())); }
public Complex_number Sum(Complex_number num) { return(new Complex_number(GetReZ() + num.GetReZ(), GetImZ() + num.GetImZ())); }