Stretto

225 Reputation

5 Badges

3 years, 208 days

MaplePrimes Activity


These are replies submitted by Stretto

@vv 

Thanks, this does seem to work but doesn't address the "bug" issue. I know there are other ways to solve the problem to find a continuous argument. I guess yours is equvalent to using the total derivative. But the main issue here is that my code should work(unless I have a bug) as it's fairy simple and yet it doesn't work as it should. This would be a relatively simple thing to do in Matlab or any other standard programming language. Because of the way maple seems to do certain things though either it's has a relatively serious bug in it or I'm not understanding one of it's quirks.

@Preben Alsholm 

Actually I don't, they are irrelevant to the problem.

@vv Thanks.

 

CoeffList := proc(f,v,N)
    PolynomialTools:-CoefficientList(convert(series(f,v,N),polynom),v);
end proc;

 

Put it in a function to siimplify since I hate long lines.

@acer 

dataplot(Matrix([[0,0],[1,2],[2,3],[3,2],[4,4]]),points,annotation=Array(["January","February\nsdfsad","March","April","May"]));

I'll be trying something like that. Seems like it will work. Hopefully won't be too slow.

@acer Yes, I meant plot. Don't know why I said print. Clearly though I meant plot because printing already would show that info and printing has nothing to do with mouse hovering. Deduction my dear Watson... sometimes it's required in an imperfect world.

@Carl Love 

I was hoping for something simpler, I made a procedure that would let me subs sets of lists which I imagine is functionally identical to yours. I was thinking maybe maple had some very simple way to do it(one liner).

 

@Carl Love 

Not sure now, I used some hack IIRC. I didn't know one could do an op on inert expressions so as long as it doesn't break down in more complex exprssions it could work.

how do you overload functions in maple? Specify a type on the parameter?

@tomleslie 

Thanks. Obviously this isn't a javascript specific problem. I haven't checked it's accuracy though but it looks like it should work fine.

How does one get it to reference from UTC instead of GMT? You seem to be specifying UTC but it's showing GMT in the output.  Says it defaults to UTC too.

@Carl Love 

lol, I meant javascript, sorry. Wasn't thinking there would be any amibiguity for some reason. This is not necessarily a javascript specific problem but I mentioned javascript because ticks are relative and so some conversions use different reference points.

@Kitonum 

 

Thanks. This works. I wonder if there is a way to significantly speed it up? I'd like to use it in animation.

@Carl Love 

 

Cool, that works. Is there a way, maybe, to allow for selecting a "2d" parameter using a grid by dragging along, say, a square and having the xy coordinate translate in to parameters? This way I can translate two parameters simultanously rather than having to move one or the other at a time.

There seems to be no way to modify the printing font or scale. Seems pretty ridiculous.

@acer 

Thanks a lot! This seems to be what I want! I haven't tested it extensively but so far so good. As long as it generally works and doesn't end up in any weird infinite loops and such then it should work. I don't need necessarily to see every step but it does seem to follow the order of operations.

I'm mainly just using it to check standard arithmetic expressions when trying to track down bugs in formulas. It seems to see how things evaluate progressive to see exactly what is going on. It could be used for other things though such as teaching the order of operations(to some degree at least).

Ideally any AST could be expressed and it would simply progressively evaluate the AST as far as possible and work with general algebraic expressions. This is not something I'd be using any time soon though.

@tomleslie 

This does work, it's a little bulky but I think I can shorten the function name and it won't be too bad.

Thanks.

 

@Mac Dude 

 

Thanks.

 

1 2 3 4 5 6 7 Page 1 of 7