Exemplo n.º 1
0
        public static ComplexD operator +(ComplexD a, double b)
        {
            ComplexD c = a;
            c.Add(b);

            return c;
        }
Exemplo n.º 2
0
        public static ComplexD operator -(double b, ComplexD a)
        {
            ComplexD c = -1.0f * a;
            c.Add(b);

            return c;
        }
Exemplo n.º 3
0
        public static ComplexD operator +(ComplexD a, ComplexD b)
        {
            ComplexD c = a;

            c.Add(b);

            return(c);
        }