The following tables list the members exposed by Complex.
| Name | Description | |
|---|---|---|
| Complex Constructor | Overloaded. Initializes a new instance of the complex structure setting both its real and imaginary part to zero. |
| Name | Description | |
|---|---|---|
| One | A constant representing a complex number equal to 1. | |
| Zero | A constant representing a complex number equal to zero. |
| Name | Description | |
|---|---|---|
| Imag | The imaginary part of the complex number. | |
| Real | The real part of the complex number. |
| Name | Description | |
|---|---|---|
| Abs | Overloaded. Returns the absolute value of the current complex number. | |
| Add | Overloaded. Returns the sum of complex number with a real number. | |
| Conjugate | Overloaded. Returns the conjugate of this complex number. | |
| Cos | Returns the cosine of a complex number. | |
| Cosh | Returns the hyperbolic cosine of a complex number | |
| Divide | Overloaded. Divides a real number by a complex number. | |
| Equals | Overloaded. Indicates whether this instance of the complex structure and the specified complex are equal. | |
| FromDouble | Converts a double real number to a complex structure. | |
| GetHashCode | Returns the hash code for this instance | |
| IsInfinity | Returns a value indicating whether the specified complex number evaluates to an infinity value. | |
| IsNaN | Returns a value indicating whether the specified complex number evaluates to a value that is not a number. | |
| Multiply | Overloaded. Multiplies a complex number by a real number. | |
| Negate | Negates a complex number. | |
| Plus | Returns the value of the complex number. | |
| Reciprocal | Overloaded. Returns the reciprocal of the complex number. | |
| Sin | Returns the sine of a complex number. | |
| Sinh | Returns the hyperbolic sine of a complex number. | |
| Sqrt | Overloaded. Returns the square root of the current complex number. | |
| Subtract | Overloaded. Subtracts a complex number from a real number. | |
| ToString | Overloaded. Returns a string representing the complex number. |
| Overloaded. Returns the sum of a real number and a complex. | |
| Overloaded. Divides a complex number by a real number. | |
| Tests whether two complex numbers are equal. | |
| Overloaded. Converts a double to its equivalent complex. | |
| Tests whether two complex structures are not equal. | |
| Overloaded. Multiplies a real number by a complex. | |
| Overloaded. Subtracts a complex number from a real number. | |
| Negates a complex number. | |
| Returns the value of the complex number. |