FDO API Reference Feature Data Objects

FDO_API_COMMON FdoVectorP FdoVectorP::operator+= const FdoVectorP  vec2  ) 
 

Adds a vector, to this vector, 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

Comments or suggestions? Send us feedback.