[1XAn Interface for using [5Xpolymake[0X in [5XGAP[0X[0X ( Version 0.7.6 ) Marc Roeder Marc Roeder Email: [7Xmailto:marc_roeder(at)web.de[0X Address: Marc Roeder, Department of Mathematics, NUI Galway, Irleland ------------------------------------------------------- [1XAbstract[0X 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. ------------------------------------------------------- [1XCopyright[0X © 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 [7Xhttp://www.gnu.org/copyleft/gpl.html[0X ------------------------------------------------------- [1XAcknowledgements[0X This work has been supported by Marie Curie Grant No. MTKD-CT-2006-042685 ------------------------------------------------------- [1XContent (polymaking)[0X 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 -------------------------------------------------------