Share via


Tensor.TanPi Method

Definition

Overloads

TanPi<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

TanPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

TanPi<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

public:
generic <typename T>
 where T : System::Numerics::ITrigonometricFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ TanPi(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static System.Numerics.Tensors.Tensor<T> TanPi<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.ITrigonometricFunctions<T>;
static member TanPi : ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)> (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)
Public Function TanPi(Of T As ITrigonometricFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The ReadOnlyTensorSpan<T> to take the sin of.

Returns

Applies to

TanPi<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Source:
TensorExtensions.cs

Computes the element-wise tangent of the value in the specified tensor that has been multiplied by Pi.

public:
generic <typename T>
 where T : System::Numerics::ITrigonometricFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ TanPi(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> TanPi<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.ITrigonometricFunctions<T>;
static member TanPi : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)
Public Function TanPi(Of T As ITrigonometricFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The ReadOnlyTensorSpan<T> to take the sin of.

destination
TensorSpan<T>

Returns

Applies to