C_R

4089 Reputation

21 Badges

7 years, 75 days

MaplePrimes Activity


These are questions asked by C_R

I have just posted a question about whether it is possible to modify a procedure once the procedure is created.

It disappeared.

I either want to add an option or change the body of the procedure by replacing functions.

The procedure is generated by Maple commands so I cannot do the changes as if I would do it normally when entering by hand.

Is adding an option or changing the body possible?

I can extract the operands by doing op(eval(procname)). But I can neither extract the body nor assemble everything together.

I will delete this message in case the other message reappears.

This is about delayed input after executing this file Campo_Médio_spin_7_2_-_Forum_optimize_02.mw

from annother question dealing with very large physics expressions (containing about 100000 exponential functions).

The GUI shows but when I place the cursor in an inputline and type, characters are sometimes displayed with a huge delay (about 20 seconds). This is from time to time, i.e. not always. All on Windows 10, 64 Gb memory and 4 Gb graphic card memory.

Can someone reproduce this?

Has anybody experienced the same (kernel with large expressions & GUI not responsive)?

Anything that I can test or try?

(I had a similar question about file size but this time the file size is small 150 kB and no big plots are made.

Only the kernel has to deal with the large expression. Output displayed on the GUI is negligible.)

Something has changed in the past weeks (not sure for how long) and I have not figured out what exactly.

Probably it is me doing something differently while editing an input line. Below is an example where the name data is not italic any more

Anybody else experiencing the same?

My interface seetings:

From time to time Maple output containts brackets that are nor needed. Example:

int(f(x),x=a..c)-int(f(x),x=a..b);
simplify(%) assuming c>b

Why is that? Is there a way not to have these brackets printed?

eqs := [a = b, c = d, e = f]:

map(`+`, eqs, 2);
map(`-`, eqs, 2);
map(`/`, eqs, 2);
         [a + 2 = b + 2, c + 2 = d + 2, e + 2 = f + 2]

         [a - 2 = b - 2, c - 2 = d - 2, e - 2 = f - 2]

               [1     1    1     1    1     1  ]
               [- a = - b, - c = - d, - e = - f]
               [2     2    2     2    2     2  ]

These work differently

map(`*`, eqs, 2);
map(`^`, eqs, 2);
               [2 (a = b), 2 (c = d), 2 (e = f)]

Error, non-algebraic base in a power: a = b

(The first one can be dealt with by applying eval to the output)

Why do not all work the same way?

Edit:
Generic work arounds where arithop is one of: + - / * ^

map(eval@`arithop`, eqs, 2);
map(map@`arithop`, eqs, 2);# Update: Maple 2021 and higher
[seq(i arithop 2, i in eqs)];
First 20 21 22 23 24 25 26 Last Page 22 of 57