Tensor.ShiftRightArithmetic メソッド

定義

オーバーロード

名前 説明
ShiftRightArithmetic<T>(ReadOnlyTensorSpan<T>, Int32)

テンソルに対して要素ごとの算術右シフトを実行します。

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

テンソルに対して要素ごとの算術右シフトを実行します。

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

ソース:
Tensor.op_RightShift.cs
ソース:
Tensor.op_RightShift.cs

テンソルに対して要素ごとの算術右シフトを実行します。

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)

型パラメーター

T

テンソル内の要素の型。

パラメーター

x
ReadOnlyTensorSpan<T>

算術右シフトへのテンソル。

shiftAmount
Int32

x内の各要素をシフトする量。

返品

x >> shiftAmountの結果を含む新しいテンソル。

適用対象

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

ソース:
Tensor.op_RightShift.cs
ソース:
Tensor.op_RightShift.cs

テンソルに対して要素ごとの算術右シフトを実行します。

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)

型パラメーター

T

テンソル内の要素の型。

パラメーター

x
ReadOnlyTensorSpan<T>

算術右シフトへのテンソル。

shiftAmount
Int32

x内の各要素をシフトする量。

destination
TensorSpan<T>

x >> shiftAmountの結果が書き込まれる宛先。

返品

destination への参照です。

例外

xdestinationの図形は互換性がありません。

適用対象