Carl Love

Carl Love

26376 Reputation

25 Badges

11 years, 137 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

Do you mean a situation like this?

for x in L do
   if cond(x) then break end if;
   ...
end do;

Or like this?

for k to nops(L) while not cond(L[k]) do
   ...
end do;

Or somethings else, perhaps with seq? And, do you want to make sure that cond is applied to every element of the list, perhaps because cond has a side effect?

You'll need to show the rest of the code, especially the point at which you get the error message.  Also, I don't see any derivatives, so how are they ODEs?

This might be a change in newer versions of Maple, but currently a with command performed inside a procedure has no effect on other commands in the procedure. But the execution of such a procedure causes the with to be performed globally. The procedures that are called within a procedure depend on what name-bindings are in effect at the time the procedure was defined, not the time that it is executed.

This might be a change in newer versions of Maple, but currently a with command performed inside a procedure has no effect on other commands in the procedure. But the execution of such a procedure causes the with to be performed globally. The procedures that are called within a procedure depend on what name-bindings are in effect at the time the procedure was defined, not the time that it is executed.

@Markiyan Hirnyk At the bottom of Markelov's LiveJournal post to which you gave a link there a link to a 1988 article in Russian: http://kvant.mccme.ru/1988/06/tri_formuly_ramanudzhana.htm. I don't read Russian, but it looks like this article attributes the formula to a Ramanujan. I am not sure. Could you check that please?

@Markiyan Hirnyk Thank you Markiyan for that stunningly beautiful identity. Where did you get that? It is reminiscent of Ramanujan.

The identity can indeed be proved in Maple. I feel that the proof warrants a separate post, so I am branching off. Put any replies there.

Actually, the theorem is more general than that: n can be a product of a power of 2 and any number of distinct Fermat primes.

But a proof of "A and B" is also a proof of "A" alone, so I don't think that it is fair to nitpick when someone cites a specific case of a more-general theorem. I was just using the case that I needed to make my point.

All of your questions are answered in detail in my Answer in this thread.

All of your questions are answered in detail in my Answer in this thread.

Both of your questions are answered in detail in my Answer.

Preben, your modifications work because they both return a two-member list even when they are passed symbolic arguments. See my much-more-detailed Answer.

Preben, your modifications work because they both return a two-member list even when they are passed symbolic arguments. See my much-more-detailed Answer.

@Sergio Parreiras I am eager to hear how any of your explorations with Maple IDE go.

Here's another basic debugging command to add to my list above:

infolevel[all]:= 2;

The infolevel and printlevel can be adjusted to various levels.

From running your code with infolevel set, I see that some large polynomials in β are being factored, perhaps one of your input polynomials. I'd be interested in running the code on the individual factors to see if one of them generates the bug.

@Sergio Parreiras I am eager to hear how any of your explorations with Maple IDE go.

Here's another basic debugging command to add to my list above:

infolevel[all]:= 2;

The infolevel and printlevel can be adjusted to various levels.

From running your code with infolevel set, I see that some large polynomials in β are being factored, perhaps one of your input polynomials. I'd be interested in running the code on the individual factors to see if one of them generates the bug.

Is G really an Array (with a capital A), or is it a list? What about K? And what are their sizes? Is it 14 and 4?

First 660 661 662 663 664 665 666 Last Page 662 of 687