Share via


Tensor.UnsignedRightShift Operator

Definition

Overloads

Name Description
UnsignedRightShift<TScalar>(TensorSpan<TScalar>, Int32)

Performs an element-wise left shift on a tensor.

UnsignedRightShift<TScalar>(Tensor<TScalar>, Int32)

Performs an element-wise left shift on a tensor.

UnsignedRightShift<TScalar>(ReadOnlyTensorSpan<TScalar>, Int32)

Performs an element-wise logical right shift on a tensor.

UnsignedRightShift<TScalar>(TensorSpan<TScalar>, Int32)

Source:
Tensor.op_UnsignedRightShift.cs

Performs an element-wise left shift on a tensor.

public:
generic <typename TScalar>
 where TScalar : System::Numerics::IShiftOperators<TScalar, int, TScalar> static System::Numerics::Tensors::Tensor<TScalar> ^ op_UnsignedRightShift(System::Numerics::Tensors::TensorSpan<TScalar> % tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> op_UnsignedRightShift<TScalar>(in System.Numerics.Tensors.TensorSpan<TScalar> tensor, int shiftAmount) where TScalar : System.Numerics.IShiftOperators<TScalar,int,TScalar>;
static member op_UnsignedRightShift : TensorSpan * int -> System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)
Public op_UnsignedRightShift(Of TScalar As IShiftOperators(Of TScalar, Integer, TScalar)) (ByRef tensor As TensorSpan(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)

Type Parameters

TScalar

The type of the elements in the tensor.

Parameters

tensor
TensorSpan<TScalar>

The tensor to left shift.

shiftAmount
Int32

The amount to shift each element in tensor.

Returns

Tensor<TScalar>

A new tensor containing the result of tensor << shiftAmount.

Applies to

UnsignedRightShift<TScalar>(Tensor<TScalar>, Int32)

Source:
Tensor.op_UnsignedRightShift.cs

Performs an element-wise left shift on a tensor.

public:
generic <typename TScalar>
 where TScalar : System::Numerics::IShiftOperators<TScalar, int, TScalar> static System::Numerics::Tensors::Tensor<TScalar> ^ op_UnsignedRightShift(System::Numerics::Tensors::Tensor<TScalar> ^ tensor, int shiftAmount);
public static System.Numerics.Tensors.Tensor<TScalar> op_UnsignedRightShift<TScalar>(System.Numerics.Tensors.Tensor<TScalar> tensor, int shiftAmount) where TScalar : System.Numerics.IShiftOperators<TScalar,int,TScalar>;
static member op_UnsignedRightShift : System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> * int -> System.Numerics.Tensors.Tensor<'Scalar (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)> (requires 'Scalar :> System.Numerics.IShiftOperators<'Scalar, int, 'Scalar>)
Public op_UnsignedRightShift(Of TScalar As IShiftOperators(Of TScalar, Integer, TScalar)) (tensor As Tensor(Of TScalar), shiftAmount As Integer) As Tensor(Of TScalar)

Type Parameters

TScalar

The type of the elements in the tensor.

Parameters

tensor
Tensor<TScalar>

The tensor to left shift.

shiftAmount
Int32

The amount to shift each element in tensor.

Returns

Tensor<TScalar>

A new tensor containing the result of tensor << shiftAmount.

Applies to

UnsignedRightShift<TScalar>(ReadOnlyTensorSpan<TScalar>, Int32)

Source:
Tensor.op_UnsignedRightShift.cs

Performs an element-wise logical right shift on a tensor.

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

Type Parameters

TScalar

The type of the elements in the tensor.

Parameters

tensor
ReadOnlyTensorSpan<TScalar>

The tensor to logical right shift.

shiftAmount
Int32

The amount to shift each element in tensor.

Returns

Tensor<TScalar>

A new tensor containing the result of tensor >>> shiftAmount.

Applies to