Vector<T>.UnaryNegation(Vector<T>) 演算子

定義

指定したベクトルを符号反転します。

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> 定義します。

適用対象