Vector512<T> 結構

定義

表示指定數數值型別的 512 位向量,適用于平行演算法的低階優化。

generic <typename T>
public value class Vector512 : IEquatable<System::Runtime::Intrinsics::Vector512<T>>
public readonly struct Vector512<T> : IEquatable<System.Runtime.Intrinsics.Vector512<T>>
type Vector512<'T> = struct
Public Structure Vector512(Of T)
Implements IEquatable(Of Vector512(Of T))

類型參數

T

向量中專案的型別。

繼承
Vector512<T>
實作

屬性

AllBitsSet

取得新的 Vector512<T>,並將所有位元設定為 1。

Count

取得位在 Vector512<T> 中的 T 數目。

Indices

表示指定數數值型別的 512 位向量,適用于平行演算法的低階優化。

IsSupported

如果 T 支援 ,則取得 truefalse 否則為 。

Item[Int32]

取得位在指定索引處的元素。

One

取得新的 Vector512<T> ,其中所有專案都會初始化為一個專案。

Zero

取得所有項目皆初始化為零的新 Vector512<T>

方法

Equals(Object)

判斷指定的物件是否和目前的執行個體相等。

Equals(Vector512<T>)

判斷指定的 Vector512<T> 和目前的執行個體是否相等。

GetHashCode()

取得執行個體的雜湊碼。

ToString()

將目前的執行個體轉換為對等字串表示。

運算子

Addition(Vector512<T>, Vector512<T>)

加入兩個向量來計算其總和。

BitwiseAnd(Vector512<T>, Vector512<T>)

計算兩個向量的位和 。

BitwiseOr(Vector512<T>, Vector512<T>)

計算兩個向量的位或 。

Division(Vector512<T>, T)

將向量除以純量來計算每個元素商數。

Division(Vector512<T>, Vector512<T>)

將兩個向量除以計算其商數。

Equality(Vector512<T>, Vector512<T>)

比較兩個向量,以判斷所有元素是否相等。

ExclusiveOr(Vector512<T>, Vector512<T>)

計算兩個向量的獨佔或兩個向量。

Inequality(Vector512<T>, Vector512<T>)

比較兩個向量,以判斷是否有任何元素不相等。

LeftShift(Vector512<T>, Int32)

將向量的每個元素左移指定的數量。

Multiply(T, Vector512<T>)

將向量乘以純量來計算其乘積。

Multiply(Vector512<T>, T)

將向量乘以純量來計算其乘積。

Multiply(Vector512<T>, Vector512<T>)

將兩個向量相乘以計算其元素乘積。

OnesComplement(Vector512<T>)

計算向量的單一補數。

RightShift(Vector512<T>, Int32)

依指定的數量,將向量右方的每個元素) (帶正負號的移位。

Subtraction(Vector512<T>, Vector512<T>)

減去兩個向量來計算其差異。

UnaryNegation(Vector512<T>)

計算向量的一元負數。

UnaryPlus(Vector512<T>)

傳回指定的向量未變更。

UnsignedRightShift(Vector512<T>, Int32)

(不帶正負號) 指定數量向量的每個元素移位。

擴充方法

As<TFrom,TTo>(Vector512<TFrom>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsByte<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsDouble<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsInt16<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsInt32<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsInt64<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsNInt<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsNUInt<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsSByte<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsSingle<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsUInt16<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsUInt32<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsUInt64<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector512<T>

AsVector<T>(Vector512<T>)

Vector512<T> 重新解譯為新的 Vector<T>

CopyTo<T>(Vector512<T>, T[])

Vector512<T> 複製到指定的陣列。

CopyTo<T>(Vector512<T>, T[], Int32)

Vector512<T> 指定的索引處開始,將 複製到指定的陣列。

CopyTo<T>(Vector512<T>, Span<T>)

Vector512<T> 複製到指定的範圍。

ExtractMostSignificantBits<T>(Vector512<T>)

從向量中的每個元素擷取最重要的位。

GetElement<T>(Vector512<T>, Int32)

取得位在指定索引處的元素。

GetLower<T>(Vector512<T>)

取得下層 256 位的值做為新的 Vector256<T>

GetUpper<T>(Vector512<T>)

取得上層 256 位的值做為新的 Vector256<T>

Store<T>(Vector512<T>, T*)

將向量儲存在指定的目的地。

StoreAligned<T>(Vector512<T>, T*)

將向量儲存在指定的對齊目的地。

StoreAlignedNonTemporal<T>(Vector512<T>, T*)

將向量儲存在指定的對齊目的地。

StoreUnsafe<T>(Vector512<T>, T)

將向量儲存在指定的目的地。

StoreUnsafe<T>(Vector512<T>, T, UIntPtr)

將向量儲存在指定的目的地。

ToScalar<T>(Vector512<T>)

將指定向量轉換成包含第一個項目值的純量。

TryCopyTo<T>(Vector512<T>, Span<T>)

嘗試將 複製到 Vector<T> 指定的範圍。

WithElement<T>(Vector512<T>, Int32, T)

建立新的 Vector512<T>,其中指定索引處的項目設為指定值,且其餘項目設定為與指定向量中值的相同值。

WithLower<T>(Vector512<T>, Vector256<T>)

建立新的 Vector512<T> ,其下層 256 位設定為指定的值,並將上層 256 位設定為與指定向量中的值相同。

WithUpper<T>(Vector512<T>, Vector256<T>)

建立新的 Vector512<T> ,其上層 256 位設定為指定的值,並將下層 256 位設定為與指定向量中的值相同。

適用於