Tensor.RotateLeft Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32) |
Vypočítá rotaci prvků nalevo od čísel v zadaném tensoru podle zadaného množství otočení. |
| RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>) |
Vypočítá rotaci prvků nalevo od čísel v zadaném tensoru podle zadaného množství otočení. |
RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32)
- Zdroj:
- TensorExtensions.cs
- Zdroj:
- TensorExtensions.cs
Vypočítá rotaci prvků nalevo od čísel v zadaném tensoru podle zadaného množství otočení.
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)
Parametry typu
- T
Parametry
Tenzor
- rotateAmount
- Int32
Počet bitů, které se mají otočit, reprezentovaný jako skalární.
Návraty
Výjimky
Cíl je příliš krátký.
Platí pro
RotateLeft<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
- Zdroj:
- TensorExtensions.cs
- Zdroj:
- TensorExtensions.cs
Vypočítá rotaci prvků nalevo od čísel v zadaném tensoru podle zadaného množství otočení.
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)
Parametry typu
- T
Parametry
Tenzor
- rotateAmount
- Int32
Počet bitů, které se mají otočit, reprezentovaný jako skalární.
- destination
- TensorSpan<T>
Návraty
Výjimky
Cíl je příliš krátký.