共用方式為


Vector256<T>.Subtraction(Vector256<T>, Vector256<T>) 運算子

定義

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

public:
 static System::Runtime::Intrinsics::Vector256<T> operator -(System::Runtime::Intrinsics::Vector256<T> left, System::Runtime::Intrinsics::Vector256<T> right);
public static System.Runtime.Intrinsics.Vector256<T> operator - (System.Runtime.Intrinsics.Vector256<T> left, System.Runtime.Intrinsics.Vector256<T> right);
static member ( - ) : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)>
static member ( - ) : System.Runtime.Intrinsics.Vector256<'T> * System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector256<'T>
Public Shared Operator - (left As Vector256(Of T), right As Vector256(Of T)) As Vector256(Of T)

參數

left
Vector256<T>

要從中減去的 right 向量。

right
Vector256<T>

要從 left 減去的向量。

傳回

right的差異left

例外狀況

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

適用於