Struct Complex
Assembly: DRIT.Spreadsheet.dll
Constructors
Declaration
public Complex(double real, double imaginary)
Parameters
Type |
Name |
Description |
System.Double |
real |
|
System.Double |
imaginary |
|
Declaration
public Complex(double real, double imaginary, char suffix)
Parameters
Type |
Name |
Description |
System.Double |
real |
|
System.Double |
imaginary |
|
System.Char |
suffix |
|
Properties
Declaration
public double Imaginary { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double Module { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double Real { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public char Suffix { get; }
Property Value
Type |
Description |
System.Char |
|
Declaration
public double Theta { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
Property Value
Type |
Description |
System.Double |
|
Declaration
Property Value
Type |
Description |
System.Double |
|
Methods
Declaration
public Complex Conjugate()
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static Complex Parse(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Declaration
public string ToString(IFormatProvider provider)
Parameters
Type |
Name |
Description |
IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static bool TryParse(string value, out Complex complex)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Complex |
complex |
|
Returns
Type |
Description |
System.Boolean |
|
Operators
Declaration
public static Complex operator +(Complex z1, Complex z2)
Parameters
Returns
Declaration
public static Complex operator /(Complex z1, Complex z2)
Parameters
Returns
Declaration
public static bool operator ==(Complex z1, Complex z2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(Complex z1, Complex z2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static Complex operator *(Complex z1, Complex z2)
Parameters
Returns
Declaration
public static Complex operator *(Complex z1, double z2)
Parameters
Type |
Name |
Description |
Complex |
z1 |
|
System.Double |
z2 |
|
Returns
Declaration
public static Complex operator -(Complex z1, Complex z2)
Parameters
Returns