Vector<T>.Subtraction(Vector<T>, Vector<T>) Оператор

Определение

Вычитает второй вектор из первого.

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)

Параметры

left
Vector<T>

Первый вектор.

right
Vector<T>

Второй вектор.

Возвращаемое значение

Вектор, полученный в результате вычитания right из left.

Исключения

.NET 5 и более поздних версий: тип T не поддерживается.

Комментарии

Метод Subtraction определяет операцию вычитания для Vector<T> объектов .

Применяется к