0

```
// How can I rewrite this loop to C++ from C
// I dont know how to define vectors x, z, and v!
// x, z, and v are vectors, and N is the number of vectors x and z (N=2).
c:= 10;
N:= 2;
p:= 3;
b:=5;
for r:= 1 to p do {
sum(i:= 1 to N, v[i,r]) = 1;
sum(i:= 1 to N, v[i,r]*z[i]) = zz[r];
sum(i:= 1 to N, v[i,r]*x[i]) = b;
}
```