John May

Dr. John May

3026 Reputation

18 Badges

17 years, 320 days
Maplesoft
Pasadena, California, United States

Social Networks and Content at Maplesoft.com

Maple Application Center
I have been a part of the Mathematical Software Group at Maplesoft since 2007. I have a Ph.D in Mathematics from North Carolina State University as well as Masters and Bachelors degrees from the University of Oregon. I have been working on research in computational mathematics since 1997. I currently work on symbolic solvers and visualization as well as other subsystems of Maple.

MaplePrimes Activity


These are replies submitted by John May

It is already kind of possible to do that:

f(x) := 456:f(y) := 12:  f(x), f(y);

forget(f,x); f(x), f(y);

But it is quite limited.  If f has multiple arguments, you need to specify all of them; it doesn't use wildcards.  forget also cannot be called on all functions with remember tables since that information is not stored centrally: each defined function would have to be individually inspected.

However, as acer pointed out, the deeper issue here is that remembers tables should not be used on obects with last name evaluation.  That is,  we shouldn't need to have such a selective 'forget' at all.

That with problem int and functions should be fixed in the next release of Maple.

John

forget(int);  would be more appropriate here.   `int/int` has the option 'system' which means:

Option system serves to identify procedures in the Maple library that are
  considered to be "system functions", meaning functions for which the
  remember table may be deleted at garbage collection time. If this option is
  not specified for a procedure that has the remember option, the remember
  table survives garbage collections.

So gc() isn't necessarily guaranteed to work here.

John

Many of the internal integrators do check for  periodicity and symmetries, but apparently they are not catching compositions of trig functions.  I will look into beefing this up a bit.

John

Many of the internal integrators do check for  periodicity and symmetries, but apparently they are not catching compositions of trig functions.  I will look into beefing this up a bit.

John

This appears to be related to a very old issue with solve and inverse trig solutions.  We've added it as an SCR to our database, and I will be sure to look at it.

John May
Math Developer, Maplesoft

Question asking sites (e.g. Yahoo Answers and Ask Metafilter) and review sites (e.g. the Amazon reviews) use a system like this.  In the case of "answers" sites, there is often a special rating set aside for the original "asker" to specify that an answer was helpful to their situation directly.

It looks like there are a lot of Drupal modules to do this sort of thing, but it is not obvious from a quick look which is the right one for Mapleprimes.

 

John

For what it is worth, the issue reported in Alex's original post was fixed in Maple 12:

> int(a,t=-Pi/4..Pi/4);
                                     1/2
                                    2    Pi
                                    -------
                                       8


> int(aa,t=-Pi/4..Pi/4);
                                     1/2
                                    2    Pi
                                    -------
                                       8

> evalf(Int(a,t=-Pi/4..Pi/4)); identify(%); 
                                 0.5553603673

                                     1/2
                                    2    Pi
                                    -------
                                       8

> evalf(Int(aa,t=-Pi/4..Pi/4));             
                                 0.5553603673

John

Engineering clean and maintainable replacements to artistic code that is more-or-less fully backward compatible with the old code is an especially entertaining pursuit.   It involves playing a lot of the game that one of my co-workers lovingly calls "Whack-a-Mole" with the regression test database.

John

Engineering clean and maintainable replacements to artistic code that is more-or-less fully backward compatible with the old code is an especially entertaining pursuit.   It involves playing a lot of the game that one of my co-workers lovingly calls "Whack-a-Mole" with the regression test database.

John

[citation needed]

I'd be interested to see numbers. I've read a couple things to indicate that initial Vista sales were pretty good compared to XP but that overall adoption is not.  The relevant wikipedia entry seems to be in the middle of a neutrality dispute however.

John

Jonathan Coulton played this song at his live show in Toronto last night.  It was quite excellent.  Based purely on t-shirts in the audience, there was a pretty strong math nerd showing.

John

If you are looking for something more efficient than if/then, goto is probably not it.  I am fairly certain there is a reason that Maple's goto is undocumented and, as far as I know, not used anywhere in the library.

John

If you are looking for something more efficient than if/then, goto is probably not it.  I am fairly certain there is a reason that Maple's goto is undocumented and, as far as I know, not used anywhere in the library.

John

3- Actually if you type x_0  in 2D math, it will be turned into x[0].

Going back to this thread: http://www.mapleprimes.com/forum/indices
If you type x<ctrl>_0 it will create something that is rendered as a subscript, but is not an indexed variable (it is actually `#msub(mi("x"),mn("0"))` - the same as executing 'convert to atomic identifier' on it) .  A third option is to type x\_0 to get x_0 literally, but that will not get rendered as a subscript in 2D.

John

This behavior of solve (which started in Maple 5.4) helps to confuse the issue:

solve(x-3<0, x);          
                         RealRange(-infinity, Open(3))

John

First 11 12 13 14 15 16 17 Page 13 of 19