Tensor.RotateLeft Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32) |
Calcula a rotação elemento a 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 elemento a elemento à esquerda dos números no tensor especificado pela quantidade de rotação especificada. |
RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32)
- Origem:
- Tensor.cs
- Origem:
- TensorExtensions.cs
- Origem:
- Tensor.cs
Calcula a rotação elemento a 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 Genérico
- T
Parâmetros
O tensor
- rotateAmount
- Int32
O número de bits a rodar, representado como um escalar.
Devoluções
Exceções
O destino é demasiado curto.
Aplica-se a
RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
- Origem:
- Tensor.cs
- Origem:
- TensorExtensions.cs
- Origem:
- Tensor.cs
Calcula a rotação elemento a 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 Genérico
- T
Parâmetros
O tensor
- rotateAmount
- Int32
O número de bits a rodar, representado como um escalar.
- destination
- TensorSpan<T>
Devoluções
Exceções
O destino é demasiado curto.