Szerkesztés

Megosztás a következőn keresztül:


Avx2.Average Method

Definition

Overloads

Average(Vector256<Byte>, Vector256<Byte>)

__m256i _mm256_avg_epu8 (__m256i a, __m256i b)

VPAVGB ymm, ymm, ymm/m256

Average(Vector256<UInt16>, Vector256<UInt16>)

__m256i _mm256_avg_epu16 (__m256i a, __m256i b)

VPAVGW ymm, ymm, ymm/m256

Average(Vector256<Byte>, Vector256<Byte>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_avg_epu8 (__m256i a, __m256i b)

VPAVGB ymm, ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> Average(System::Runtime::Intrinsics::Vector256<System::Byte> left, System::Runtime::Intrinsics::Vector256<System::Byte> right);
public static System.Runtime.Intrinsics.Vector256<byte> Average (System.Runtime.Intrinsics.Vector256<byte> left, System.Runtime.Intrinsics.Vector256<byte> right);
static member Average : System.Runtime.Intrinsics.Vector256<byte> * System.Runtime.Intrinsics.Vector256<byte> -> System.Runtime.Intrinsics.Vector256<byte>
Public Shared Function Average (left As Vector256(Of Byte), right As Vector256(Of Byte)) As Vector256(Of Byte)

Parameters

left
Vector256<Byte>
right
Vector256<Byte>

Returns

Applies to

Average(Vector256<UInt16>, Vector256<UInt16>)

Source:
Avx2.cs
Source:
Avx2.cs
Source:
Avx2.cs

__m256i _mm256_avg_epu16 (__m256i a, __m256i b)

VPAVGW ymm, ymm, ymm/m256

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> Average(System::Runtime::Intrinsics::Vector256<System::UInt16> left, System::Runtime::Intrinsics::Vector256<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector256<ushort> Average (System.Runtime.Intrinsics.Vector256<ushort> left, System.Runtime.Intrinsics.Vector256<ushort> right);
static member Average : System.Runtime.Intrinsics.Vector256<uint16> * System.Runtime.Intrinsics.Vector256<uint16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Shared Function Average (left As Vector256(Of UShort), right As Vector256(Of UShort)) As Vector256(Of UShort)

Parameters

right
Vector256<UInt16>

Returns

Applies to