Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Numerics.Complex Struct Reference

Public Member Functions

 Complex (double real, double imaginary)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
bool Equals (Complex value)
 
override int GetHashCode ()
 
override string ToString ()
 
string ToString (string? format)
 
string ToString (IFormatProvider? provider)
 
string ToString (string? format, IFormatProvider? provider)
 
bool Equals (T? other)
 

Static Public Member Functions

static Complex FromPolarCoordinates (double magnitude, double phase)
 
static Complex Negate (Complex value)
 
static Complex Add (Complex left, Complex right)
 
static Complex Add (Complex left, double right)
 
static Complex Add (double left, Complex right)
 
static Complex Subtract (Complex left, Complex right)
 
static Complex Subtract (Complex left, double right)
 
static Complex Subtract (double left, Complex right)
 
static Complex Multiply (Complex left, Complex right)
 
static Complex Multiply (Complex left, double right)
 
static Complex Multiply (double left, Complex right)
 
static Complex Divide (Complex dividend, Complex divisor)
 
static Complex Divide (Complex dividend, double divisor)
 
static Complex Divide (double dividend, Complex divisor)
 
static Complex operator- (Complex value)
 
static Complex operator+ (Complex left, Complex right)
 
static Complex operator+ (Complex left, double right)
 
static Complex operator+ (double left, Complex right)
 
static Complex operator- (Complex left, Complex right)
 
static Complex operator- (Complex left, double right)
 
static Complex operator- (double left, Complex right)
 
static Complex operator* (Complex left, Complex right)
 
static Complex operator* (Complex left, double right)
 
static Complex operator* (double left, Complex right)
 
static Complex operator/ (Complex left, Complex right)
 
static Complex operator/ (Complex left, double right)
 
static Complex operator/ (double left, Complex right)
 
static double Abs (Complex value)
 
static Complex Conjugate (Complex value)
 
static Complex Reciprocal (Complex value)
 
static bool operator== (Complex left, Complex right)
 
static bool operator!= (Complex left, Complex right)
 
static Complex Sin (Complex value)
 
static Complex Sinh (Complex value)
 
static Complex Asin (Complex value)
 
static Complex Cos (Complex value)
 
static Complex Cosh (Complex value)
 
static Complex Acos (Complex value)
 
static Complex Tan (Complex value)
 
static Complex Tanh (Complex value)
 
static Complex Atan (Complex value)
 
static bool IsFinite (Complex value)
 
static bool IsInfinity (Complex value)
 
static bool IsNaN (Complex value)
 
static Complex Log (Complex value)
 
static Complex Log (Complex value, double baseValue)
 
static Complex Log10 (Complex value)
 
static Complex Exp (Complex value)
 
static Complex Sqrt (Complex value)
 
static Complex Pow (Complex value, Complex power)
 
static Complex Pow (Complex value, double power)
 
static implicit operator Complex (short value)
 
static implicit operator Complex (int value)
 
static implicit operator Complex (long value)
 
static implicit operator Complex (ushort value)
 
static implicit operator Complex (uint value)
 
static implicit operator Complex (ulong value)
 
static implicit operator Complex (sbyte value)
 
static implicit operator Complex (byte value)
 
static implicit operator Complex (float value)
 
static implicit operator Complex (double value)
 
static operator Complex (BigInteger value)
 
static operator Complex (decimal value)
 

Static Public Attributes

static readonly Complex Zero = new Complex(0.0, 0.0)
 
static readonly Complex One = new Complex(1.0, 0.0)
 
static readonly Complex ImaginaryOne = new Complex(0.0, 1.0)
 
static readonly Complex NaN = new Complex(double.NaN, double.NaN)
 
static readonly Complex Infinity = new Complex(double.PositiveInfinity, double.PositiveInfinity)
 

Properties

double Real [get]
 
double Imaginary [get]
 
double Magnitude [get]
 
double Phase [get]
 

Static Private Member Functions

static double Hypot (double a, double b)
 
static double Log1P (double x)
 
static void Asin_Internal (double x, double y, out double b, out double bPrime, out double v)
 
static Complex Scale (Complex value, double factor)
 

Private Attributes

readonly double m_real
 
readonly double m_imaginary
 

Static Private Attributes

static readonly double s_sqrtRescaleThreshold = double.MaxValue / (Math.Sqrt(2.0) + 1.0)
 
static readonly double s_asinOverflowThreshold = Math.Sqrt(double.MaxValue) / 2.0
 
static readonly double s_log2 = Math.Log(2.0)
 

Detailed Description

Definition at line 8 of file Complex.cs.


The documentation for this struct was generated from the following file: