Exemple #1
0
            public Complexs Minus(Complexs x)
            {
                Complexs NewY;

                NewY.im = im - x.im;
                NewY.re = re - x.re;
                return(NewY);
            }
Exemple #2
0
            public Complexs Multi(Complexs x)
            {
                Complexs y;

                y.im = re * x.im + im * x.re;
                y.re = re * x.re - im * x.im;
                return(y);
            }
Exemple #3
0
            public Complexs Plus(Complexs x)
            {
                Complexs y;

                y.im = im + x.im;
                y.re = re + x.re;
                return(y);
            }