共用方式為


Vector128<T>.UnaryNegation(Vector128<T>) 運算子

定義

計算向量的一元負數。

public:
 static System::Runtime::Intrinsics::Vector128<T> operator -(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> operator - (System.Runtime.Intrinsics.Vector128<T> vector);
static member ( ~- ) : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)>
static member ( ~- ) : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Shared Operator - (vector As Vector128(Of T)) As Vector128(Of T)

參數

vector
Vector128<T>

要變換正負號的向量。

傳回

向量,其專案是 中 vector對應元素的一元負數。

例外狀況

不支援向量 (T) 的類型。

適用於