Feeds
提问
replacing values in a vector with new value?
Basically, I have a large vector and want to add 180 to all the negative values and subtract 180 to all positive values in the v...
9 years 前 | 2 个回答 | 0
2
个回答提问
i want add a value to every element that is less than zero in my vector.
i.e. i have a vector to which want to add 180 to all negative values. any help ??
9 years 前 | 1 个回答 | 0
