mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
template ForUnrolled(n) {
|
|
signal input in;
|
|
signal output out[n];
|
|
|
|
for (var i=0; i<n; i = i+1) {
|
|
out[i] <== in + i;
|
|
}
|
|
}
|
|
|
|
component main = ForUnrolled(3);
|