C
Chris Forone
hello group,
is there a "more elegant" method to initialize vectors/valarrays?
std::valarray<float> temp(1.f / 8, 8 + 1);
temp[0] = 0, std:artial_sum(&temp[0], &temp[temp.size()], &temp[0]);
nedded: start value, increment value
the one with std::generate i had already...
thanx a lot & hand, chris
is there a "more elegant" method to initialize vectors/valarrays?
std::valarray<float> temp(1.f / 8, 8 + 1);
temp[0] = 0, std:artial_sum(&temp[0], &temp[temp.size()], &temp[0]);
nedded: start value, increment value
the one with std::generate i had already...
thanx a lot & hand, chris