MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.

In my theses, I need to include a section on computational complexity

of the Simplify function.  I am simplifying addition of rational functions like this:

VAR0 := -(t^2+2*t+1)/(t-1)/(1-2*t+t^2);
VAR1 := (t^3+1)/(-1+t)/(-1+t^3);
VAR2 := (t^2+1)/(-1+t)/(-1+t^2);
VAR3 := (t^3+1)/(-1+t)/(-1+t^3);
MyResult:=VAR0 + VAR1 + VAR2 + VAR3;
MyResult:=simplify(MyResult);

I would like to get help with the comlexity question and/or what algorithm(s)

are used in this type of simplification.

 

The first issue of The R Journal is now available: journal.r-project.org... How do we have same or better for Maple pls? Thanks.

I install Maple 12 in my ubuntu 9.04  32bit...

Standard worksheet works fine (open with terminal) but i can't find in Maple12  folder any file that opens Classic Worksheet...

Anyone knows what i am doing wrong??

 

Thanx! 

The following seems to be putting Maple into an infinite loop, and I wasn't able to stop it by pushing the Interrupt button,

residue(1/sqrt(1+x^4),x=(1+I)/sqrt(2));

Alec

With some recent additions to the Maple language, such as ~ in Maple 13, it would be natural to return to the basics and add two other standard in other languages constructions.

First, I would like to be able to write something like s += 1; instead of s:= s+1; as well as as s*=2; instead of s:=s*2;

Second - switch. That was discussed a couple of times earlier on this site, I think.

Alec

Please can someone help me figure out what is wrong with this procedure?

 

Thanks.

I am trying to compare the speed of a program run using the Maple interpreter, with that of the same program writen in say Fortran or Pascal and then compiled and run on the same PC. I have done this using an FFT program and have obtained a figure of approximately 840 : 1, which is much larger than the factor of 10 or so, that I expected. Does any one have either any comments about this, or perhaps any benchmarks of there own

Dear all,

I think I came over a quite fundamental error in Maple 10's CodeGeneration package. Even without knowing Matlab, it should be clear that the conversion into Matlab code goes wrong here:

restart;
tt :=  x^(1/y) :
with(CodeGeneration):
Matlab(tt);

produces

  "cg = x ^ 0.1e1 / y; "

The help page describes it as a technology preview. I never use this because my mouse isn't precise enough.  What do you think, what purpose will it have later, besides finding missing symbols ?

Hello there,

I got myself Maple 13 recently and tried to plot   > plot3d(abs(SphericalY(1, 0, theta, phi)), theta = 0 .. Pi, phi = 0 .. 2*Pi, coords = spherical);
 

But the plot doesn't look like it should at all. Since I'm pretty sure that the spherical plotting is very well developed I believe there is a mistake in in the definition of SphericalY.

If there was truely a bug, what can I do to get this fixed as soon as possible?

 

Regards,

 

Sven

Does anyone know what kind of algorithm Maple (e.g. version 12) uses for generating random samples by the means of Sample command

in the Statistics package?

 

Thanks a lot for every comment.

Something doesen't seem right, i use the code from the maple - visual basic example (from samples\OpenMaple\msvb ) of plotting a function.

with OpenMaple from VB, the function exp(x) has the asymptote at -infinity, under de OY

and with real Maple doesen't seem to have any problem, the plot looks OK.

who's fault is it and what can I do to improve the quality of the plots from VB - OpenMaple aplication

these are my results

OpenMaple :

 

 

Maple :

Hello all, I am running maple 12, linux version. I was wondering, if using the command line version instead of the graphic Java interface makes any difference in speed (when running very 'hard' algorithms, which are likely to run for several days). Thanks in advance. George

I am running Maple 12 under vista.  All my programs begin with "restart" but each time I "restart" Maple goes off into never never land.  That damn circle that used to be an hour glass just spins and spins and when I hit the "stop" button, Maple asks if I want to disrupt a computation.  But there is no computation.  Have others experienced the same problem?   I can't run anything unless  avoid "restart"ing.              .....Edgar

 

I am not sure where is the proper place to report the following bug.

input:
version(); interface(version); kernelopts(version);
u[1] := proc (t) options operator, arrow; 1+2*t+3*t^2+4*t^3+t^4+t^5+t^6+t^7+t^8+t^9+t^10 end proc;
u[2] := proc (t) options operator, arrow; t end proc;
save u, "/home/user/test.txt";
restart; read "/home/user/test.txt";

output:
User Interface: 277223
         Kernel: 277223

First 27 28 29 30 31 32 33 Last Page 29 of 78