User Tools

Site Tools


gams:get_an_ordered_set_from_a_set_which_is_not_ordered

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gams:get_an_ordered_set_from_a_set_which_is_not_ordered [2008/06/18 15:38]
support
gams:get_an_ordered_set_from_a_set_which_is_not_ordered [2008/10/15 14:17] (current)
support
Line 1: Line 1:
 ====== How do I get an ordered set from a set, which is not ordered? ====== ====== How do I get an ordered set from a set, which is not ordered? ======
  
-Ord() only works on ordered sets. Sets with elements, which have been introduced earlier, may not be ordered. Below is an example, how to get an ordered set in such a situation.+''​Ord()'' ​only works on ordered sets. Sets with elements, which have been introduced earlier, may not be ordered. Below is an example, how to get an ordered set in such a situation
 + 
 +Note: The functions ''​sameas'',​ ''​.pos'',​ and ''​.val''​ will also work, if the set is not ordered.
  
 <​code>​ <​code>​
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/get_an_ordered_set_from_a_set_which_is_not_ordered.txt · Last modified: 2008/10/15 14:17 by support