Carl Love

Carl Love

28035 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@mmcdara

Yes, it was my intention in posting the procedure that someone would use it to test the extreme-tail sampling of other continuous distributions, preferably with samples much larger than a million. 

The bug that oversamples the tails (at least for Normal(0,1)) is not so bad that you'd be able to detect it while using equiprobable bins. Instead, my bins were evenly spaced by standard deviations.

See the Wikipedia article "Ternary plot". I guess it's something they're working on. Perhaps there'll be a new value of option axescoordinates associated with it, akin to polarplot.

I spotted another error. Where you have condin[1,j], it should be condin[j].

@mmcdara The built-in command select (not Selectis very fast, but the non-built-in is is slow and totally unnecessary. You could replace your command with

select(`>`, S, q); 

But why do you ignore the extremely fast method that I show in an Answer below?

The compiler is now essentially built in and requires no separate installation. 

The names of the constants suggests to me that this is a problem in nano-magneto-fluid dynamics, one of the most common topics here on MaplePrimes (partly because the BVPs are often tricky to solve numerically to high accuracy). In my experience, all such problems start with third-order ODE BVPs. So, please post the original problem. I'd guess that you're trying to satisfy a boundary condition at time = infinity.

I don't understand how the final animation in your worksheet is not what you want. To me, it shows both curves moving at the same time.

@ActiveUser I'm sorry, but I can't understand what you're trying to say about logic. 

You asked earlier what "degree" meant. The degree of a permutation is the length of the lists that it operates on. Since fixed points are omitted from the disjoint-cycle representation, the degree of a permutation in that form cannot be known with certainty, so it must be supplied for some commands. All that we can say for sure is that the degree is at least the largest number that appears.

All the permutations in a group must be the same degree, so, naturally, this is also called the degree of the group.

@chinthak I have very little knowledge of tensors, and no experience whatsoever of using them in Maple. If you post for me a worksheet that creates a small tensor, I may be able to figure out how to convert an Array to a tensor.

In other words, unless you're using an x that's already been defined rather unusally--as a function of two variables rather its usual meaning as an independent variable--then D[1,2](1/x) is pretty much garbage that is nonetheless (just barely) syntactically correct.

@MapleUser2017 Yes, I know.

@vv No, I meant "statement": Every procedure, arrow expression, or module is required to have a statement, possibly null. I didn't say that that could be any statement. In the case of an arrow expression, the statement must also be an expression, possibly null.

@Carl Love 

Kitonum has correctly pointed out that the tangent line does not exist for the specific example that you used. Nonetheless, what I said still holds: If you want to create multiple objects while overwriting the name, use the unevaluation quotes. 

@Magma Thank you. You've done a great job with the formatting. 

@Magma That technique is extremely inefficient, although it is unfortunately very commonly used, and even appears on some Maple help pages.

Whenever someone asks me to improve the efficiency of their Maple code (as you have done in another thread), that technique is the first thing that I look for.

@Stretto You've asked an excellent and subtle question. The answer is that local declarations and other stuff that may be in a procedure's header are not considered statements. Every procedure (or module or arrow expression) is required to have a statement, which could possibly be a null statement.

Also, it is a commonly held---yet erroneous---belief that statements need to be terminated with a semicolon or colon. This is even expressed on some Maple help pages. The truth is that (just like common English punctuation), those characters are used to separate statements.

First 239 240 241 242 243 244 245 Last Page 241 of 708