Windows apps
Collapse the table of content
Expand the table of content

Vector<T>::Addition Operator

Adds two vectors together.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector<T> operator +(
	Vector<T> left, 
	Vector<T> right
)

Parameters

left
Type: System.Numerics::Vector<T>

The first vector to add.

right
Type: System.Numerics::Vector<T>

The second vector to add.

Return Value

Type: System.Numerics::Vector<T>
The summed vector.

The Addition method defines the addition operation for Vector<T> objects.

Show:
© 2017 Microsoft