Vector Extensions.Get Magnitude<T> Method
Returns the magnitude of each element of a complex vector as a real vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector with element type T containing the magnitude of the corresponding elements of vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<T> GetMagnitude<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 magnitude of the corresponding elements of vector.