Tensor.ShiftRightArithmetic Metodo

Definizione

Overload

Nome Descrizione
ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32)

Esegue uno spostamento aritmetico aritmetico per elemento su un tensore.

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

Esegue uno spostamento aritmetico aritmetico per elemento su un tensore.

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

Origine:
Tensor.op_RightShift.cs
Origine:
Tensor.op_RightShift.cs

Esegue uno spostamento aritmetico aritmetico per elemento su un tensore.

public:
generic <typename T>
 where T : System::Numerics::IShiftOperators<T, int, T> static System::Numerics::Tensors::Tensor<T> ^ ShiftRightArithmetic(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int shiftAmount);
public static System.Numerics.Tensors.Tensor<T> ShiftRightArithmetic<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int shiftAmount) where T : System.Numerics.IShiftOperators<T,int,T>;
static member ShiftRightArithmetic : 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 ShiftRightArithmetic(Of T As IShiftOperators(Of T, Integer, T)) (ByRef x As ReadOnlyTensorSpan(Of T), shiftAmount As Integer) As Tensor(Of T)

Parametri di tipo

T

Tipo degli elementi nel tensore.

Parametri

x
ReadOnlyTensorSpan<T>

Tensore dello spostamento a destra aritmetico.

shiftAmount
Int32

Quantità di spostamento di ogni elemento in x.

Valori restituiti

Nuovo tensore contenente il risultato di x>>shiftAmount.

Si applica a

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

Origine:
Tensor.op_RightShift.cs
Origine:
Tensor.op_RightShift.cs

Esegue uno spostamento aritmetico aritmetico per elemento su un tensore.

public:
generic <typename T>
 where T : System::Numerics::IShiftOperators<T, int, T> static System::Numerics::Tensors::TensorSpan<T> ^ ShiftRightArithmetic(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int shiftAmount, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> ShiftRightArithmetic<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 ShiftRightArithmetic : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IShiftOperators<'T, int, 'T>)
Public Function ShiftRightArithmetic(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)

Parametri di tipo

T

Tipo degli elementi nel tensore.

Parametri

x
ReadOnlyTensorSpan<T>

Tensore dello spostamento a destra aritmetico.

shiftAmount
Int32

Quantità di spostamento di ogni elemento in x.

destination
TensorSpan<T>

Destinazione in cui viene scritto il risultato di x>>shiftAmount .

Valori restituiti

Riferimento a destination.

Eccezioni

Le forme di x e destination non sono compatibili.

Si applica a