Method | Description | |
---|---|---|
Abs ( this x ) : Complex[] |
Computes the absolute value of an array of complex numbers.
|
|
Im ( this c ) : ].double[ |
Returns the imaginary matrix part of the complex matrix c.
|
|
Im ( this c ) : double[] |
Returns the imaginary vector part of the complex vector c.
|
|
IsEqual ( this objA, Complex objB, double threshold ) : bool |
Compares two matrices for equality, considering an acceptance threshold.
|
|
Magnitude ( this c ) : ].double[ |
Gets the magnitude of every complex number in a matrix.
|
|
Magnitude ( this c ) : double[] |
Gets the magnitude of every complex number in an array.
|
|
Multiply ( this a, Complex b ) : Complex[] |
Elementwise multiplication of two complex vectors.
|
|
Phase ( this c ) : double[] |
Gets the phase of every complex number in an array.
|
|
Range ( this array ) : |
Gets the range of the magnitude values in a complex number vector.
|
|
Re ( this c ) : ].double[ |
Returns the real matrix part of the complex matrix c.
|
|
Re ( this c ) : double[] |
Returns the real vector part of the complex vector c.
|
|
Sum ( this x ) : Complex |
Computes the sum of an array of complex numbers.
|
|
ToArray ( this c ) : ].double[ |
Converts a complex number to a matrix of scalar values in which the first column contains the real values and the second column contains the imaginary values.
|
|
ToComplex ( this real ) : Complex[] |
Converts a vector of real numbers to complex numbers.
|
|
ToComplex ( this real, double imag ) : Complex[] |
Combines a vector of real and a vector of imaginary numbers to form complex numbers.
|
Method | Description | |
---|---|---|
SquaredMagnitude ( this value ) : double |
public static Im ( this c ) : ].double[ | ||
c | this | A matrix of complex numbers. |
return | ].double[ |
public static Im ( this c ) : double[] | ||
c | this | A vector of complex numbers. |
return | double[] |
public static IsEqual ( this objA, Complex objB, double threshold ) : bool | ||
objA | this | |
objB | Complex | |
threshold | double | |
return | bool |
public static Magnitude ( this c ) : ].double[ | ||
c | this | |
return | ].double[ |
public static Magnitude ( this c ) : double[] | ||
c | this | |
return | double[] |
public static Multiply ( this a, Complex b ) : Complex[] | ||
a | this | |
b | Complex | |
return | Complex[] |
public static Range ( this array ) : |
||
array | this | A complex number vector. |
return |
public static Re ( this c ) : ].double[ | ||
c | this | A matrix of complex numbers. |
return | ].double[ |
public static Re ( this c ) : double[] | ||
c | this | A vector of complex numbers. |
return | double[] |
public static ToArray ( this c ) : ].double[ | ||
c | this | An array of complex numbers. |
return | ].double[ |
public static ToComplex ( this real ) : Complex[] | ||
real | this | The real numbers to be converted. |
return | Complex[] |
public static ToComplex ( this real, double imag ) : Complex[] | ||
real | this | The real part of the complex numbers. |
imag | double | The imaginary part of the complex numbers |
return | Complex[] |