MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.
Hello All: I am working on generating some correlated sequences using Matrix Exponential techniques. there seems to be some problem with the way maple manages memory (or am i doing something wrong?). specifically, in the code below, i am calling a few functions inside a for loop but none recursively. so as the for loop progresses my stack (memory; seen as PF Usage in win XP) size should not really blow up. right? but in Maple 9.0 and 10.0 this below program would give a "Execution stopped: stack limit reached." exception after about 30000 executions(I am running on a WinXP machine , about 2.8GHz, with 512 MB RAM, also checked on a machine with 1 GB Ram; and another 1GB in page file size). But the same program seems to work alright on the same machines with Maple8 running (i uninstalled maple-9 and installed maple-8 in one case). I could go up to 300,000 iterations without any problem. And the memory would go from about 250MB (PF Usage) to about 800MB. So even in Maple 8 there is some stuff that is being dumped on the stack; i tried to run Garbage collector (gc()) function once every 500 iterations; it did not make any difference either. Can anyone please look into it?
Hi to all. My first post. I'm new to Mapleprimes, but have been involved with Maple for a few years. I would like to have a generalized genetic algorithm optimization tool that I could use to explore various engineering system optimization problems. I'm not aware of anything "out there" in this area. Is anyone aware of such a tool (open source or commercial)? Sherrell @ Oak Ridge National Lab
Is there a trial version for Maple 10.0 if so from where I can download it.
The zipped code for "Pricing Arithmetic Average Asian Options" is missing sobol.h (to be used by the source ArithmeticAsian.cpp). Could someone please add that header file?
Does Maple 9.0 work with Mac OS 10.4?
Does anyone else have trouble with Compiler:-Compile on a Mac?

I have gcc 4.0 installed on Mac OS X 10.4.2.

For example for,

p := proc( x :: float ) :: float; 2.3 * x end:
cp := Compiler:-Compile( p ):
cp( 1.1 );

I get the message:

Error, (in LinkDSO) linker exited with nonzero status 256: /usr/bin/ld: can't locate file for: -lcc_dynamic

But on my home Mac, which I think is configured in exactly the same way, the same commands work!

Bob.

Note added:

After a lucky google search I found a reference to the problem. A symbolic link is removed by the installation of gcc 4.0. Running Disk Utility to fix permissions repairs the link, and now Compiler:-Compile works!
Hi: I am using Maple 10. In the tools menu I click "check for updates" and then go through the procedure of updating. In the end I get the dialog box "Update was unsuccessful because of the following reasons" (1) You might not be logged in as administrator .I am logged in as administrator as a matter of fact. (2) You might not have enough disk space. I have plenty of disk space left. I have no clue as to how to get around this situaton. Please help. Kush
Once again Maple has screwed things up in a new version. The material in my book, Differential Geometry and its Applications, on unduloids using elliptic functions doesn't give the correct pictures in Maple 10. Maple 9.5 worked fine. Also, something has been done to the simplification routines. In Maple 9.5, the metric and second fundamental form for unduloids are simplified to a point where they can be easily identified. In Maple 10, all that you get is a huge mess. At the Maple Workshop in 2002, I asked about these issues that have cropped up before (the worst being the transition from the wonderful Maple 4 to the horrendous Maple 5).
hi, all, how can I plot a vertical line? for example x=5, starting from y=0 to y=10. thanks!
When i use Maple to solve polynomial for two times. first the order arrange from max to min. second arrange from min to max. I want to know what the Maple procedure calculate to show?
hi all, I know I can plot y=x^2 by using command like plot(x^2, x=-2..2);. In this example we have an explicit expression of y. What if we cannot find an explicit expression of y? For example, suppose we do not want to find an explicit expression of y in equation x^2+y^2=1, then how can we plot this circle? by the way, what's the difference between forum and blog here? thanks!
i have a bunch of commands as follows, seperated by shift+return. after the last command, a return ofcourse. Then I execute these commands by a return. it will give a result, but next time I enter return again, it gives another result. What's wrong? You can test in maple. I will change value of x. when x=400, command tau := fsolve(S(t)=c,t, 0..infinity); returns no solution. but start from x=500 and larger, it has solution. The problem is, when I change x, the value of tau doesn't change (sometimes it may change, but sometimes it wouldn't). I don't know if it is because the assignment of S,H,F.
Can somebody provide me with code or hints how to get function values in tabular form?
what is the meaning of type operator :: and module memeber selector :-? the maple help doesn't explain to me..
Dear all, I'm frustrated by some ODE problems. sorry the form is a little bit complex: solution := dsolve([diff(s(t),t) = A - A * rho^((1 - r^(theta * t)) * x) - v, diff(f(t),t)=((c - s(t)) / l) * m + x, diff(h(t),t) = x, f(0) = 0, s(0) = 0, h(0) = 0], numeric); for this problem no closed-form, only numerical solution can be found. I have following questions: (1) why cannot I evaluate the value of f(t) at t=5 by using f(5)? (2) For each fixed x, there are curves s(t), f(t), and h(t). Given s(tau) = c, I want to find f(tau)=?. How can I do that? Do I need to find tau first, then find f(tau)? How?
First 75 76 77 78 Page 77 of 78