[]
Defines the + operator for vector.
public static Vector<T> operator +(Vector<T> left, Vector<T> right)
Type | Name | Description |
---|---|---|
Vector<T> | left | A Vector indicates the left operand. |
Vector<T> | right | A Vector indicates the right operand. |
Type | Description |
---|---|
Vector<T> | A Vector that is the add result of the left and right operands. |
(n1, n2, n3) + (m1, m2, m3) = (n1 + m1, n2 + m2, n3 + m3)