Tensor.ILogB 方法

定义

重载

ILogB<T>(ReadOnlyTensorSpan<T>)

计算指定张量中数字的元素整数对数。

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

计算指定张量中数字的元素整数对数。

ILogB<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

计算指定张量中数字的元素整数对数。

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)

类型参数

T

参数

返回

适用于

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

Source:
TensorExtensions.cs

计算指定张量中数字的元素整数对数。

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)

类型参数

T

参数

destination
TensorSpan<Int32>

返回

适用于