How to load a package in Maple?

巧了我就是萌 提交于 2019-12-06 05:51:48

问题


I want to use a package called "ESC" elliptic surface calculator that can be uploaded with Maple.

The instructions from the creator are:

Save as a text file with character encoding ISO-8859-1 (ISO Latin 1) and load within Maple using "read" command).

I have problem with uploading to Maple and saving with this encoding. Can anybody say the exact upload command with details and how to save text with this encoding?

Here is the package page: http://c-faculty.chuo-u.ac.jp/~kuwata/2012-13/Maple_resources/ESC.mpl

I use Windows 8.1 and Maple 18. Thanks!


回答1:


On the webpage, just right click on the source code file and then click save as a text file. After that, open maple work sheet and read the file ESC.mpl.txt, like this

restart:
read("C:/tcdata/ESC.mpl.txt") # I have save the file in a folder named `tcdata` in drive C.

Once the file is loaded/read in maple, you can do whatever you are suppose to do. I tried these, to check whether the source code is working or not.

ESC();

elliptic_surface(1,1,1,1,1);

Apparently, the source file has been read and is working properly.



来源:https://stackoverflow.com/questions/42191128/how-to-load-a-package-in-maple

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!