highsciguy

75 Reputation

7 Badges

11 years, 133 days

MaplePrimes Activity


These are questions asked by highsciguy

Hi all,

I wonder if it makes sense to use tables as datatype for efficient maple code. I need this datatype to pass parameters to a procedure which is called many times.

In particular, I have the following criteria:

* efficient (fast) to access for read and write.

* potentially thread save ( I can also imagine having individual copies for each thread)

* present in future Maple versions

* easy to transform into C-code later

I try to use MathMLViewer with OpenMaple. Similar works with plotting:

If I issue

interface(plotdevice=maplet);

Plots are shown nicely in a new java window.

But executing

Maplets[Elements][MathMLViewer](MathML[Export](x^2));

results in the following error


Error, (in XMLTools:-ToString) could not initialize the Java Virtual Machine

What can I do to make it work?

Thanks a lot!

Dear all, I try to use threads in Maple 13 with Thread:-Create() and Thread:-Wait(). The worksheet works if I use no or just a single thread. One of the subroutines contains an fsolve command to find the zeros of some Function which involves special functions (LambertW). When I create two threads I get error messages such as `fsolve/StorePoint`, "invalid point dimension" and `fsolve/StorePoint`, "numeric exception: division by zero". Is the fsolve function not thread save? I tested, using stopwhen(...
1 2 3 Page 3 of 3