CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

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

Views: 418346
1
// The usual Header.
2
#include "loadgap.h"
3
#include "polymake_data.h"
4
5
#include <polymake/Main.h>
6
#include <polymake/Matrix.h>
7
#include <polymake/Rational.h>
8
9
#include <iostream>
10
#include <map>
11
#include <utility>
12
13
using std::cerr;
14
using std::endl;
15
using std::string;
16
using std::map;
17
using std::pair;
18
19
20
Obj REAL_CREATE_POLYTOPE_BY_POINTS( Polymake_Data* , Obj );
21
22
23
Obj REAL_VERTICES_OF_POLYTOPE( Polymake_Data* , Obj );
24
25
26
Obj REAL_CREATE_POLYTOPE_BY_INEQUALITIES( Polymake_Data*, Obj );
27
28
29
Obj REAL_LATTICE_POINTS_OF_POLYTOPE( Polymake_Data*, Obj );
30
31
32
Obj REAL_FACET_INEQUALITIES_OF_POLYTOPE( Polymake_Data*, Obj );
33
34
35
Obj REAL_EQUALITIES_OF_POLYTOPE( Polymake_Data*, Obj );
36
37
38
Obj REAL_INTERIOR_LATTICE_POINTS( Polymake_Data*, Obj );
39
40
// New
41
Obj REAL_CREATE_POLYTOPE_BY_HOMOGENEOUS_POINTS( Polymake_Data*, Obj );
42
43
44
Obj REAL_HOMOGENEOUS_POINTS_OF_POLYTOPE( Polymake_Data*, Obj );
45
46
47
Obj REAL_TAIL_CONE_OF_POLYTOPE( Polymake_Data*, Obj );
48
49
50
Obj REAL_MINKOWSKI_SUM( Polymake_Data*, Obj, Obj );
51
52
53
Obj REAL_MULTIPLY_POLYTOPE_WITH_SCALAR( Polymake_Data*, Obj, Obj );
54
55
56
Obj REAL_MINKOWSKI_SUM_WITH_COEFFICIENTS( Polymake_Data*, Obj, Obj, Obj, Obj );
57
58
59
Obj REAL_LATTICE_POINTS_GENERATORS( Polymake_Data*, Obj );
60
61
62
Obj REAL_INTERSECTION_OF_POLYTOPES( Polymake_Data*, Obj, Obj);
63