Click or drag to resize

Complex Structure

Represents a Complex number.
Inheritance Hierarchy
SystemObject
  SystemValueType
    DotNumericsComplex

Namespace: DotNumerics
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public struct Complex : IFormattable
Request Example View Source

The Complex type exposes the following members.

Constructors
 NameDescription
Public methodComplex Initializes a new instance of the Complex class.
Top
Properties
 NameDescription
Public propertyArgument Gets or stes the argument of a this complex number.
Public propertyConjugate Returns the conjugate of this complex number.
Public propertyImaginary Gets or sets the imaginary value of the complex number.
Public propertyModulus Gets the modulus or absolute value of this complex number.
Public propertyReal Gets or sets the real value of the complex number.
Top
Methods
 NameDescription
Public methodEquals Indicates whether this instance and a specific object are equals.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodToString Converts this instance to its equivalent string representation.
(Overrides ValueTypeToString)
Public methodToString(String) Converts this instance to its equivalent string representation, using the specified format.
Public methodToString(String, IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Complex, Complex) Complex addition.
Public operatorStatic memberDivision(Complex, Complex) Complex division.
Public operatorStatic memberEquality(Complex, Complex) Equality operator.
Public operatorStatic memberInequality(Complex, Complex) Inequality operator.
Public operatorStatic memberMultiply(Complex, Complex) Complex multiplication.
Public operatorStatic memberMultiply(Complex, Double) Complex multiplication.
Public operatorStatic memberMultiply(Double, Complex) Complex multiplication.
Public operatorStatic memberSubtraction(Complex, Complex) Complex subtraction.
Public operatorStatic memberUnaryNegation(Complex) Unary minus.
Public operatorStatic memberUnaryPlus(Complex) Unary addition.
Top
Fields
 NameDescription
Private field_imaginary 
Private field_real 
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also