|
Adds two vectors, by adding each individual element. The output vector has the same length as the longer of the input vectors. If one input vector is shorter than the other, it is treated as if it is padded with zeros.
- Parameters:
-
| vec2 | Input vector to add to this vector |
- Returns:
- Returns the sum of the two input vectors
|