Represents a complex number.
Namespace:
Meta.NumericsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public struct Complex
<SerializableAttribute> _ Public Structure Complex
[SerializableAttribute] public value class Complex
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| Complex(Double, Double) |
Initializes a new complex number.
| |
| __repr__()()() | Obsolete. | |
| Addition(Complex, Complex) |
Adds two complex numbers.
| |
| Conjugate |
Gets the complex conjugate of the complex number.
| |
| Division(Complex, Complex) |
Divides two complex numbers.
| |
| Equality(Complex, Complex) |
Tests the equality of two complex numbers.
| |
| Equals(Object) |
Determines whether the given object represents the same complex number.
(Overrides ValueType..::.Equals(Object).) | |
| Explicit(Complex) |
Converts the complex number to a double-precision real number.
| |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Returns a hash code for the complex number.
(Overrides ValueType..::.GetHashCode()()().) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Im |
Gets the imaginary part of the complex number.
| |
| Implicit(Double) |
Converts a double-precision real number to a complex number.
| |
| Inequality(Complex, Complex) |
Tests the inequality of two complex numbers.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Multiply(Complex, Complex) |
Multiplies two complex numbers.
| |
| Re |
Gets the real part of the complex number.
| |
| Subtraction(Complex, Complex) |
Subtracts the second complex number from the first.
| |
| ToString()()() |
Produces a string representation of the complex number.
(Overrides ValueType..::.ToString()()().) | |
| UnaryNegation(Complex) |
Negates a complex number.
|