System\Numerics\Complex.cs (33)
70public static readonly Complex Zero = new Complex(0.0, 0.0);
71public static readonly Complex One = new Complex(1.0, 0.0);
72public static readonly Complex ImaginaryOne = new Complex(0.0, 1.0);
84return new Complex((magnitude * Math.Cos(phase)), (magnitude * Math.Sin(phase)));
111return (new Complex((-value.m_real), (-value.m_imaginary)));
116return (new Complex((left.m_real + right.m_real), (left.m_imaginary + right.m_imaginary)));
121return (new Complex((left.m_real - right.m_real), (left.m_imaginary - right.m_imaginary)));
128return (new Complex(result_Realpart, result_Imaginarypart));
140return new Complex((a + b * doc) / (c + d * doc), (b - a * doc) / (c + d * doc));
143return new Complex((b + a * cod) / (d + c * cod), (-a + b * cod) / (d + c * cod));
177return (new Complex(value.m_real, (-value.m_imaginary)));
215return (new Complex(value, 0.0));
218return (new Complex(value, 0.0));
221return (new Complex(value, 0.0));
225return (new Complex(value, 0.0));
229return (new Complex(value, 0.0));
233return (new Complex(value, 0.0));
237return (new Complex(value, 0.0));
240return (new Complex(value, 0.0));
243return (new Complex(value, 0.0));
246return (new Complex(value, 0.0));
249return (new Complex((Double)value, 0.0));
252return (new Complex((Double)value, 0.0));
290return new Complex(Math.Sin(a) * Math.Cosh(b), Math.Cos(a) * Math.Sinh(b));
298return new Complex(Math.Sinh(a) * Math.Cos(b), Math.Cosh(a) * Math.Sin(b));
309return new Complex(Math.Cos(a) * Math.Cosh(b), - (Math.Sin(a) * Math.Sinh(b)));
317return new Complex(Math.Cosh(a) * Math.Cos(b), Math.Sinh(a) * Math.Sin(b));
335Complex Two = new Complex(2.0, 0.0);
343return (new Complex((Math.Log(Abs(value))), (Math.Atan2(value.m_imaginary, value.m_real))));
362return (new Complex(result_re, result_im));
393return new Complex(t * Math.Cos(newRho), t * Math.Sin(newRho));
398return Pow(value, new Complex(power, 0));
409return (new Complex(result_re, result_im));