Język

Tensor.ShiftRightArithmetic Metoda

Definicja

Przeciążenia

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

Wykonuje arytmetyczną arytmetyczną zmianę arytmetyczną na tensor.

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

Wykonuje arytmetyczną arytmetyczną zmianę arytmetyczną na tensor.

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

Źródło:
Tensor.op_RightShift.cs
Źródło:
Tensor.op_RightShift.cs

Wykonuje arytmetyczną arytmetyczną zmianę arytmetyczną na tensor.

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)

Parametry typu

T

Typ elementów w tensor.

Parametry

x
ReadOnlyTensorSpan<T>

Tensor do arytmetycznego przesunięcia w prawo.

shiftAmount
Int32

Kwota przesunięcia każdego elementu w elemecie x.

Zwraca

Nowy tensor zawierający wynik .x>>shiftAmount

Dotyczy

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

Źródło:
Tensor.op_RightShift.cs
Źródło:
Tensor.op_RightShift.cs

Wykonuje arytmetyczną arytmetyczną zmianę arytmetyczną na tensor.

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)

Parametry typu

T

Typ elementów w tensor.

Parametry

x
ReadOnlyTensorSpan<T>

Tensor do arytmetycznego przesunięcia w prawo.

shiftAmount
Int32

Kwota przesunięcia każdego elementu w elemecie x.

destination
TensorSpan<T>

Miejsce docelowe, w którym jest zapisywany x>>shiftAmount wynik.

Zwraca

Odwołanie do destination.

Wyjątki

Kształty elementów x i destination nie są zgodne.

Dotyczy