
Maple
Leistungsfähige intuitive Mathematiksoftware
• Maple für Akademiker • Maple für Studenten • Maple Learn • Maple Calculator App • Maple für Industrie und Behörden • Maple Flow • Maple for Individuals
Maple 2018 lets you encrypt procedures. An encrypted procedure acts and behaves like any normal procedure in Maple, but it can not be viewed or debugged. This provides a way for professional users to share executable procedures while protecting their IP.
The following defines a procedure that implements a block game as described at "http://rosettacode.org/wiki/ABC_Problem#Maple". The procedure is then saved into a repository file called "abc.mla".
After executing the code above we can call the canSpell procedure to test what words can be spelled with the given blocks.
![]() |
![]() |
Normally the statements of a procedure can be seen via commands such as showstat and eval in Maple. This is true for this procedure too because it was just defined. Note: option encrypted only takes full effect when the procedure is loaded from a library, not when it was just entered from source.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Let’s restart and then reference the procedure from the "abc.mla" repository that we saved it in:
We can use the procedure:
![]() |
But we can no longer see the implementation:
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
*Die Maple-Evaluation ist für Schüler und Studenten bzw. die private Nutzung zurzeit nicht verfügbar.