With composition
This document explains how to combine compiled functions with the composable
flag in Concrete.
By setting the composable
flag to True
, you can compile a function such that its outputs can be reused as inputs. For example, you can then easily compute f(f(x))
or f**i(x) = f(f(...(f(x) ..))
for a non-encrypted integer i
variable, which is usually required for recursions.
Here is an example:
Last updated
Was this helpful?