Edit

Share via


Vector.ShiftRightArithmetic Method

Definition

Overloads

ShiftRightArithmetic(Vector<Int16>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector<Int32>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector<Int64>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector<IntPtr>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector<SByte>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector<Int16>, Int32)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Shifts (signed) each element of a vector right by the specified amount.

public:
 static System::Numerics::Vector<short> ShiftRightArithmetic(System::Numerics::Vector<short> value, int shiftCount);
public static System.Numerics.Vector<short> ShiftRightArithmetic (System.Numerics.Vector<short> value, int shiftCount);
static member ShiftRightArithmetic : System.Numerics.Vector<int16> * int -> System.Numerics.Vector<int16>
Public Function ShiftRightArithmetic (value As Vector(Of Short), shiftCount As Integer) As Vector(Of Short)

Parameters

value
Vector<Int16>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

ShiftRightArithmetic(Vector<Int32>, Int32)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Shifts (signed) each element of a vector right by the specified amount.

public:
 static System::Numerics::Vector<int> ShiftRightArithmetic(System::Numerics::Vector<int> value, int shiftCount);
public static System.Numerics.Vector<int> ShiftRightArithmetic (System.Numerics.Vector<int> value, int shiftCount);
static member ShiftRightArithmetic : System.Numerics.Vector<int> * int -> System.Numerics.Vector<int>
Public Function ShiftRightArithmetic (value As Vector(Of Integer), shiftCount As Integer) As Vector(Of Integer)

Parameters

value
Vector<Int32>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

ShiftRightArithmetic(Vector<Int64>, Int32)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Shifts (signed) each element of a vector right by the specified amount.

public:
 static System::Numerics::Vector<long> ShiftRightArithmetic(System::Numerics::Vector<long> value, int shiftCount);
public static System.Numerics.Vector<long> ShiftRightArithmetic (System.Numerics.Vector<long> value, int shiftCount);
static member ShiftRightArithmetic : System.Numerics.Vector<int64> * int -> System.Numerics.Vector<int64>
Public Function ShiftRightArithmetic (value As Vector(Of Long), shiftCount As Integer) As Vector(Of Long)

Parameters

value
Vector<Int64>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

ShiftRightArithmetic(Vector<IntPtr>, Int32)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Shifts (signed) each element of a vector right by the specified amount.

public:
 static System::Numerics::Vector<IntPtr> ShiftRightArithmetic(System::Numerics::Vector<IntPtr> value, int shiftCount);
public static System.Numerics.Vector<IntPtr> ShiftRightArithmetic (System.Numerics.Vector<IntPtr> value, int shiftCount);
static member ShiftRightArithmetic : System.Numerics.Vector<nativeint> * int -> System.Numerics.Vector<nativeint>
Public Function ShiftRightArithmetic (value As Vector(Of IntPtr), shiftCount As Integer) As Vector(Of IntPtr)

Parameters

value

Vector<IntPtr>

Vector<nativeint>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

Vector<IntPtr>

Vector<nativeint>

A vector whose elements where shifted right by shiftCount.

Applies to

ShiftRightArithmetic(Vector<SByte>, Int32)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Shifts (signed) each element of a vector right by the specified amount.

public:
 static System::Numerics::Vector<System::SByte> ShiftRightArithmetic(System::Numerics::Vector<System::SByte> value, int shiftCount);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<sbyte> ShiftRightArithmetic (System.Numerics.Vector<sbyte> value, int shiftCount);
[<System.CLSCompliant(false)>]
static member ShiftRightArithmetic : System.Numerics.Vector<sbyte> * int -> System.Numerics.Vector<sbyte>
Public Function ShiftRightArithmetic (value As Vector(Of SByte), shiftCount As Integer) As Vector(Of SByte)

Parameters

value
Vector<SByte>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Attributes

Applies to