Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346% generated by GAPDoc2LaTeX from XML source (Frank Luebeck)1\documentclass[a4paper,11pt]{report}23\usepackage{a4wide}4\sloppy5\pagestyle{myheadings}6\usepackage{amssymb}7\usepackage[utf8]{inputenc}8\usepackage{makeidx}9\makeindex10\usepackage{color}11\definecolor{FireBrick}{rgb}{0.5812,0.0074,0.0083}12\definecolor{RoyalBlue}{rgb}{0.0236,0.0894,0.6179}13\definecolor{RoyalGreen}{rgb}{0.0236,0.6179,0.0894}14\definecolor{RoyalRed}{rgb}{0.6179,0.0236,0.0894}15\definecolor{LightBlue}{rgb}{0.8544,0.9511,1.0000}16\definecolor{Black}{rgb}{0.0,0.0,0.0}1718\definecolor{linkColor}{rgb}{0.0,0.0,0.554}19\definecolor{citeColor}{rgb}{0.0,0.0,0.554}20\definecolor{fileColor}{rgb}{0.0,0.0,0.554}21\definecolor{urlColor}{rgb}{0.0,0.0,0.554}22\definecolor{promptColor}{rgb}{0.0,0.0,0.589}23\definecolor{brkpromptColor}{rgb}{0.589,0.0,0.0}24\definecolor{gapinputColor}{rgb}{0.589,0.0,0.0}25\definecolor{gapoutputColor}{rgb}{0.0,0.0,0.0}2627%% for a long time these were red and blue by default,28%% now black, but keep variables to overwrite29\definecolor{FuncColor}{rgb}{0.0,0.0,0.0}30%% strange name because of pdflatex bug:31\definecolor{Chapter }{rgb}{0.0,0.0,0.0}32\definecolor{DarkOlive}{rgb}{0.1047,0.2412,0.0064}333435\usepackage{fancyvrb}3637\usepackage{mathptmx,helvet}38\usepackage[T1]{fontenc}39\usepackage{textcomp}404142\usepackage[43pdftex=true,44bookmarks=true,45a4paper=true,46pdftitle={Written with GAPDoc},47pdfcreator={LaTeX with hyperref package / GAPDoc},48colorlinks=true,49backref=page,50breaklinks=true,51linkcolor=linkColor,52citecolor=citeColor,53filecolor=fileColor,54urlcolor=urlColor,55pdfpagemode={UseNone},56]{hyperref}5758\newcommand{\maintitlesize}{\fontsize{50}{55}\selectfont}5960% write page numbers to a .pnr log file for online help61\newwrite\pagenrlog62\immediate\openout\pagenrlog =\jobname.pnr63\immediate\write\pagenrlog{PAGENRS := [}64\newcommand{\logpage}[1]{\protect\write\pagenrlog{#1, \thepage,}}65%% were never documented, give conflicts with some additional packages6667\newcommand{\GAP}{\textsf{GAP}}6869%% nicer description environments, allows long labels70\usepackage{enumitem}71\setdescription{style=nextline}7273%% depth of toc74\setcounter{tocdepth}{1}757677787980%% command for ColorPrompt style examples81\newcommand{\gapprompt}[1]{\color{promptColor}{\bfseries #1}}82\newcommand{\gapbrkprompt}[1]{\color{brkpromptColor}{\bfseries #1}}83\newcommand{\gapinput}[1]{\color{gapinputColor}{#1}}848586\begin{document}8788\logpage{[ 0, 0, 0 ]}89\begin{titlepage}90\mbox{}\vfill9192\begin{center}{\maintitlesize \textbf{ PolymakeInterface \mbox{}}}\\93\vfill9495\hypersetup{pdftitle= PolymakeInterface }96\markright{\scriptsize \mbox{}\hfill PolymakeInterface \hfill\mbox{}}97{\Huge \textbf{ A package to provide algorithms for fans and cones of polymake to other98packages \mbox{}}}\\99\vfill100101{\Huge 2015.01.26 \mbox{}}\\[1cm]102{ 26/01/2015 \mbox{}}\\[1cm]103\mbox{}\\[2cm]104{\Large \textbf{ Thomas Baechler\\105\mbox{}}}\\106{\Large \textbf{ Sebastian Gutsche\\107\mbox{}}}\\108\hypersetup{pdfauthor= Thomas Baechler\\109; Sebastian Gutsche\\110}111\end{center}\vfill112113\mbox{}\\114{\mbox{}\\115\small \noindent \textbf{ Thomas Baechler\\116} Email: \href{mailto://thomas@momo.math.rwth-aachen.de} {\texttt{thomas@momo.math.rwth-aachen.de}}\\117Homepage: \href{http://wwwb.math.rwth-aachen.de/~thomas/} {\texttt{http://wwwb.math.rwth-aachen.de/\texttt{\symbol{126}}thomas/}}\\118Address: \begin{minipage}[t]{8cm}\noindent119Thomas Baechler\\120Lehrstuhl B fuer Mathematik\\121RWTH Aachen\\122Templergraben 64\\12352062 Aachen\\124Germany\\125\end{minipage}126}\\127{\mbox{}\\128\small \noindent \textbf{ Sebastian Gutsche\\129} Email: \href{mailto://sebastian.gutsche@rwth-aachen.de} {\texttt{sebastian.gutsche@rwth-aachen.de}}\\130Homepage: \href{http://wwwb.math.rwth-aachen.de/~gutsche/} {\texttt{http://wwwb.math.rwth-aachen.de/\texttt{\symbol{126}}gutsche/}}\\131Address: \begin{minipage}[t]{8cm}\noindent132Sebastian Gutsche\\133Lehrstuhl B fuer Mathematik, RWTH Aachen\\134Templergraben 64\\13552062 Aachen\\136Germany\\137\end{minipage}138}\\139\end{titlepage}140141\newpage\setcounter{page}{2}142\newpage143144\def\contentsname{Contents\logpage{[ 0, 0, 1 ]}}145146\tableofcontents147\newpage148149\index{\textsf{PolymakeInterface}}150\chapter{\textcolor{Chapter }{Introduction}}\label{Chapter_Introduction}151\logpage{[ 1, 0, 0 ]}152\hyperdef{L}{X7DFB63A97E67C0A1}{}153{154155\section{\textcolor{Chapter }{What is the idea of PolymakeInterface}}\label{Chapter_Introduction_Section_What_is_the_idea_of_PolymakeInterface}156\logpage{[ 1, 1, 0 ]}157\hyperdef{L}{X7B287B7A86173E0D}{}158{159PolymakeInterface is an GAP-Package that provides a link to the callable160library of the CAS polymake. It is not supposed to do any work by itself, but161to provide the methods in polymake to GAP. All the functions in this package162are supposed to be capsuled by functions in the Convex package, which provides163needed structures and datatypes. Also the functions the have nicer names. This164fact also causes that there are no doumentations for functions in this165package. To get an overview about the supported functions, one might look at166the polymake{\textunderscore}main.cpp file or simply message the author.167Working with this package alone without Convex is not recommended. }168169}170171172\chapter{\textcolor{Chapter }{Installation}}\label{Chapter_Installation}173\logpage{[ 2, 0, 0 ]}174\hyperdef{L}{X8360C04082558A12}{}175{176177\section{\textcolor{Chapter }{Install polymake}}\label{Chapter_Installation_Section_Install_polymake}178\logpage{[ 2, 1, 0 ]}179\hyperdef{L}{X800C29157C1742BE}{}180{181To make GAP and polymake work together porperly, one has to make sure that the182two systems are using the same GMP library. You can choose the GMP which183polymake uses by the flag --with-gmp= in the polymake configure skript.184However, having BOTH systems using your systems GMP is HIGHLY recommended. }185186187\section{\textcolor{Chapter }{How to install this package}}\label{Chapter_Installation_Section_How_to_install_this_package}188\logpage{[ 2, 2, 0 ]}189\hyperdef{L}{X81A5946683F0AD7D}{}190{191This package can only be compiled on a system that has the new perpetual beta192of polymake correctly installed, like it is said in the polymake wiki itself.193For more information about this please visit \href{http://www.polymake.org} {www.polymake.org}. For installing this package, first make sure you have polymake installed.194Copy it in your GAP pkg-directory and run the configure script (./configure)195with your GAP root-directory as argument. The default is ../../... Then run196make. After this, the package can be loaded via LoadPackage(197\texttt{\symbol{92}}"PolymakeInterface\texttt{\symbol{92}}" );. }198199}200201202\chapter{\textcolor{Chapter }{Sketch}}\label{Chapter_Sketch}203\logpage{[ 3, 0, 0 ]}204\hyperdef{L}{X8012482A7EFB8816}{}205{206207\section{\textcolor{Chapter }{Sketch methods}}\label{Chapter_Sketch_Section_Sketch_methods}208\logpage{[ 3, 1, 0 ]}209\hyperdef{L}{X7FF412A27CB0DD64}{}210{211212213\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsList)}}214\logpage{[ 3, 1, 1 ]}\nobreak215\hyperdef{L}{X86AA5EBB7DF8F6AF}{}216{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2})\index{POLYMAKESKETCHWITHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsList}217\label{POLYMAKESKETCHWITHOPTIONS:for IsExternalPolymakeObject, IsList}218}\hfill{\scriptsize (operation)}}\\219\textbf{\indent Returns:\ }220nothing221222223224This method produces the sketch output from polymake. Sketch have to be225installed to use this method. The first argument must be a polymake external226object, the second can be a filename, as a string, or a list of pairs227specifying polymakes VISUAL options. In each pair the first entry needs to be228the name of the option, the second should be the value it has to be given. As229value strings and lists of integers are allowed. Please see the polymake230documentation for more informations. }231232233234\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsString, IsList)}}235\logpage{[ 3, 1, 2 ]}\nobreak236\hyperdef{L}{X810E71BB7F4DFEB1}{}237{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2, arg3})\index{POLYMAKESKETCHWITHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsString, IsList}238\label{POLYMAKESKETCHWITHOPTIONS:for IsExternalPolymakeObject, IsString, IsList}239}\hfill{\scriptsize (operation)}}\\240\textbf{\indent Returns:\ }241nothing242243244245This works like the other246POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}DOCUMENTATION247method but one can give a filename and options at the same time. Second248argument here needs to be the filename, third the list of VISUAL option pairs. }249250251252\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE (for IsExternalPolymakeObject, IsString)}}253\logpage{[ 3, 1, 3 ]}\nobreak254\hyperdef{L}{X7A89F4927ACE7AFF}{}255{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE({\mdseries\slshape arg1, arg2})\index{POLYMAKECREATETIKZFILE@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{FILE}!for IsExternalPolymakeObject, IsString}256\label{POLYMAKECREATETIKZFILE:for IsExternalPolymakeObject, IsString}257}\hfill{\scriptsize (operation)}}\\258\textbf{\indent Returns:\ }259nothing260261262263Given a polymake object and a filename, this method produces the tikz output264given by sketch and stores it in the file. }265266267268\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE (for IsExternalPolymakeObject, IsString, IsList)}}269\logpage{[ 3, 1, 4 ]}\nobreak270\hyperdef{L}{X7A1AC32B85E95F36}{}271{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE({\mdseries\slshape arg1, arg2, arg3})\index{POLYMAKECREATETIKZFILE@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{FILE}!for IsExternalPolymakeObject, IsString, IsList}272\label{POLYMAKECREATETIKZFILE:for IsExternalPolymakeObject, IsString, IsList}273}\hfill{\scriptsize (operation)}}\\274\textbf{\indent Returns:\ }275nothing276277278279This does the same as280POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE but281the third argument is passed to the VISUAL command of polymake. It need to be282a (possibly empty) list of options. The list must be consist of pairs, where283the first entry is the name of the option the second the value. As values284strings and lists of integers are allowed. }285286287288\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE{\textunderscore}WITH{\textunderscore}SKETCH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsString, IsList, IsString)}}289\logpage{[ 3, 1, 5 ]}\nobreak290\hyperdef{L}{X87C54FCB7806A324}{}291{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE{\textunderscore}WITH{\textunderscore}SKETCH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2, arg3, arg4})\index{POLYMAKECREATETIKZFILEWITHSKETCHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{F}\-\texttt{I}\-\texttt{L}\-\texttt{E{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsString, IsList, IsString}292\label{POLYMAKECREATETIKZFILEWITHSKETCHOPTIONS:for IsExternalPolymakeObject, IsString, IsList, IsString}293}\hfill{\scriptsize (operation)}}\\294\textbf{\indent Returns:\ }295nothing296297298299Works like300POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE with3013 arguments, but the last argument has to be a string of options passed302directly to sketch. For example, if you want to have a compilable tex file303build, add "-T". }304305}306307}308309\def\bibname{References\logpage{[ "Bib", 0, 0 ]}310\hyperdef{L}{X7A6F98FD85F02BFE}{}311}312313\bibliographystyle{alpha}314\bibliography{PolymakeInterface.bib}315316\addcontentsline{toc}{chapter}{References}317318\def\indexname{Index\logpage{[ "Ind", 0, 0 ]}319\hyperdef{L}{X83A0356F839C696F}{}320}321322\cleardoublepage323\phantomsection324\addcontentsline{toc}{chapter}{Index}325326327\printindex328329\newpage330\immediate\write\pagenrlog{["End"], \arabic{page}];}331\immediate\closeout\pagenrlog332\end{document}333334335