summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Scrimshaw <tscrimsh at umn.edu>2016-03-08 17:32:36 -0600
committerTravis Scrimshaw <tscrimsh at umn.edu>2016-03-08 17:32:36 -0600
commit274f662b5797dfc13bc7a3e578a5023aff762069 (patch)
tree61865d2ebd992c4c10667a938e9d9a700682c107
parentMerge branch 'public/combinat/speedup_coxeter_weyl_matrix_groups-19821' of tr... (diff)
parentImplementing reviewer comments. (diff)
Merge branch 'public/groups/cythonize_matrix_group_element-19870' of trac.sagemath.org:sage into public/combinat/speedup_coxeter_weyl_matrix_groups-19821
-rw-r--r--src/sage/groups/matrix_gps/group_element.pxd18
-rw-r--r--src/sage/groups/matrix_gps/group_element.pyx17
-rw-r--r--src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py42
3 files changed, 45 insertions, 32 deletions
diff --git a/src/sage/groups/matrix_gps/group_element.pxd b/src/sage/groups/matrix_gps/group_element.pxd
new file mode 100644
index 00000000..eba68df
--- /dev/null
+++ b/src/sage/groups/matrix_gps/group_element.pxd
@@ -0,0 +1,18 @@
+from sage.structure.element cimport MultiplicativeGroupElement, Element, MonoidElement, Matrix
+from sage.groups.libgap_wrapper cimport ElementLibGAP
+
+cpdef is_MatrixGroupElement(x)
+
+cdef class MatrixGroupElement_generic(MultiplicativeGroupElement):
+ cdef public Matrix _matrix
+
+ cpdef _act_on_(self, x, bint self_on_left)
+ cpdef int _cmp_(self, Element other) except -2
+ cpdef list list(self)
+ cpdef MonoidElement _mul_(self,