Vector<T>.Subtraction(Vector<T>, Vector<T>) Operátor
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Odečte druhý vektor od prvního.
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>
První vektor.
- right
- Vector<T>
Druhý vektor.
Návraty
Vektor, který je výsledkem odečtení right od hodnoty left.
Výjimky
.NET 5 a novější: Typ T se nepodporuje.
Poznámky
Metoda Subtraction definuje operaci odčítání pro Vector<T> objekty.