Avx2.Average Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.