Quantcast
Channel: MaplePrimes - Questions and Posts tagged with read
Browsing index pages (46 articles)

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 Article


reading 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 Article


Bits:-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 Article

How to use LibraryTools:-Save?

MyPackageTools := module() option package; export addPackageDirectoryToLibname, savePackageToMla; addPackageDirectoryToLibname := proc(packageDir) local mapleInitFile, newLibname: mapleInitFile :=...

View Article

Image may be NSFW.
Clik here to view.

Maple18 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 Article


relative 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

problem 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 Article


Trouble 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 Article


Read 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 Article

How 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 Article

How 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 Article

How to use LibraryTools:-Save?

MyPackageTools := module() option package; export addPackageDirectoryToLibname, savePackageToMla; addPackageDirectoryToLibname := proc(packageDir) local mapleInitFile, newLibname: mapleInitFile :=...

View Article


Procedures 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 Article

Variable disappear after read file and create thread

Variable disappear after read file and then pass parameter to create thread 

View Article


Image may be NSFW.
Clik here to view.

problem 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 Article

How 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 Article


how 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 Article

Image may be NSFW.
Clik here to view.

Why 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 Article

How 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
Browsing index pages (46 articles)


Latest Images