passagemath-latte-4ti2 10.6.33__cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-latte-4ti2 might be problematic. Click here for more details.

Files changed (65) hide show
  1. passagemath_latte_4ti2-10.6.33.dist-info/METADATA +157 -0
  2. passagemath_latte_4ti2-10.6.33.dist-info/RECORD +65 -0
  3. passagemath_latte_4ti2-10.6.33.dist-info/WHEEL +6 -0
  4. passagemath_latte_4ti2-10.6.33.dist-info/top_level.txt +2 -0
  5. passagemath_latte_4ti2.libs/lib4ti2common-a503c59a.so.0.0.0 +0 -0
  6. passagemath_latte_4ti2.libs/lib4ti2gmp-cc07667c.so.0.0.0 +0 -0
  7. passagemath_latte_4ti2.libs/lib4ti2int32-8edd6011.so.0.0.0 +0 -0
  8. passagemath_latte_4ti2.libs/lib4ti2int64-f6cc34ab.so.0.0.0 +0 -0
  9. passagemath_latte_4ti2.libs/lib4ti2util-1e2ba2e1.so.0.0.0 +0 -0
  10. passagemath_latte_4ti2.libs/libLiDIA-e2c3e770.so.0.0.0 +0 -0
  11. passagemath_latte_4ti2.libs/libcddgmp-ac579979.so.0.1.3 +0 -0
  12. passagemath_latte_4ti2.libs/libgf2x-fbd36f80.so.3.0.0 +0 -0
  13. passagemath_latte_4ti2.libs/libglpk-30fa236a.so.40.3.1 +0 -0
  14. passagemath_latte_4ti2.libs/libgmp-93ebf16a.so.10.5.0 +0 -0
  15. passagemath_latte_4ti2.libs/libgmpxx-0d9ed651.so.4.7.0 +0 -0
  16. passagemath_latte_4ti2.libs/liblatte-5119da9a.so.0.0.0 +0 -0
  17. passagemath_latte_4ti2.libs/libnormalize-2d5ac6a7.so.0.0.0 +0 -0
  18. passagemath_latte_4ti2.libs/libntl-0043a3a2.so.44.0.1 +0 -0
  19. passagemath_latte_4ti2.libs/libzsolve-acbcdf65.so.0.0.0 +0 -0
  20. sage/all__sagemath_latte_4ti2.py +4 -0
  21. sage/interfaces/all__sagemath_latte_4ti2.py +1 -0
  22. sage/interfaces/four_ti_2.py +531 -0
  23. sage/interfaces/latte.py +632 -0
  24. sage/libs/all__sagemath_latte_4ti2.py +1 -0
  25. sage/libs/latte_int.cpython-314t-aarch64-linux-gnu.so +0 -0
  26. sage/libs/latte_int.pyx +1 -0
  27. sage_wheels/bin/4ti2gmp +0 -0
  28. sage_wheels/bin/4ti2int32 +0 -0
  29. sage_wheels/bin/4ti2int64 +0 -0
  30. sage_wheels/bin/ConvertCDDextToLatte +0 -0
  31. sage_wheels/bin/ConvertCDDineToLatte +0 -0
  32. sage_wheels/bin/circuits +64 -0
  33. sage_wheels/bin/count +0 -0
  34. sage_wheels/bin/count-linear-forms-from-polynomial +0 -0
  35. sage_wheels/bin/ehrhart +0 -0
  36. sage_wheels/bin/ehrhart3 +0 -0
  37. sage_wheels/bin/genmodel +0 -0
  38. sage_wheels/bin/gensymm +0 -0
  39. sage_wheels/bin/graver +17 -0
  40. sage_wheels/bin/groebner +64 -0
  41. sage_wheels/bin/hilbert +17 -0
  42. sage_wheels/bin/hilbert-from-rays +0 -0
  43. sage_wheels/bin/hilbert-from-rays-symm +0 -0
  44. sage_wheels/bin/integrate +0 -0
  45. sage_wheels/bin/latte-maximize +0 -0
  46. sage_wheels/bin/latte-minimize +0 -0
  47. sage_wheels/bin/latte2ext +0 -0
  48. sage_wheels/bin/latte2ine +0 -0
  49. sage_wheels/bin/markov +64 -0
  50. sage_wheels/bin/minimize +64 -0
  51. sage_wheels/bin/normalform +64 -0
  52. sage_wheels/bin/output +0 -0
  53. sage_wheels/bin/polyhedron-to-cones +0 -0
  54. sage_wheels/bin/ppi +0 -0
  55. sage_wheels/bin/qsolve +64 -0
  56. sage_wheels/bin/rays +64 -0
  57. sage_wheels/bin/top-ehrhart-knapsack +0 -0
  58. sage_wheels/bin/triangulate +0 -0
  59. sage_wheels/bin/walk +64 -0
  60. sage_wheels/bin/zbasis +64 -0
  61. sage_wheels/bin/zsolve +0 -0
  62. sage_wheels/share/latte-int/m-knapsack.mpl +1245 -0
  63. sage_wheels/share/latte-int/simplify.add +7 -0
  64. sage_wheels/share/latte-int/simplify2.add +9 -0
  65. sage_wheels/share/latte-int/simplify3.add +13 -0
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
sage_wheels/bin/count ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
sage_wheels/bin/graver ADDED
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+
3
+ # We locate where this script is so we can call the executable zsolve which
4
+ # should be in the same directory as this script.
5
+ SCRIPT=$(realpath $(which "$0"))
6
+ SCRIPTDIR=`dirname "$SCRIPT"`
7
+ EXECUTABLE=zsolve
8
+
9
+ # Check if zsolve executable exists.
10
+ if [ ! -f "$SCRIPTDIR/$EXECUTABLE" ]
11
+ then
12
+ echo "Error: Unable to find the executable \`$EXECUTABLE'."
13
+ echo "Error: It should have been in the directory \`$SCRIPTDIR'."
14
+ exit 1
15
+ fi
16
+
17
+ "$SCRIPTDIR"/$EXECUTABLE -G $@
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+
3
+ # We locate where this script is so we can call the executable zsolve which
4
+ # should be in the same directory as this script.
5
+ SCRIPT=$(realpath $(which "$0"))
6
+ SCRIPTDIR=`dirname "$SCRIPT"`
7
+ EXECUTABLE=zsolve
8
+
9
+ # Check if zsolve executable exists.
10
+ if [ ! -f "$SCRIPTDIR/$EXECUTABLE" ]
11
+ then
12
+ echo "Error: Unable to find the executable \`$EXECUTABLE'."
13
+ echo "Error: It should have been in the directory \`$SCRIPTDIR'."
14
+ exit 1
15
+ fi
16
+
17
+ "$SCRIPTDIR"/$EXECUTABLE -H $@
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
sage_wheels/bin/markov ADDED
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
sage_wheels/bin/output ADDED
Binary file
Binary file
sage_wheels/bin/ppi ADDED
Binary file
sage_wheels/bin/qsolve ADDED
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
sage_wheels/bin/rays ADDED
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
Binary file
Binary file
sage_wheels/bin/walk ADDED
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
sage_wheels/bin/zbasis ADDED
@@ -0,0 +1,64 @@
1
+ #!/bin/sh
2
+
3
+ # 4ti2 -- A software package for algebraic, geometric and combinatorial
4
+ # problems on linear spaces.
5
+ #
6
+ # Copyright (C) 2006 4ti2 team.
7
+ # Main author(s): Peter Malkin
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
+
23
+ # We locate where this script is so we can call the executables.
24
+ SCRIPT=$(realpath $(which "$0"))
25
+ DIR=`dirname "$SCRIPT"`
26
+ FUNCTION=`basename "$SCRIPT"`
27
+
28
+ # The default executable.
29
+ EXECUTABLE=4ti2int64
30
+
31
+ # We look for options on the command line which indicate the level of precision
32
+ # required and we call the appropriate 4ti2 executable according to the required
33
+ # precision level. The short option is `-p' and the long option is
34
+ # `--precision', and the argument to either is one of 32, 64, or `arbitrary'.
35
+ # The following regular expressions are not exactly correct since for example
36
+ # they allow misspellings of precision. However, they will match correctly
37
+ # formatted input and if the option is incorrectly formatted, the actual
38
+ # executable will pick up any errors.
39
+ if echo $@ | grep -E -q -e '-p *32 ' ||
40
+ echo $@ | grep -E -q -e '--p[recision]* *=? *32 '
41
+ then
42
+ EXECUTABLE=4ti2int32
43
+ elif echo $@ | grep -E -q -e '-p *64 ' ||
44
+ echo $@ | grep -E -q -e '--p[recision]* *=? *64 '
45
+ then
46
+ EXECUTABLE=4ti2int64
47
+ elif echo $@ | grep -E -q -e '-p *a[rbitrary]* ' ||
48
+ echo $@ | grep -E -q -e '--p[recision]* *=? *a[rbitrary]* '
49
+ then
50
+ EXECUTABLE=4ti2gmp
51
+ fi
52
+
53
+ # We check whether the 4ti2 executable exists.
54
+ if [ ! -f "$DIR/$EXECUTABLE" ]
55
+ then
56
+ echo "Error: Unable to find 4ti2 executable \`$EXECUTABLE'"
57
+ exit 1
58
+ fi
59
+
60
+ # We add the path $DIR to load shared libraries for the libglpk
61
+ # libgmp, and libgmpxx libraries.
62
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR
63
+
64
+ "$DIR"/$EXECUTABLE $FUNCTION $@
sage_wheels/bin/zsolve ADDED
Binary file