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:
|
|
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/SLPexpressions/doc.m2:368:0.