evaluate(slp, inp, out)
This method evaluates an object of type SLProgram (missing documentation) on a given input. The two matrices inp and out should both be mutable, of the same sizes, and be defined over the same ring.
|
|
|
|
|
|
|
|
|
|
The straight-line program can also be evaluated at different inputs in different rings:
|
|
|
|
|