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

Definición

Resta el segundo vector del primero.

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)

Parámetros

left
Vector<T>

Primer vector.

right
Vector<T>

Segundo vector.

Devoluciones

Vector resultante de restar right de left.

Excepciones

.NET 5 y versiones posteriores: no se admite el tipo T .

Comentarios

El Subtraction método define la operación de resta para Vector<T> los objetos .

Se aplica a