Thomas Dean

337 Reputation

10 Badges

21 years, 77 days

MaplePrimes Activity


These are replies submitted by Thomas Dean

@acer 

Sorry I did not provide the example first.

But, my question was not about the example, but, in finding documentation about the syntax.

I played with the example and understood what it did.

I wanted to discover where things like [a,b](c,d) were documented, hoping I would learn about more things like this.

I guess my question should have been what does maple do when two delimiters, one closing and one opening are adjacent in the input stream.  But, I could not make that link.

Sorry.

@Carl Love 

Other than reading all the help pages, how do I find useful things like this?  I looked in the user manual and programming guide.  Evalapply is in neither.

Tom Dean

@Carl Love 

Sort of an Undocumented short cut?

@acer 

From an earlier answer to a question:

P:=x->x^4+x^3+a*x^2+sqrt(2)*x+b;

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

solve(evalc([Re,Im](P(1+I)))=~[0,0]);

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))]

@acer 

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

restart;

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
    lim:=1/idx:
    plots[implicitplot](f,x=-lim..lim,y=-lim..lim);
end do;

for idx to 10 do
    lim:=1/idx:
    plots[implicitplot](f,x=-lim..lim,y=-lim..lim,numpoints=1000000);
end do;

 

@Kitonum 

Thanks,

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?

@acer 

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

Thanks

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()

 

4 5 6 7 8 9 Page 6 of 9