Edit

Share via


Tensor.Log2 Method

Definition

Overloads

Log2<T>(Tensor<T>)
Log2<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)

Log2<T>(Tensor<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::ILogarithmicFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ Log2(System::Numerics::Tensors::Tensor<T> ^ input);
public static System.Numerics.Tensors.Tensor<T> Log2<T> (System.Numerics.Tensors.Tensor<T> input) where T : System.Numerics.ILogarithmicFunctions<T>;
static member Log2 : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.ILogarithmicFunctions<'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.ILogarithmicFunctions<'T>)> (requires 'T :> System.Numerics.ILogarithmicFunctions<'T>)
Public Function Log2(Of T As ILogarithmicFunctions(Of T)) (input As Tensor(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

input
Tensor<T>

Returns

Applies to

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

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

Type Parameters

T

Parameters

destination
TensorSpan<T>

Returns

Applies to