Aloha-
Is there an algorithm/function in the STL that will allow elementwise addition of two vectors/deques/etc.? In other words, given two vectors x and y, is there an operator that will return z such that
z.at( i ) == x.at( i ) + y.at( i ) ?
I have computed results using for loops and iterators, but am curious if there is functionality already built into the STL to do this (presumably) basic function.
Many thanks
Claus Hetzer



LinkBack URL
About LinkBacks


