Using $include to build packages
I have usually used $include within a module when building packages, where the included file has all the procedures.What I would like to have is to have the module itself in an external file which...
View Articlereading and writing
I calculate a long polynomial p(x) where the coefficients depend on a varaiable d. That takes about 10 minutes. I put a colon at the end of the computation because the result is very large. Then I put...
View ArticleBits:-And sometimes returns wrong results
Hi Maplesoft Support / Community,I've encountered a critical and bizarre bug involving Bits:-And correctness on large integers (~30 digits) derived from repeated integerdivq2exp operations.Confirmed...
View ArticleHow to use LibraryTools:-Save?
MyPackageTools := module() option package; export addPackageDirectoryToLibname, savePackageToMla; addPackageDirectoryToLibname := proc(packageDir) local mapleInitFile, newLibname: mapleInitFile :=...
View ArticleMaple18 generates inconsistent outputs for the same expressions and commands
I encountered this bizarre inconsistency issue that Maple18 generates different outputs when executing the same command:test_res2:= factor( simplify( expand( value( subs( Perturbation_Sol,...
View Articlerelative paths does not seem to work.
Relative path does not seems to work on Linux. e.g. consider the read command `read "/home/harpo/skits/slapstick/boguscalculus.mw"At the moment I have to enter the full path above as stated to be able...
View ArticleHow to read a *.m file written many years ago?
I have some library program files written using Maple 11 (or before).I can read and use the file programs and they have worked fine for many years.But I would like to actually see the programming...
View Articleproblem using $include in module. export declaration unexpected outside module
This seems like a serious limitation of Maple module, unless I am missing something.I am trying to refactor one of my module, putting some code in separate .mpl file, say B.mpl, and then do, from the...
View ArticleTrouble running package EKHAD from A=B
The EKHAD package from the book A=B (https://www2.math.upenn.edu/~wilf/AeqB.html) contains many effective algorithms. I want to use one of them in Maple, but I have troubles with the command `read`.I...
View ArticleRead in Maple Code Attachments
I'm struggling getting read statements to work in code attachments.Are there any limitations for the read command?Test.zip
View ArticleHow to defeat quotations during file import
Simple question I cannot remember the solution of.When I import "executable maple input" from a file, the content is imported as a string and therefore have quotation marks around the code if saved in...
View ArticleHow to restore variables previously saved in a .m Maple internal format file?
I can save a variable M (actually a matrix) usingsave M, "Test" or save M, "Test..xyz"where .xyz can be any file extension except .m This saves the variable in "Maple language format" and it can be...
View ArticleHow to use LibraryTools:-Save?
MyPackageTools := module() option package; export addPackageDirectoryToLibname, savePackageToMla; addPackageDirectoryToLibname := proc(packageDir) local mapleInitFile, newLibname: mapleInitFile :=...
View ArticleProcedures using other saved procedures
I have 5 procedures saved in my library. Say Proc1, Proc2, Proc3, Proc4 and Proc5. They all work ok.Proc5 calls Proc4 which calls Proc3 which calls Proc2 which calls Proc1. That is fine if I read them...
View ArticleVariable disappear after read file and create thread
Variable disappear after read file and then pass parameter to create thread
View Articleproblem using $include in module. export declaration unexpected outside module
This seems like a serious limitation of Maple module, unless I am missing something.I am trying to refactor one of my module, putting some code in separate .mpl file, say B.mpl, and then do, from the...
View ArticleHow to open .m file in Maple in Windows
Could anyone help me with how to open an .m file in Maple in Windows? Thanks a lot.
View Articlehow to use command "read()"
Hi, I am a beginner of maple and I met a problem recently.I extracted some equations from a .txt file like below:> read “D:/blablabla/filename” EQ_1,EQ_2,...Then I want to...
View ArticleWhy is the "save+read" of a random variable no longer a random variable?
Hi, I've define a list V of 2 random variables and saved the result in an .m file. When I read this same file and try to sample V I get a message error which, after quick search, comes from the fact...
View ArticleHow to open .mm file in Maple
Does anyone know how to open .mm file in Maple, as well as using the program or function in .mm file in Maple? Many thanks.
View Article