271 Reputation

6 Badges

18 years, 236 days

MaplePrimes Activity

These are questions asked by fbackelj

Hello, I have a question regarding the behavior of the numeric event division_by_zero. The documentation of ?event says that "A division of a non-0 number by 0 should signal a division_by_zero event. The default action is to return a correctly signed infinity, if possible, and otherwise an undefined. This event is also properly signaled when an attempt is made to evaluate a function at an infinite singularity, e.g., ln(0)." Yet, when using the default settings, I get the following output: > NumericEventHandler( division_by_zero = default ): > 1/0;
Short question: why does > type(Not(x::posint),property); show 'true' in Maple 10 (and below), and 'false' in Maple 11? What has changed? -- Regards, Franky
Hello, suppose I have an expression that consists of a multiplication of subexpressions involving only one variable, for example a_m(z) = a(m) * f(z) How can I retrieve a(m) and f(z) resp. separately? That is, I would like to be able to identify only those subexpressions involving that one variable in which I am interested. For instance, how can I retrieve a(m) from a_m(z)? I have tried using select( depends, op(factor(a_m(z))), m ), but is this bullet proof and/or is there a better solution? Thanks in advance, Regards, Franky.
Hello, I would like to know if there is a simple way to generate the full expression tree of a given expression. I am mostly interested in the leaves only, so it is sufficient if there is a way to retrieve those only... I know you can recursively call op to do this, but I am looking for an easier way to do that... Thanks in advance for any reply. Regards, Franky.
Hello, I know it is possible to catch errors using traperror and lasterror... But is it possible to also catch warnings in any way? It seems they are only messages that are printed on the screen. So, using OpenMaple/C, they can be extracted from the textCallBack stream (using id 5)... but is this also possible in the Maple environment itself, and if so, how? -- Regards, Franky.
1 2 3 4 5 Page 3 of 5