Matrix Extensions.Get Phase<T> Method
Returns the phase of each element of a complex matrix as a real matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A matrix with element type T containing the phase of the corresponding elements of matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Matrix<T> GetPhase<T>(
this Matrix<Complex<T>> matrix
)
Parameters
Type Parameters
- T
- The element type of the real matrix.
Return Value
Matrix<T>A matrix with element type T containing the phase of the corresponding elements of matrix.