-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sage.geometry.integral_points: Fall back to generic impl if matrix_in…
…teger_dense is not available
- Loading branch information
Matthias Koeppe
committed
Feb 15, 2023
1 parent
525c625
commit 9a8b269
Showing
5 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
try: | ||
from .integral_points_integer_dense import ( | ||
parallelotope_points, | ||
ray_matrix_normal_form, | ||
loop_over_parallelotope_points, | ||
simplex_points, | ||
rectangular_box_points, | ||
print_cache | ||
) | ||
except ImportError: | ||
from .integral_points_generic_dense import ( | ||
parallelotope_points, | ||
ray_matrix_normal_form, | ||
loop_over_parallelotope_points, | ||
simplex_points, | ||
rectangular_box_points, | ||
print_cache | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#cython: wraparound=False, boundscheck=False | ||
|
||
from sage.modules.vector_integer_dense cimport Vector_integer_dense as VectorClass | ||
from sage.matrix.matrix_dense cimport Matrix_dense as MatrixClass | ||
|
||
include "integral_points.pxi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#cython: wraparound=False, boundscheck=False | ||
|
||
from sage.modules.vector_integer_dense cimport Vector_integer_dense as VectorClass | ||
from sage.matrix.matrix_integer_dense cimport Matrix_integer_dense as MatrixClass | ||
|
||
include "integral_points.pxi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters