从 A=B 运行软件包 EKHAD 时出现问题

问题描述 投票:0回答:1

A=B书中的EKHAD包包含许多有效的算法。我想在 Maple 中使用其中之一,但我在使用命令时遇到问题

read

我从此链接保存了文件,并按照开头的说明进行操作:

#######################################################################
## EKHAD: Save this file as EKHAD. To use it, stay in the             #
## same directory, get into Maple (by typing: maple <Enter> )         #
## and then type:  read EKHAD : <Enter>                               #
## Then follow the instructions given there                           #
##                                                                    #
## Written by Doron Zeilberger, Rutgers University ,                  #
##  [email protected].                                        # 
#######################################################################

运行EKHAD文件后,我得到:

 Last update: April 26, 2018, thanks to Daniel G. DuParc

   Previous updates:   Dec. 11, 2015 (adding procedures AZdI, 

    AZcI ); May 30, 2015 (adding procedure TerryTao )


              May 29, 2014 (adding Ekhad )

          Version of July 2003: adapted to Maple 8 and 9 

               Many thanks to Drew Sills

     In the penultimate Version of Feb 25, 1999 a suggestion

     of Frederic Chyzak was used, with considerable 

            speed-up. We thank him SO MUCH!


         The penpenultimate version, Feb. 1997,

  corrected a subtle bug discovered by Helmut Prodinger


       Previous versions benefited from comments by Paula Cohen, 

             Lyle Ramshaw, and Bob Sulanke.


        This is EKHAD, One of the Maple packages

                 accompanying the book 

                         "A=B" 

      (published by A.K. Peters, Wellesley, 1996) 

  by Marko Petkovsek, Herb Wilf, and Doron Zeilberger.


    The most current version is available on WWW at:

        http://www.math.rutgers.edu/~zeilberg .

   Information about the book, and how to order it, can be found in

   http://www.central.cis.upenn.edu/~wilf/AeqB.html .

 Please report all bugs to: [email protected] .

        All bugs or other comments used will be acknowledged in future

                       versions.


For general help, and a list of the available functions,

 type "ezra();". For specific help type "ezra(procedure_name)" 




       NULL;

然后我在与说明相同的目录中打开新文档并输入

read EKHAD.mw
,但出现以下错误:

错误,第 %1 行,语法错误,字符

?
意外: ^

 Error, while reading `%1`

这是我的情况截图:

我在 Maple 的情况 - 截图

我对Maple的经验不是很丰富,所以我真的不知道如何修复这个错误。如果有人能帮助我,我将非常感激。

maple
1个回答
0
投票

您对运行 Maple 引擎的工作表 (*.mw) 以及读入工作表的 Maple 命令的外部文本文件(例如 EKHAD)感到困惑,我可能会将其重命名为 EKHAD.txt 或 EKHAD。 mpl。读取命令用于读取外部命令文件,而不是用于打开工作表(工作表不是文本文件,而是您在屏幕截图中运行的内容。)。

这两个应该位于同一目录中,您可以使用

currentdir();
检查。

© www.soinside.com 2019 - 2024. All rights reserved.