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

Definicja

Dodaje dwa wektory razem.

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 do dodania.

right
Vector<T>

Drugi wektor do dodania.

Zwraca

Wektor sumowany.

Wyjątki

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

Uwagi

Metoda Addition definiuje operację dodawania dla Vector<T> obiektów.

Dotyczy