(ctx, m, x, c)
| 154 | Register a ternary scalar function. |
| 155 | """ |
| 156 | def ternary_function(ctx, m, x, c): |
| 157 | mx = pc.call_function("multiply", [m, x], |
| 158 | memory_pool=ctx.memory_pool) |
| 159 | return pc.call_function("add", [mx, c], |
| 160 | memory_pool=ctx.memory_pool) |
| 161 | ternary_doc = {"summary": "y=mx+c", |
| 162 | "description": "find y from y = mx + c"} |
| 163 | func_name = "y=mx+c" |
nothing calls this directly
no outgoing calls
no test coverage detected