Items tagged with ordering ordering Tagged Items Feed

Stop ordering posts by votes! ... For two reasons.

1 - Someone who comes up with the idea first should be ordered as such.

2 - Conversations can get mixed up

**edit change** I have changed the title from Stop ordering posts by votes to Mapleprimes wish list. 

powerset ordering

June 29 2012 by susan_in_penn 5 Maple

Hello! I am running the same piece of maple code on different machines, and I have noticed that the powerset function returns the sets in a different order. For example,

Maple 11 (X86 64 LINUX)

> powerset(3);
            {{}, {1, 2, 3}, {2, 3}, {3}, {1, 3}, {1}, {2}, {1, 2}}

Maple 14

> powerset(3);
            {{}, {1}, {2},...

I have a 6x6 matrix that depends on 8 parameters, M(F) (F is an 8-dim array, say...), and I want to compute the eigenvalues of this matrix both at a fixed point F_0 and at some other arbitrary point F'. The problem is that I need to make sure the ordering of the Eigenvalues remains the same at these two points, so that if I'd go continuously from F_0 to F' the eigenvalues would go continuously from Eigenvalues(M(F_0)) to Eigenvalues(M(F')), without any flip in the order of the entries.

Hi,

I have those questions:

1) set

When I write these inputs,

x:={1,3,2}; y:={b,a,d,c}; z:={a[1],a[1,1],b[0],d[0],c[0],a[0],2};

the results are x := {1, 2, 3}, y := {a, b, c, d}, z := {2, a[0], a[1], a[1,1], b[0], c[0], d[0]}

Is there a way to get what I input

2) This problem in ordering numbers and words is verry important and hard when solving a large system of equations with:

restart:with(SolveTools): eqns:=[a[0...

Perhaps you have heard the terms "ordering difference" or "session dependent" applied to results of some Maple computation. It used to get heard more often back before Maple 12, when elements of sets in Maple were ordered according to address.

The following type of difference in behaviour, due to deterministic ordering of sets as introduced in Maple 12, may affect implementations of some algorithms.

    |\^/|     Maple 11 (X86 64 LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2007
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.

> seq(x, x in {a,b,c,d,e,f,g}) assuming d>0;
   ...
Page 1 of 1