Mac Dude

1506 Reputation

17 Badges

10 years, 247 days

MaplePrimes Activity


These are replies submitted by Mac Dude

@acer Ok, so this looks definitely more involved than I expected. "passign()" appears to be undocumented so I don't know what exactly it is doing. The fact that Convolution() calls an external routine actually explains the rather quick execution of the routine on my actual data sets.

What I was looking into was whether I could modify the routine to be applicable to certain special cases I have (or rather I think I have) that look similar to a convolution but require modifying the scale of the independent variable ("X axis", if you will). Whatever I will end up doing, messing with the library function clearly won't be in the cards.

I did learn from your codesamples about the "opaquemodules" kernelopt; I was not aware of that before. It may be handy for other projects I am working on.

Thanks very much,

M.D.

 

@acer @Kitonum @mmcdara There is a wealth of info you posted & I can see how I will handle this. Have to deal with something else for hte next few days, but if I can distill all of this into a decent solution of some generality I'll post back.

Thanks very much all,

M.D.

@Kitonum Thanks much for looking at this. The first way does not work for me in Maple 2015; maybe it works in newer versions?

The second way works, and I think I can extend it to my production cases (what I showed was a minimum example). The only issue there is that I have a number of these, some of them show as (0.1200000+epsilon) rather than 0.12+epsilon. This makes a difference for subs(), but maybe I can figure how to regularize that.

Thanks,

M.D.

@tomleslie @dharr  Thanks both. I feel a bit stupid not realizing that plots:-pointplot does both cases ( a list of points and two lists, one being plotted against the other); it is even in its Help page.

With plot, the case of a list of points is not shown in the Help page.

Mac Dude

Since you assign an expression to Delta, you will never get a result containing Delta as Delta is replaced by the expression.

expand works. If you don't assign to Delta you end up with terms up to third order in Delta. How do you know that your desired result is indeed equal to your expression?

Why ExpandSteps fails I do not know.

M.D.

Show us the beginning of the file so we can see what it is.

M.D.

@mmcdara Something seems not right. 30 years of $4k per year is already $120k. In fact, per the manual, futurevalue is the fv of an amount, a one-time payment.

I do not find the future value of an annuity in the Finance package, although I assume it is there.

M.D.

@Jean-Claude Arbaut, @acer@vsubramanian

This is all well and good, but I was just wondering why on my system Maple's CUDA support just ignores my card and errors out. As I said in my o.p., I don't expect huge gains, but it should at least work.

M.D.

@Carl Love You are correct, my apologies for not being careful enough here. In fact, Maple appears to ignore parts of the whole expression silently due to these errors.

Fixing this up by assuming these are implied multiplications, solve no longer works and runs against a div by zero error in Engine:-ExpandRofs. fsolve comes up with two numeric solutions.

At this point the OP needs to look at this again and clarifies what this expression really is supposed to look like, since I am now way too far in speculation-land.

M.D.

 

@Joel19 Look at the file I uploaded in my answer. You still seem to have square brackets, and also you need to get rid of the "=0" at the end of your function. The way you wrote it it would return a boolean (true or false) as it evaluates the = operator.

M.D.

This is a standard way of making pdfs on a Mac. In the print dialog I often select a larger sheet size (11" by 14") and scale down by about 0.7. This reduces the sometimes awkward wrap-around of Maple output.

What I don't like is that graphics is printed always very large, not respecting the way I set it in  the Maple output.

M.D.

@stefanv I'd love to be able to get Maple for my Raspberry Pi. Wolfram gices out Mma for fee on the RPi.

Mac Dude

add only works with defined ranges, so nn needs to be assigned a number before the function is run. Or use sum.

The seq construct in the Minimize call looks like you want to make a table, but the equal sign (=) in Maple creates an equation, not an assignment. You need to use assign() here (and put xx[ii] in single quotes to prevent evaluation). But then xx[ii] becomes ranges 1..10, is that the intent?

Please let us know what you actually want to do. It is not clear from your question.

M.D.

@Adam Ledger I don't know whether your issue got resolved, but you could possibly put your startup code into the .mapleint file (Maple.ini on Windows) if your startup using a .bat file causes font issues.

M.D.


Obviously I don't know in your case; but I have had it happen before that the fonts get messed up, to the point that Latin would print correctly, but Greek letters would not, as would not some math symbols (but not all). For me the typical way to get out of that would be to completely quit Maple and then fire it up again, maybe by double-clicking the worksheet in question. I have had this happen more often, but not exclusively, when I use worksheets created in a different version.

M.D.

1 2 3 4 5 6 7 Last Page 2 of 42