Carl Love

Carl Love

28015 Reputation

25 Badges

12 years, 295 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

Please show the output of the command

with(MyPackage);

@mmcdara The OP is referring to indentation within formatted expository text (i.e., word-processor-style text), not within code.

What happened to mmcdara's Answer to this Question? 

@Mike Mc Dermott You should be able to find those details with the built-in debugger, but I can't say any more about it. Hopefully someone else can provide details. 

If you just post your code (or worksheet), someone will likely track down the error.

OMG, that corrected primes code is tedious and amateurish (nearly elementary-school level) to say the least. How is it learning to program in Maple? And why did it make such a glaring syntax error on its first attempt? Does it just search the web for a single example program?

@mmcdara Yes, I meant to include option nolist. No, it hasn't become the default, although it's quite a nuisance that it wasn't the default from the very beginning. Thank you for finding my error.

@Mike Mc Dermott The error is from a procedure named `PD/PD`. It is indeed a recursive procedure, and it has something to do with Partial Derivatives, but I don't know any more. You can view its code with

showstat(`PD/PD`);

The vast majority of Maple procedures are not "commands", meaning that they're not intended for use by top-level users, and they aren't documented. This includes almost all procedures that have the character `/` in their name.

@tomleslie One can tell from the error message that it's caused by a recursive procedure, not a recursive assignment. The error message for a recursive assignment is simply "Error, recursive assignment".

You left out the most important detail: What is the ODE and its initial or boundary values?

@JAMET A, B, C, and G are all points in 3-D space (in other words, 3-vectors). So G[1] = A, etc,, is nonsense.

@lcz TSPLIB is programmed, maintained, and documented externally to Maplesoft. A Google search on "TSPLIB" turns up a huge amount of documentation. Should it be Maplesoft's responsibility to document someone else's software? 

@dharr You wrote:

  • but for the multiplicative group, 0 is excluded and the order is n-1.

To clarify that, the order of the multiplicative group is n-1 iff is prime. Not just 0, but all values not coprime with n must be excluded from the multiplicative group because they're not invertible. In general, the order of the multiplicative group is NumberTheory:-Totient(n).

@Brian Hanley I have transferred plaintext Maple code from Maple worksheets to this forum, other forums, email, and text editors many, many thousands of times (this is my 13,834th post on this forum alone), and I've never seen this unwanted single quotes issue. I wonder if you're having an OS or browser issue. My process is

  1. Select the desired code with the mouse (left click and drag)
  2. Press Ctrl-C
  3. Move mouse cursor to desired location (some other editor)
  4. Left click
  5. Press Ctrl-V.

@acer It's an (admittedly small) shame that A__* is interpreted as a symbol, because the intention may have been the symbol A__ followed by an infix operator.

@Thomas Dean If you add a with(GroupTheory), then it'll work.

First 62 63 64 65 66 67 68 Last Page 64 of 708