Thomas Dean

312 Reputation

10 Badges

18 years, 313 days

MaplePrimes Activity

These are replies submitted by Thomas Dean

@Carl Love 

Sort of an Undocumented short cut?


From an earlier answer to a question:


[Re,Im](P(1+I)); ## in


Looking at this, it behaves like map in that [Re,Im](P(1+I));  returns a list of

    [Re(P(1+I)), Im(P(1+I))]


It appears that maple2019 does not like subscripted variables as parameters.


p[D] := r[D] -> 3*r[D];

 invalid parameter; functional operators require their parameters to be of type symbol or (symbol::type)

@Thomas Richard 

I just upgraded to maple2019, the default release then.  Now that maple2020 is released, Maplesoft promised a free upgrade, since I just upgaded to 2019...

For now, I get FAIL.

@Thomas Richard 

This is a long chain of questions/answers, starting in maxima.

If I use enough points, maple produces the most correct plot.

I use maple for most things.

f:= 2*x^5-x^3*y+2*x^2*y^2-x*y^3+2*y^5;
for idx to 10 do
end do;

for idx to 10 do
end do;




After you pointed the way, I can manually factor f.  Programmatically?

Other than inspection, how do I determine the sign of a group of terms?


interface(ansi=false) in .mapleinit fixed the problem.


I use linux and command line maple 2019, running in an xterm, with courier 12 font.

When I type, for example, a 'y', it looks like a courier 'y'.  If I then press a space bar, the character changes, so it looks more like a 'u' with an underscore.  If I do this in an xterm not running maple, the character remains looking like a courier 12 'y'.

This echoed character must be coming from maple.

How do I fix this?

I use Maple 2019 and have not seen this.

How long does it freeze?  Is it just busy?  How about CPU usage?

I recently browsed through the maplesoft applications.  I poined it out, hoping it would help.

Maybe someone will be able to help tomorrow or Monday.

I use linux and command line maple 2019.  The font is controlled by the xterm.

alias maple='/usr/bin/xterm -T Maple -j -sk -sl 1000 -bc -bg white -fg black -geometry 80x55 -fa "Courier" -fs 12 -e /usr/local/maple2019/bin/maple &'

Again, google and reading...

@Joe Riel 


It works fine, if I follow instructions and put the preprocessor commands in a file.

Sorry for the noise...

@Joe Riel 

    |\^/|     Maple 2016 (X86 64 LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2016
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.
> $define Time(x) restart; \                                     
syntax error, missing operator or `;`:
>                 proc() \
>                 local data := [seq(1..10^6)]; \
>                     CodeTools:-Usage(proc() to 10^4 do \
>                                                 evalb(x) \
>                                             end do; \
>                                      end proc()); \
>                 end proc()





N:=<M | <Y,E,A,R>>;

And, the result be

YEARs := [2002, 2013, 2020, 2024, 2035, 2046, 2057, 2068, 2079]

F := [x^2+y+z-1, y^2+x+z-1, z^2+x+y-1]:

soln := solve(F):

lprint("Equations:  ",F);
for s in soln do
  if nops([allvalues(s)]) = 1 then
    lprint("substitute: ",s);
    lprint("   results: ",subs(s,F));
    for t in allvalues(s) do
      lprint("substitute: ",t);
      lprint("   results: ",evala(subs(t,F)));
    end do;
  end if;
end do;


4 5 6 7 8 9 Page 6 of 9