Goto Chapter: Top 1 2 3 4 Bib Ind
Top of Book Next Chapter

# An Interface for using polymake in GAP

( Version 0.7.6 )

Marc Roeder
e-mail: marc_roeder(at)web.de

Address:
Marc Roeder, Department of Mathematics, NUI Galway, Irleland

### Abstract

This package provides a very basic interface to the polymake program by Ewgenij Gawrilow, Michael Joswig et al. [GJ]. The polymake program itself is not included.

### Copyright

© 2007 Marc Roeder.

This package is distributed under the terms of the GNU General Public License version 2 or later (at your convenience). See the file "LICENSE.txt" or http://www.gnu.org/copyleft/gpl.html

### Acknowledgements

This work has been supported by Marie Curie Grant No. MTKD-CT-2006-042685

### Contents

1. Installation and Preface
1.1 A few words about the installation of polymake
1.2 Setting variables for external programs
1.2-1 SetPolymakeDataDirectory
1.2-2 SetPolymakeCommand
1.2-3 SetPolymakeClientPaths
1.2-4 Setting variables permanently
2. Polymake interaction
2.1 Creating Polymake Objects
2.1-1 CreateEmptyFile
2.1-2 CreatePolymakeObject
2.1-3 CheckAppVerTypList
2.1-4 CreatePolymakeObjectFromFile
2.2 Accessing Properties of Polymake Objects
2.2-1 DirectoryOfPolymakeObject
2.2-2 FilenameOfPolymakeObject
2.2-3 FullFilenameOfPolymakeObject
2.2-4 NamesKnownPropertiesOfPolymakeObject
2.2-5 KnownPropertiesOfPolymakeObject
2.2-6 PropertyOfPolymakeObject
2.3 Example: Creating and Accessing Polymake Objects
2.4 Writing to Polymake Objects
2.4-1 AppendToPolymakeObject
2.4-2 AppendPointlistToPolymakeObject
2.4-3 AppendVertexlistToPolymakeObject
2.4-4 AppendInequalitiesToPolymakeObject
2.4-5 ConvertMatrixToPolymakeString
2.4-6 ClearPolymakeObject
2.4-7 WriteKnownPropertyToPolymakeObject
2.4-8 UnbindKnownPropertyOfPolymakeObject
2.5 Calling Polymake and converting its output
2.5-1 Polymake
2.6 An Example
2.7 Calling Clients
2.7-1 PolymakeClient
3. Global Variables
3.1 Getting information about polymake output
3.1-1 InfoPolymaking
3.1-2 POLYMAKE_LAST_FAIL_REASON
3.2 Variables for system interaction
3.2-1 POLYMAKE_COMMAND
3.2-2 POLYMAKE_DATA_DIR
3.2-3 POLYMAKE_CLIENT_PATHS
4. Converting Polymake Output
4.1 The General Method
4.1-1 Converter- Philosopy
4.1-2 ConvertPolymakeOutputToGapNotation
4.1-3 SplitPolymakeOutputStringIntoBlocks
4.1-4 ObjectConverters
4.2 Conversion Functions
4.2-1 ConvertPolymakeNumber
4.2-2 ConvertPolymakeScalarToGAP
4.2-3 ConvertPolymakeMatrixOrListOfSetsToGAP
4.2-4 ConvertPolymakeMatrixToGAP
4.2-5 ConvertPolymakeVectorToGAP
4.2-6 ConvertPolymakeBoolToGAP
4.2-7 ConvertPolymakeSetToGAP
4.2-8 ConvertPolymakeListOfSetsToGAP
4.2-9 ConvertPolymakeGraphToGAP
4.2-10 ConvertPolymakeHasseDiagramToGAP
Top of Book Next Chapter
Goto Chapter: Top 1 2 3 4 Bib Ind

generated by GAPDoc2HTML