Пример #1
0
        public static ComplexD operator +(ComplexD a, double b)
        {
            ComplexD c = a;
            c.Add(b);

            return c;
        }
Пример #2
0
        public static ComplexD operator -(double b, ComplexD a)
        {
            ComplexD c = -1.0f * a;
            c.Add(b);

            return c;
        }
Пример #3
0
        public static ComplexD operator +(ComplexD a, ComplexD b)
        {
            ComplexD c = a;

            c.Add(b);

            return(c);
        }