Tensor.ILogB Method

Definition

Overloads

ILogB<T>(ReadOnlyTensorSpan<T>)

Computes the element-wise integer logarithm of numbers in the specified tensor.

ILogB<T>(ReadOnlyTensorSpan<T>, TensorSpan<Int32>)

Computes the element-wise integer logarithm of numbers in the specified tensor.

ILogB<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Computes the element-wise integer logarithm of numbers in the specified tensor.

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

Type Parameters

T

Parameters

Returns

Applies to

ILogB<T>(ReadOnlyTensorSpan<T>, TensorSpan<Int32>)

Source:
TensorExtensions.cs

Computes the element-wise integer logarithm of numbers in the specified tensor.

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

Type Parameters

T

Parameters

destination
TensorSpan<Int32>

Returns

Applies to