Notes on Code Translation to Perl - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Code Generation Package : Perl : Notes on Code Translation to Perl

Notes on Code Translation to Perl


This help page describes details particular to code translation using the CodeGeneration[Perl] function. For general information applicable to all the functions in the CodeGeneration package, see CodeGeneration/Details.



The Perl code generated by CodeGeneration[Perl] is valid for Perl 5 as defined by


Generally, math functions recognized by CodeGeneration[Perl] are translated to functions in the Perl standard library.  Because this library does not have equivalents for inverse, hyperbolic, and inverse hyperbolic trigonometric functions, these are translated to equivalents from the Perl Math:Trig library.


Ranges of Maple lists and Arrays are adjusted so that the resulting Perl lists start with index 0.

See Also