user_guide:lingo

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
user_guide:lingo [2019/02/05 13:41] – [Extension] added links oroehriguser_guide:lingo [2019/02/05 14:18] – [Application] buffed application section. oroehrig
Line 5: Line 5:
 ===== Application ===== ===== Application =====
  
-An application is a bunch of things which belong together mathematically.  Within the polymake project applications form the highest level in the overall hierarchy of things Each application comes with its own set of big objects.+An application is a collection of functions and objects which belong together mathematically. Currently polymake consists of the following applications: 
 +  * **common** for things shared between all applications 
 +  * **fan** for fans 
 +  * **fulton** for tropical vaieties 
 +  * **graph** for graphs 
 +  * **group** for groups and their actions on polymake objects 
 +  * **matroid** for matroids 
 +  * **polytope** for polytopes 
 +  * **topaz** for topology-related things 
 +  * **tropical** for tropical gemoetry
  
-The prompt in the polymake shell lists the currently active application.  Switch via "application 'that_application';" or use the -A flag on the command line.+The prompt in the polymake shell indicates the currently active application. You can switch by typing 
 +<code> application 'topaz'; </code> 
 +The default application active on startup is ''polytope''. You can change that by using the -A flag on the command line.
  
-Within the source code an application is visible as the top level subdirectory "apps/this_application" This directory always contains the file "rules/main.rules" which defines the big objects and the rules among them.+You can also use things from other applications than the current one by prepending the application name: 
 +<code
 +topaz > $c = polytope::cube(3); 
 +</code>
  
-Each application defines a namespace, both in the Perl and the C++ realms.  Applications can import types and functions from other applications' namespaces. 
- 
-Examples are polytope, fan, matroid, fan, fulton, or tropical. 
- 
-There is a special application "common" which takes care of much of the polymake magic ;-) 
  
 +Within the source code an application is visible as the top level subdirectory "apps/this_application" This directory always contains the file "rules/main.rules" which defines the big objects and the rules among them. Each application defines a namespace, both in the Perl and the C++ realms.  Applications can import types and functions from other applications' namespaces.
 ===== Extension ===== ===== Extension =====