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

Definition

Subtraherar den andra vektorn från den första.

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)>
Public Shared Operator - (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

Parametrar

left
Vector<T>

Den första vektorn.

right
Vector<T>

Den andra vektorn.

Returer

Den vektor som resulterar i att subtrahera right från left.

Undantag

.NET 5 och senare: Skriv T stöds inte.

Kommentarer

Metoden Subtraction definierar subtraktionsåtgärden för Vector<T> objekt.

Gäller för