Compartilhar via


Tensor.RotateLeft Método

Definição

Sobrecargas

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

Calcula a rotação do elemento à esquerda dos números no tensor especificado pela quantidade de rotação especificada.

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

Calcula a rotação do elemento à esquerda dos números no tensor especificado pela quantidade de rotação especificada.

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

Origem:
TensorExtensions.cs

Calcula a rotação do elemento à esquerda dos números no tensor especificado pela quantidade de rotação especificada.

public:
generic <typename T>
 where T : System::Numerics::IBinaryInteger<T> static System::Numerics::Tensors::Tensor<T> ^ RotateLeft(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int rotateAmount);
public static System.Numerics.Tensors.Tensor<T> RotateLeft<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int rotateAmount) where T : System.Numerics.IBinaryInteger<T>;
static member RotateLeft : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function RotateLeft(Of T As IBinaryInteger(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), rotateAmount As Integer) As Tensor(Of T)

Parâmetros de tipo

T

Parâmetros

rotateAmount
Int32

O número de bits a serem girados, representado como escalar.

Retornos

Exceções

O destino é muito curto.

Aplica-se a

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

Origem:
TensorExtensions.cs

Calcula a rotação do elemento à esquerda dos números no tensor especificado pela quantidade de rotação especificada.

public:
generic <typename T>
 where T : System::Numerics::IBinaryInteger<T> static System::Numerics::Tensors::TensorSpan<T> ^ RotateLeft(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int rotateAmount, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> RotateLeft<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int rotateAmount, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IBinaryInteger<T>;
static member RotateLeft : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function RotateLeft(Of T As IBinaryInteger(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), rotateAmount As Integer, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Parâmetros de tipo

T

Parâmetros

rotateAmount
Int32

O número de bits a serem girados, representado como escalar.

destination
TensorSpan<T>

Retornos

Exceções

O destino é muito curto.

Aplica-se a