Click or drag to resize

ComplexExtensions Methods

The ComplexExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodConjugate Gets the conjugate of the Complex number.
Public Extension MethodCubicRoots Evaluate all cubic roots of this Complex.
Public Extension MethodExp Exponential of this Complex (exp(x), E^x).
Public Extension MethodIsImaginaryOne Gets a value indicating whether the Complex32 is the imaginary unit.
Public Extension MethodIsInfinity Gets a value indicating whether the provided Complex32 evaluates to an infinite value.
Public Extension MethodIsNaN Gets a value indicating whether the provided Complex32evaluates to a value that is not a number.
Public Extension MethodIsOne Gets a value indicating whether the Complex32 is one.
Public Extension MethodIsReal Gets a value indicating whether the provided Complex32 is real.
Public Extension MethodIsRealNonNegative Gets a value indicating whether the provided Complex32 is real and not negative, that is >= 0.
Public Extension MethodIsZero Gets a value indicating whether the Complex32 is zero.
Public Extension MethodLn Natural Logarithm of this Complex (Base E).
Public Extension MethodLog Logarithm of this Complex with custom base.
Public Extension MethodLog10 Common Logarithm of this Complex (Base 10).
Public Extension MethodMagnitudeSquared(Complex) Gets the squared magnitude of the Complex number.
Public Extension MethodMagnitudeSquared(Complex32) Gets the squared magnitude of the Complex number.
Public Extension MethodNorm(Complex) Returns a Norm of a value of this type, which is appropriate for measuring how close this value is to zero.
Public Extension MethodNorm(Complex32) Returns a Norm of a value of this type, which is appropriate for measuring how close this value is to zero.
Public Extension MethodNormOfDifference(Complex, Complex) Returns a Norm of the difference of two values of this type, which is appropriate for measuring how close together these two values are.
Public Extension MethodNormOfDifference(Complex32, Complex32) Returns a Norm of the difference of two values of this type, which is appropriate for measuring how close together these two values are.
Public Extension MethodPower Raise this Complex to the given value.
Public Extension MethodReciprocal Returns the multiplicative inverse of a complex number.
Public Extension MethodRoot Raise this Complex to the inverse of the given value.
Public Extension MethodSign Gets the unity of this complex (same argument, but on the unit circle; exp(I*arg))
Public Extension MethodSquare The Square (power 2) of this Complex
Public Extension MethodSquareRoot The Square Root (power 1/2) of this Complex
Public Extension MethodSquareRoots Evaluate all square roots of this Complex.
Public Extension MethodToComplex(String) Creates a complex number based on a string. The string can be in the following formats (without the quotes): 'n', 'ni', 'n +/- ni', 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
Public Extension MethodToComplex(String, IFormatProvider) Creates a complex number based on a string. The string can be in the following formats (without the quotes): 'n', 'ni', 'n +/- ni', 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
Public Extension MethodToComplex32(String) Creates a Complex32 number based on a string. The string can be in the following formats (without the quotes): 'n', 'ni', 'n +/- ni', 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
Public Extension MethodToComplex32(String, IFormatProvider) Creates a Complex32 number based on a string. The string can be in the following formats (without the quotes): 'n', 'ni', 'n +/- ni', 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
Public Extension MethodTryToComplex(String, Complex) Converts the string representation of a complex number to a double-precision complex number equivalent. A return value indicates whether the conversion succeeded or failed.
Public Extension MethodTryToComplex(String, IFormatProvider, Complex) Converts the string representation of a complex number to double-precision complex number equivalent. A return value indicates whether the conversion succeeded or failed.
Public Extension MethodTryToComplex32(String, Complex32) Converts the string representation of a complex number to a single-precision complex number equivalent. A return value indicates whether the conversion succeeded or failed.
Public Extension MethodTryToComplex32(String, IFormatProvider, Complex32) Converts the string representation of a complex number to single-precision complex number equivalent. A return value indicates whether the conversion succeeded or failed.
Top
See Also