arnaucube
arnaucube/circomPublic Self-hosted repository
circom/test/circuits/forunrolled.circom
test/circuits/forunrolled.circomRaw
 1template ForUnrolled(n) {
 2    signal input in;
 3    signal output out[n];
 4
 5    for (var i=0; i<n; i = i+1) {
 6        out[i] <== in + i;
 7    }
 8}
 9
10component main = ForUnrolled(3);