ComplexNumber StructureMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library

Note: This API is now obsolete.

The Complex Number type makes it possible to store numbers in form of a + bi, where a,b are real numbers and i is sqrt(-1). The real part of the number is stored as a decimal.

Namespace: Mathos.Arithmetic.ComplexNumbers
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

[ObsoleteAttribute]
public struct ComplexNumber

The ComplexNumber type exposes the following members.

Constructors

  NameDescription
Public methodComplexNumber(Decimal)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Double)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Int64)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Complex)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(String)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Decimal, Decimal)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Double, Double)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Int32, Int32)
Initializes a new instance of the ComplexNumber class
Public methodComplexNumber(Fraction, Fraction)
Initializes a new instance of the ComplexNumber class
Top
Methods

  NameDescription
Public methodEquals (Overrides ValueTypeEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromPolar
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Public operatorStatic memberDivision
Public operatorStatic memberEquality
Public operatorStatic member(Decimal to ComplexNumber)
Public operatorStatic member(Double to ComplexNumber)
Public operatorStatic member(Int16 to ComplexNumber)
Public operatorStatic member(Int32 to ComplexNumber)
Public operatorStatic member(Int64 to ComplexNumber)
Public operatorStatic member(Complex to ComplexNumber)
Public operatorStatic member(String to ComplexNumber)
Public operatorStatic memberInequality
Public operatorStatic memberMultiply
Public operatorStatic memberSubtraction
Top
Extension Methods

  NameDescription
Public Extension MethodFrom(Enum)Overloaded.
(Defined by Converter.)
Public Extension MethodFrom(Base)Overloaded.
(Defined by Converter.)
Top
Properties

  NameDescription
Public propertyArgument
Public propertyConjugate
Public propertyStatic memberI
Public propertyImaginaryPart
Public propertyIsPureImaginary
Public propertyIsReal
Public propertyModulus
Public propertyStatic memberOne
Public propertyRealPart
Top
See Also

Reference