Vector Extensions.Get Imaginary Part<T> Method
Returns the imaginary part of a complex vector as a real vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A vector with element type T containing the imaginary part of vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Vector<T> GetImaginaryPart<T>(
this Vector<Complex<T>> vector
)
Parameters
Type Parameters
- T
- The element type of the real vector.
Return Value
Vector<T>A vector with element type T containing the imaginary part of vector.