Carl Love

Carl Love

28055 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@Alsu You can upload a file (worksheet and some other file types) or a plot or animation by using the green up arrow that is the last item on the second row of the toolbar in MaplePrimes editor. You can make a hyperlink by selecting some text and then clicking on the chain icon, the second item in the second row of the toolbar.

Your animation on the left of the book flipping open shows quite a bit of mathematical sophistication. I'd like to see the Maple code for that.

@MrYouMath It can't be done without executing the previous line. "Previous" means temporally previous, not spatially previous.

@sand15 You wrote:

The reason why LEGEND and COLOR do not behave in the same way is a mistery for me  (have you such explanation on your side ?)

It makes sense for a whole plot of many curves to all be one color; it does not make sense for a whole plot of many curves to have one legend entry.

@Carl Love I see something in the HTML that leads me to believe that the webpage tries to resist being contacted programmatically.

@mmcdara I checked again, and it works for me in Maple 2016. What version of Maple are you using?

Hmm, the HTTP status code 301 means that the URL has been permanently redirected. The following string should, I think, be the new URL. You got the empty string...doesn't make sense.

However, when I try your Get command, I get a normal response: code 200, followed by a string of 52852 characters of HTML, followed by a small table. Perhaps you should try again.

Update: On three subsequent attempts, I got the same result as you did. Oh, well.

 

That's thin content for a Post. Did you intend to say more or to upload a file or to make a hyperlink?

Nonetheless, I encourage your project.

Update: It should be noted that the example animations hadn't been added at the time that I posted the above comment.

@acer wrote:

For 3D plotting there may be an additional wrinkle: I sometimes see the GUI itself slow down as the GUI (not the kernel) leaks a little memory on (large?) 3D (point?) plots. As the java process's resident memory increases the GUI may get slower to render.

Yes, I've noticed something like this. The slow down isn't so bad, but the memory leak is. Of course, as you get close to 100% memory usage, there's a considerable slow down. This memory isn't reclaimed when you remove the animation nor when you close the worksheet! You need to close the whole Maple session. The amount of memory used seems to be many times higher that what would be required to store every frame of the animation.

 I should mention that one likley could not make a a traditional animation with the appliable module (which used the inplace techniques) in the attached worksheet unless calls to it were wrapped in a call to copy. Because otherwise all frames might appear the same.

plots:-pointplot3d already works inplace. If you produce a traditional animation with each frame being plots:-pointplot3d(A), where A is an n x 3 Matrix, then every frame will be the last frame. It needs to be plots:-pointplot3d(copy(A)). The same thing doesn't apply to plot(A) or plots:-pointplot(A).

Considering that my code computes in an arbitrary number of dimensions, of which I plot the first two or three, should I use ArrayTools:-Alias to make an alias to the first two or three columns of the Matrix?

 

@Markiyan Hirnyk There's no reason that you need to vote for just one.

Yes, without VV's help, I couldn't have translated the Mathematica; without Acer's, I couldn't have built the Explore.

@stefano91 Your functions Qv and Qm need to be applied to arguments. I think that your first line of code should be

=maple("Fm:= x-> (Qv(x) + &1*Qm(x))/2"; B3)

@vv

Yes, to "find" them, simply increase the `Origin step` slider in the Explore.

A traditional animation has the VIEW automatically set large enough to accomodate all the frames. I don't know how Explore handles it---it can't have foreknowledge of the total VIEW, so I suppose that it adjusts the VIEW as needed.

Acer, would you please have a try at that inline updating of PLOT structures? I'd like to do 10^5 points, and currently that runs a bit too slow. If you could get a small example working, I'd be able to work it into the code.

@asa12 Sorry, but I don't know anything about the Igusa invariant.

@taro See ?substring.

@asa12 You have ended the genus command with a colon!! That's why you can't see the output. When I run your commands, I get that the genus is 2.

@Thomas Dean 

Ah, I will put the default axes in my maple.ini file.

The names p__1 and p[1] are distinct, and their subtraction should not be 0. There are a great many examples in Maple of names that are distinct but which print the same. This is an often-useful feature, not a bug.

The reason to use p__1 is that it's considered a completely separate symbol from p, whereas p[1] isn't a separate symbol. (Note that "symbols" is a subset of "names"; see ?name, ?type,name, ?type,symbol, and ?type,indexed.)

To see an example of what can go wrong if you try to use p and p[1] as separate variables, execute

p[1]:= 0;  p:= 1;  p[1];

First 411 412 413 414 415 416 417 Last Page 413 of 709