Vector Extensions.Get Magnitude<T> Method
Returns the magnitude 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.3
C#
A vector with element type T containing the magnitude of the corresponding elements of vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.