Carl Love

Carl Love

28115 Reputation

25 Badges

13 years, 126 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@Bryon 

For Posts and Questions I see the number of votes and the star but not the thumbs up. For Answers I see none of the three. I am using Android 4.4.2 on a Samsung Galaxy 5s.This is manifest in both Chrome and the AT&T browser.

Also, the option to vote on posts, questions, and answers is missing. 

I believe that what you want is the exponential distribution. 

Are you looking for an exact representation or a floating-point approximation?

@taro No, applyrule is definitely not powsubs.

@stddwrc Perhaps you could give us the original statement of the problem? It still makes no sense to me for the integration variables to be q, w, and e.

Since q, w, and e are procedures, I don't understand what you mean by using them as the variables with respect to which the integrations are done.

Do you not understand the error message? The differential order is 6: 3 from the Eq3 and 2 for theta and 1 for f from the Eq4. You have seven conditions. Eliminate 1 of them.

@Markiyan Hirnyk 

It's not big, but it is superlinear. But I'm not saying that it is a bad thing to do! I'm just saying that one has to watch out for seemingly trivial things which, if done in an inner loop, can add up. Note that converting a set to a list is relatively fast (but I can't figure out why it is not O(1).)

@Markiyan Hirnyk 

Sure:

CS:= L-> {L[]}:
L:= ['rand()' $ 2^20]:
CodeTools:-Usage(CS(L)):
memory used=8.00MiB, alloc change=0 bytes, cpu time=343.00ms, real time=357.00ms

Compare that with the near-neglible time for a full linear scan of L:

CodeTools:-Usage(member(-1,L)):
memory used=0.51KiB, alloc change=0 bytes, cpu time=16.00ms, real time=12.00ms


Are you saying that the text file literally contains the -6 on the line above the rest of the number? Or does the text file contain literally the characters "10^-6"?

@Markiyan Hirnyk 

This can also be done as

{L1[]} subset {L2[]};

However, such simplicity may obscure the fact that converting a long list to a set is a significant computation timewise.

@Joe Riel I hope the proprosal does not maintain the current limit of bases from 2 to 36. With the input in list form, the base can be anything.

Define what it means for one list to "contain" another. Does order matter? Does the repetition count of individual elements matter?

@Joe Riel I think that there is a library way to do it, however you may consider it cheating. See my answer below.

First 520 521 522 523 524 525 526 Last Page 522 of 710