(ctx, first, *values)
| 179 | Register a varargs scalar function with at least two arguments. |
| 180 | """ |
| 181 | def varargs_function(ctx, first, *values): |
| 182 | acc = first |
| 183 | for val in values: |
| 184 | acc = pc.call_function("add", [acc, val], |
| 185 | memory_pool=ctx.memory_pool) |
| 186 | return acc |
| 187 | func_name = "z=ax+by+c" |
| 188 | varargs_doc = {"summary": "z=ax+by+c", |
| 189 | "description": "find z from z = ax + by + c" |
nothing calls this directly
no outgoing calls
no test coverage detected