Tensor.Real Part<T> Method
Returns a tensor with the real 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 real parts of the corresponding elements in tensor.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static Tensor<T> RealPart<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 real parts of the corresponding elements in tensor.