source: git/libfac/charset/reorder.h @ 4a81ec

spielwiese
Last change on this file since 4a81ec was 4a81ec, checked in by Hans Schönemann <hannes@…>, 27 years ago
* hannes/michael: libfac-0.3.0 git-svn-id: file:///usr/local/Singular/svn/trunk@708 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.9 KB
Line 
1/** Copyright 1996 Michael Messollen. All rights reserved. */
2////////////////////////////////////////////////////////////
3// emacs edit mode for this file is -*- C++ -*-
4// $Id: reorder.h,v 1.3 1997-09-12 07:19:45 Singular Exp $
5////////////////////////////////////////////////////////////
6#ifndef INCL_REORDER_H
7#define INCL_REORDER_H
8
9#include <factory.h>
10#include <tmpl_inst.h>  // for typedef's
11
12/*BEGINPUBLIC*/
13// the next three give you a heuristically optimal reorderd list of the
14// variables. For internal and external (e.g. Singular/Macaulay2) library use.
15// This is really experimental!
16// See the comments in reorder.cc.
17//
18// this gives you a heuristically optimal ordering for the ring variables
19// if you use the irreducible characteristic series.
20Varlist  neworder( const CFList & PolyList );
21// the same as neworder(...) only returning a list of CanonicalForm 's
22// (i.e. the variables as CanonicalForms)
23CFList   newordercf(const CFList & PolyList );
24// the same as neworder(...) only returning a list of int 's (i.e. the levels)
25IntList  neworderint(const CFList & PolyList );
26
27// for library internal use only:
28// next function reorders the variables in PS:
29// a code segment to use:
30// ...
31// #include <tmpl_inst.h> // for typedef's
32// CFList PS= <setup-your-list-of-CanonicalForms>;
33// Varlist betterorder= neworder(PS);
34// PS= reorder(betterorder,PS); // reorder variables in PS from oldorder
35//                                 to betterorder
36// ListCFList Q= IrrCharSeries( PS );
37// Q= reorder(betterorder,Q);   // revert ordering to oldorder
38//
39CFList reorder( const Varlist & betterorder, const CFList & PS);
40CFFList reorder( const Varlist & betterorder, const CFFList & PS);
41ListCFList reorder(const Varlist & betterorder, const ListCFList & Q);
42/*ENDPUBLIC*/
43
44#endif /* INCL_REORDER_H */
45
46////////////////////////////////////////////////////////////
47/*
48$Log: not supported by cvs2svn $
49Revision 1.1  1997/04/25 22:50:41  michael
50Initial revision
51
52*/
Note: See TracBrowser for help on using the repository browser.