Returns the imaginary part of a complex matrix as a real matrix.
Namespace: Extreme.Mathematics.GenericAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Matrix<T> GetImaginaryPart<T>(
this Matrix<Complex<T>> matrix
)
<ExtensionAttribute>
Public Shared Function GetImaginaryPart(Of T) (
matrix As Matrix(Of Complex(Of T))
) As Matrix(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Matrix<T>^ GetImaginaryPart(
Matrix<Complex<T>>^ matrix
)
[<ExtensionAttribute>]
static member GetImaginaryPart :
matrix : Matrix<Complex<'T>> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.Mathematics.GenericMatrixComplexT
A complex matrix.
Type Parameters
- T
- The element type of the real matrix.
Return Value
Type:
MatrixTA matrix with element type
T containing
the imaginary part of
matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MatrixComplexT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Numerical Libraries
Supported in: 5.x
Reference