Vector<T>.UnaryNegation(Vector<T>) Operator

定義

指定されたベクターを否定します。

public:
 static System::Numerics::Vector<T> operator -(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> operator -(System.Numerics.Vector<T> value);
static member ( ~- ) : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( ~- ) : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator - (value As Vector(Of T)) As Vector(Of T)

パラメーター

value
Vector<T>

否定するベクター。

返品

否定されたベクトル。

例外

.NET 5 以降: 型 T はサポートされていません。

注釈

UnaryNegation メソッドは、Vector<T> オブジェクトの単項否定演算を定義します。

適用対象