Thomas Dean

327 Reputation

10 Badges

19 years, 315 days

MaplePrimes Activity


These are replies submitted by Thomas Dean

@dharr 

This is often the first example of a group:

v:={1,-1,I,-I};M:=Matrix(4,4,(i,j) -> v[i]*v[j] );

G := Group(M); ## invalid input
G := CayleyTableGroup(M); ## also invaid input

How do I create this group?

Thanks all.

I can create (Z/4Z)* two ways,

G:=SmallGroup(4,1);

-or-

G := Group(Matrix(4,4,[[1,2,3,4],[2,4,1,3],[3,1,4,2],[4,3,2,1]]))

These both produce (Z/4Z)*. I have not found how to for (Z/7Z)*

But, for (Z/4Z)+,

  G := Group(Matrix(4,4,[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]]))

produces an invalid input error.

@acer 

Sorry for my earlier omission.

I go back and forth with emacs and xmaple. I attempted to have a setup that would work for either.

Now that I know the problem, I can correct for it.

Thanks for the input.

@Thomas Dean 

I installed Windows 10 on an unused disk and installed Maple 2022.

The plot problem does not happen.

I have suspected the Java used under the Linux installation behaves differently than the windows 10 installation.

I see some strangeness in how things behave.

@Thomas Richard

I often use emacs or command line maple. I goto xmaple when I have some problem like this.

@Thomas Richard

Did you try toggling Dislay -> Plot Display? I can not imagine how this would effect hardware calculations.

Setting Digits to 20 does resolve the problem.

Maxima does not have a problem plotting this. Gnuplot does fine.

I believe acer uses windows. Correct?

I believe there is some disconnect, (in java?) that brings out some effects in the Linux platforms. I seem to have some strangeness...

I have a spare disk and access to windows. Maybe I will add a disk to my system and install Maple 2021 under windows to see if there are differences.

@acer 

What OS? What plot device? Has to some difference...but, what?

interface ->Dislay ->PlotDisplay is'inline'.  plotdevice is maplet and the plot appears in a popup maplet.

Changing inline to window and apply to session seems to fix the problem. Changing Plot Display back to inline makes the plot appear inline.

restart restored the incorrect behavior.

I have Ubuntu 20.04.

> interface(plotdevice)
                             maplet

> interface(version)
 Standard Worksheet Interface, Maple 2022.2, Linux, October 23  2022 Build ID 1657361

@Carl Love

Sorry for the noise.

This code does not work on my Maple 2022.

Please post a worksheet, using the green arrow at the upper right.

@segfault 

A simpler way will be to open each *.mw file with xmaple and then use:

  File -> Export As -> and select *.mpl (Maple Input) as the output file name.

I do this frequently and have never had a problem.

Ubuntu 20.04, over many versions of maple.

I mostly use maplev mode with emacs...

Python has an xml module, pyxml, that may be of use.

A worksheet *.mw file starts with

<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
...

If that is the case with your *.mw files, then you may be able to extract the maple commands with pyxml and write them to a file.

The title says it all.

See typeset-problem.mw

@acer 

I installed Maple 2022 to see if there was a difference. There is not. I get the typesetting message with either.

What version of Ubuntu are you running?

What do you have for

  Options->Display->Input display and Options->Display->Output display? Mine are both set to Maple Notation.

@acer 

In Linux, Maple 2022.2, I have

Options->Display->Input display and Options->Display->Output display.

If I set both to Maple Notation, I get the typesetting message on most input. Most notably, input containing ':='.

I am beginning to think this is a problem with porting Maple 2022.2 to Linux.

Running Maple 2022.2 from an xterm, I see a message:

> /usr/local/Maple2022/bin/xmaple&
[1] 531799

> Picked up JAVA_TOOL_OPTIONS: 

When I exit Maple 2022.2, I see an another message:


(java:531813): Gdk-WARNING **: 15:31:11.715: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.

1 2 3 4 5 6 7 Page 2 of 9