Tensor.LeftShiftAssignment Operator

Definitie

Overloads

Name Description
LeftShiftAssignment<TScalar>(Tensor<TScalar>, Int32)

Voert in-place element-wijze linker shift op een tensor uit.

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

Voert in-place element-wijze linker shift op een tensor uit.

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

Bron:
Tensor.op_LeftShift.cs
Bron:
Tensor.op_LeftShift.cs

Voert in-place element-wijze linker shift op een tensor uit.

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

Type parameters

TScalar

Het type elementen in de tensor.

Parameters

tensor
Tensor<TScalar>

De tensor om aan te werken.

shiftAmount
Int32

Het bedrag om elk element in de tensor te verschuiven.

Van toepassing op

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

Bron:
Tensor.op_LeftShift.cs
Bron:
Tensor.op_LeftShift.cs

Voert in-place element-wijze linker shift op een tensor uit.

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

Type parameters

TScalar

Het type elementen in de tensor.

Parameters

tensor
TensorSpan<TScalar>

De tensor om aan te werken.

shiftAmount
Int32

Het bedrag om elk element in de tensor te verschuiven.

Van toepassing op