Matrix Extensions.Get Imaginary Part<T> Method
Returns the imaginary part of a complex matrix as a real matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A matrix with element type T containing the imaginary part of matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static Matrix<T> GetImaginaryPart<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 imaginary part of matrix.