Mac Dude

1556 Reputation

17 Badges

13 years, 249 days

MaplePrimes Activity


These are questions asked by Mac Dude

I have a Mma code from a colleague that I am trying to port to Maple. This code uses a lot of Mma With[{...}, ...] constructs, to which I found the Maple "use ... in ... end use" construct the closest equivalent. What is being done is to initialize a bunch of local variables and then run the calculations. Non-initialized variables (the ones not in the first section) remain global.

I ran into a problem in Maple when I tried to initialize an element of a Vector, like "use a[1...

Hi, I have created over time a module with a number of procedures that are useful for me for certain calculations.

From time to time I am adding new stuff to it. Now I find that the thing has gotten long enough that (a) I need to do a lot of scrolling and (b) I forget where exactly certain procedures are in the file.

So I was trying to put in bookmarks that e.g. could carry the names of procedures, or sections of the whole thing. But Maple refuses to put more...

I have occasionally a need to map a function over the components of an expression; but not just at the top level---which map() does---but to an arbitrary level. One application is e.g. to throw simplify at subexpressions of a complicated object. Sooner or later I will want to specify the deepest level also... I looked through the docs and Help but could not find anything like that. I had expected map[n]() to do something like this, but it does not.

Does Maple have a...

I have the following problem in normal 2-D output: Greek letters appear not to show up.
Here is an example of the issue (screen shot):

Following an earlier thread (Collect-And-Sqrt) where a solution using applyrule was proposed (and that solution works), I tried to use applyrule to implement some of the trig half-angle relationships. Immediately I ran into trouble:

Say I want to use the rule

r:=cos(th::algebraic)=2*cos(th/2)^2-1;

so I say

applyrule(r,cos(alpha));

and Maple promptly goes into an...

First 16 17 18 19 20 21 22 Page 18 of 23