Complex<T>.GetRealPart Method

Returns an array of Doubles that contains the real parts of an array of complex numbers.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static T[] GetRealPart(
	Complex<T>[] sourceArray
)

Parameters

sourceArray  Complex<T>[]
An array of complex numbers.

Return Value

T[]
A T array that contains the real parts of the complex numbers in sourceArray.

Exceptions

ArgumentNullException

sourceArray is null.

See Also