Represents a complex number.
| C# | Visual Basic | Visual C++ | F# |
[SerializableAttribute] public struct Complex : IEquatable<Complex>
<SerializableAttribute> _ Public Structure Complex _ Implements IEquatable(Of Complex)
[SerializableAttribute] public value class Complex : IEquatable<Complex>
[<SealedAttribute>] [<SerializableAttribute>] type Complex = struct interface IEquatable<Complex> end
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Complex(Double, Double) |
Initializes a new complex number.
| |
| __repr__()()()() |
Produces the representation of the complex number for the Python interactive console.
| |
| 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).) | |
| Equals(Complex) |
Determines whether the given complex number is the same.
| |
| ExplicitNarrowingExplicitExplicitExplicit(Complex to Double) |
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.
| |
| ImplicitWideningImplicitImplicitImplicit(Double to Complex) |
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.
|