Tensor.Imaginary Part<T> Method
Returns a tensor with the imaginary part of the elements of a tensor of complex numbers.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
A view of tensor whose elements are the imaginary parts of the corresponding elements in tensor.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static Tensor<T> ImaginaryPart<T>(
this Tensor<Complex<T>> tensor
)
Parameters
Type Parameters
- T
- The type of the elements of the tensor.
Return Value
Tensor<T>A view of tensor whose elements are the imaginary parts of the corresponding elements in tensor.