Stretto

235 Reputation

5 Badges

6 years, 190 days

MaplePrimes Activity


These are questions asked by Stretto

In my maple ini I redefine I.

 

local a,b,c,I:

 

Every worksheet I create I always end up with an executed line with just "I". It's just annoying to see it as it service no purpose and takes up space at the start of the worksheet.

 

Of course I is a predefined symbol which is why I want to redefine it, redefine it to be _i, say. I've tried unprotect and unassign and all that and it still prints out.

 

Now I always put a restart at the start of a worksheet so I end up getting two lines of the I, which is a total of 4 because it prints a blank line.

 

 

 

I have hacked together some things so I can use previously computed values without too much hassle


_Last := 0:
# Stores N in a global to be used
Last := proc(N)
    global _Last;
    _Last := N;
    N;
end:

 

_Last := 1:

seq(Last(_Last*4 + k),k=1..10);

 

This is quite hacky but does work. It is not very robust. Is there any better way? [The above is just a trivial example, I know it can be solved as a problem easily, that is not the point. The method can also be used in much more non-trivial scenarios to simplify coding them].

 

 

I was playing with some of the geometry plotting in maple for fun(I rarely use it) and came up with an IFS like system. While I'm sure maple sucks for IFS it is somewhat easy to do. I was just using rectangles though.

Is there any way though to modify a shape using a transform such as a complex map? Not just the vertices but the edges too.

 

Also, is there any way to do a complex map in some easy way? e.g., "paint the geometry on to a texture" and then map it with a complex plot. Usually one just uses a pixel coloring map and maps that, which would be fine for playing around but I'd like to have more control.

 

Basically draw something on a plot(geometry, functions, image, etc), transform them in some interesting way(e.g., complex map) and then IFS them to get interesting visuals.

 

I realize one can do this in maple by turning the edges in to curves and all that mess but I'd like to avoid that since maple is not really good at it anyways(would probably end up very slow).

 

for i from 1 to numelems(X) do    
    A := x:
    B := C;
end;

 

maple will print all statements even though I use the colon to try to suppress the first line. This just seems wrong. If I suppress the entire loop I have to use prints, and if I have a lot of statements I have to do it for every one even if I just want to supress 1.

It seems maple is suppose to suppress but it isn't.

One problem I come across far to often is that if maple get's bogged down in a computation or I screwed something up I can't always stop it. Sometimes the red ! is greyed out and I have to kill the mserver. When I do this I get the error that I need to save but save doenst' work and I can't do anything because the the kernel was killed. Maple doesn't seem to be able to properly recover... even though it does it most of the time when I click on the red !.

 

Is there any way around this?

First 6 7 8 9 10 11 12 Last Page 8 of 16