Sdílet prostřednictvím


Tensor.RotateRight Metoda

Definice

Přetížení

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

Vypočítá pravé otočení prvků čísla v zadaném tensoru podle zadaného množství otočení.

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

Vypočítá pravé otočení prvků čísla v zadaném tensoru podle zadaného množství otočení.

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

Zdroj:
TensorExtensions.cs
Zdroj:
TensorExtensions.cs

Vypočítá pravé otočení prvků čísla 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> ^ RotateRight(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int rotateAmount, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> RotateRight<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 RotateRight : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function RotateRight(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

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ý.

Platí pro

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

Zdroj:
TensorExtensions.cs
Zdroj:
TensorExtensions.cs

Vypočítá pravé otočení prvků čísla 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> ^ RotateRight(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int rotateAmount);
public static System.Numerics.Tensors.Tensor<T> RotateRight<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int rotateAmount) where T : System.Numerics.IBinaryInteger<T>;
static member RotateRight : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function RotateRight(Of T As IBinaryInteger(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), rotateAmount As Integer) As Tensor(Of T)

Parametry typu

T

Parametry

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