Tensor.Exp2M1 Method

Definition

Overloads

Exp2M1<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

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

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

Exp2M1<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

public static System.Numerics.Tensors.Tensor<T> Exp2M1<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.IExponentialFunctions<T>;

Type Parameters

T

Parameters

Returns

Applies to

.NET 9 (package-provided) and .NET 8 (package-provided)
Product Versions
.NET 8 (package-provided), 9 (package-provided)

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise result of raising 2 to the number powers in the specified tensor, minus one.

public static ref readonly System.Numerics.Tensors.TensorSpan<T> Exp2M1<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IExponentialFunctions<T>;

Type Parameters

T

Parameters

destination
TensorSpan<T>

Returns

Applies to

.NET 9 (package-provided) and .NET 8 (package-provided)
Product Versions
.NET 8 (package-provided), 9 (package-provided)