Returns an array of Doubles that contains the real
parts of an array of DoubleComplex numbers.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function GetRealPart ( _ sourceArray As DoubleComplex() _ ) As Double() |
| C# |
|---|
public static double[] GetRealPart ( DoubleComplex[] sourceArray ) |
| C++ |
|---|
public: static array<double>^ GetRealPart ( array<DoubleComplex>^ sourceArray ) |
Parameters
- sourceArray ()
- An array of DoubleComplex numbers.
Return Value
A Double array containing the real parts of the complex numbers in sourceArray.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | sourceArray is nullNothingnullptr. |