Vector Extensions.Get Phase<T> Method
Returns the phase of each element 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 phase of the corresponding elements of vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Vector<T> GetPhase<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 phase of the corresponding elements of vector.