Tensor.ShiftRightLogical Método

Definição

Sobrecargas

Nome Description
ShiftRightLogical<T>(ReadOnlyTensorSpan<T>, Int32)

Executa uma mudança lógica de elemento à direita em um tensor.

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

Executa uma mudança lógica de elemento à direita em um tensor.

ShiftRightLogical<T>(ReadOnlyTensorSpan<T>, Int32)

Origem:
Tensor.op_UnsignedRightShift.cs
Origem:
Tensor.op_UnsignedRightShift.cs

Executa uma mudança lógica de elemento à direita em um tensor.

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

Parâmetros de tipo

T

O tipo dos elementos no tensor.

Parâmetros

x
ReadOnlyTensorSpan<T>

O tensor para o deslocamento lógico para a direita.

shiftAmount
Int32

O valor a ser deslocado para cada elemento em x.

Retornos

Um novo tensor que contém o resultado de x>>>shiftAmount.

Aplica-se a

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

Origem:
Tensor.op_UnsignedRightShift.cs
Origem:
Tensor.op_UnsignedRightShift.cs

Executa uma mudança lógica de elemento à direita em um tensor.

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

Parâmetros de tipo

T

O tipo dos elementos no tensor.

Parâmetros

x
ReadOnlyTensorSpan<T>

O tensor para o deslocamento lógico para a direita.

shiftAmount
Int32

O valor a ser deslocado para cada elemento em x.

destination
TensorSpan<T>

O destino do x>>>shiftAmount qual o resultado é gravado.

Retornos

Uma referência a destination.

Exceções

As formas de x e destination não são compatíveis.

Aplica-se a