Vector<T>.Subtraction(Vector<T>, Vector<T>) Operator

Definicja

Odejmuje drugi wektor od pierwszego.

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

Parametry

left
Vector<T>

Pierwszy wektor.

right
Vector<T>

Drugi wektor.

Zwraca

Wektor, który wynika z odejmowania right z leftelementu .

Wyjątki

.NET 5 i nowsze: typ T nie jest obsługiwany.

Uwagi

Metoda Subtraction definiuje operację odejmowania dla Vector<T> obiektów.

Dotyczy