For example, I have the declaration of the following vector:
float vet[3] = {1, 1, 1};
I would like to change all values of the same one at a time, without having to change one by one element or create a new vector and assign to it:
vet[0] = -1;
vet[1] = 0;
vet[2] = 1;
Something like this:
vet = {-1, 0, 1};