passagemath-coxeter3 10.6.38__cp311-cp311-musllinux_1_2_x86_64.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.
- passagemath_coxeter3/__init__.py +3 -0
- passagemath_coxeter3-10.6.38.dist-info/METADATA +94 -0
- passagemath_coxeter3-10.6.38.dist-info/RECORD +17 -0
- passagemath_coxeter3-10.6.38.dist-info/WHEEL +5 -0
- passagemath_coxeter3-10.6.38.dist-info/top_level.txt +3 -0
- passagemath_coxeter3.libs/libcoxeter3-544a4789.so +0 -0
- passagemath_coxeter3.libs/libgcc_s-0cd532bd.so.1 +0 -0
- passagemath_coxeter3.libs/libstdc++-5d72f927.so.6.0.33 +0 -0
- sage/all__sagemath_coxeter3.py +2 -0
- sage/libs/all__sagemath_coxeter3.py +1 -0
- sage/libs/coxeter3/__init__.py +1 -0
- sage/libs/coxeter3/all__sagemath_coxeter3.py +1 -0
- sage/libs/coxeter3/coxeter.cpython-311-x86_64-linux-musl.so +0 -0
- sage/libs/coxeter3/coxeter.pxd +31 -0
- sage/libs/coxeter3/coxeter.pyx +1223 -0
- sage/libs/coxeter3/coxeter_group.py +717 -0
- sage/libs/coxeter3/decl.pxd +166 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-coxeter3
|
|
2
|
+
|
|
3
|
+
# ****************************************************************************
|
|
4
|
+
# Copyright (C) 2009-2013 Mike Hansen <mhansen@gmail.com>
|
|
5
|
+
#
|
|
6
|
+
# This program is free software: you can redistribute it and/or modify
|
|
7
|
+
# it under the terms of the GNU General Public License as published by
|
|
8
|
+
# the Free Software Foundation, either version 2 of the License, or
|
|
9
|
+
# (at your option) any later version.
|
|
10
|
+
# https://www.gnu.org/licenses/
|
|
11
|
+
# ****************************************************************************
|
|
12
|
+
|
|
13
|
+
cdef extern from "coxeter/globals.h":
|
|
14
|
+
ctypedef unsigned long Ulong
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
########
|
|
18
|
+
# Bits #
|
|
19
|
+
########
|
|
20
|
+
cdef extern from "coxeter/bits.h":
|
|
21
|
+
ctypedef Ulong LFlags
|
|
22
|
+
|
|
23
|
+
cdef extern from "coxeter/coxtypes.h" namespace "coxtypes":
|
|
24
|
+
ctypedef unsigned short Rank
|
|
25
|
+
ctypedef Ulong CoxSize # should hold at least 32 bits
|
|
26
|
+
ctypedef Ulong BettiNbr # should hold at least 32 bits
|
|
27
|
+
ctypedef unsigned CoxNbr # should fit into a CoxSize
|
|
28
|
+
ctypedef CoxNbr ParSize # this should not be changed
|
|
29
|
+
ctypedef unsigned short ParNbr # should fit into a CoxNbr
|
|
30
|
+
ctypedef ParNbr *CoxArr
|
|
31
|
+
ctypedef unsigned char CoxLetter # for string representations
|
|
32
|
+
ctypedef CoxLetter Generator # internal representation of generators
|
|
33
|
+
ctypedef unsigned short Length
|
|
34
|
+
ctypedef Ulong StarOp # for numbering star operations
|
|
35
|
+
|
|
36
|
+
#################
|
|
37
|
+
# CoxWord #
|
|
38
|
+
#################
|
|
39
|
+
cdef cppclass c_CoxWord "coxtypes::CoxWord":
|
|
40
|
+
CoxLetter operator[](Length j)
|
|
41
|
+
Length length()
|
|
42
|
+
void setLength(Length n)
|
|
43
|
+
c_CoxWord append(CoxLetter& a)
|
|
44
|
+
c_CoxWord reset()
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
################
|
|
48
|
+
# String #
|
|
49
|
+
################
|
|
50
|
+
cdef extern from "coxeter/io.h" namespace "io":
|
|
51
|
+
cdef cppclass c_String "io::String":
|
|
52
|
+
c_String()
|
|
53
|
+
c_String(char* s)
|
|
54
|
+
void setLength(Ulong& n)
|
|
55
|
+
Ulong length()
|
|
56
|
+
char* ptr()
|
|
57
|
+
void setData(char* source, Ulong r)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
##############
|
|
61
|
+
# Type #
|
|
62
|
+
##############
|
|
63
|
+
cdef extern from "coxeter/type.h":
|
|
64
|
+
cdef cppclass c_Type "coxeter::Type":
|
|
65
|
+
c_Type()
|
|
66
|
+
c_Type(char* s)
|
|
67
|
+
c_String name()
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
##############
|
|
71
|
+
# Bits #
|
|
72
|
+
##############
|
|
73
|
+
cdef extern from "coxeter/bits.h" namespace "bits":
|
|
74
|
+
Generator firstBit(Ulong n)
|
|
75
|
+
|
|
76
|
+
##################
|
|
77
|
+
# CoxGraph #
|
|
78
|
+
##################
|
|
79
|
+
cdef extern from "coxeter/graph.h" namespace "graph":
|
|
80
|
+
ctypedef unsigned short CoxEntry
|
|
81
|
+
ctypedef struct c_CoxGraph "graph::CoxGraph":
|
|
82
|
+
pass
|
|
83
|
+
|
|
84
|
+
###############
|
|
85
|
+
# KLPol #
|
|
86
|
+
###############
|
|
87
|
+
cdef extern from "coxeter/kl.h" namespace "kl":
|
|
88
|
+
cdef cppclass c_KLPol "kl::KLPol":
|
|
89
|
+
const unsigned short& operator[](Ulong j)
|
|
90
|
+
unsigned long deg()
|
|
91
|
+
int isZero()
|
|
92
|
+
|
|
93
|
+
cdef extern from "coxeter/polynomials.h" namespace "polynomials":
|
|
94
|
+
c_String klpoly_append "polynomials::append"(c_String str, c_KLPol, char* x)
|
|
95
|
+
|
|
96
|
+
##################
|
|
97
|
+
# List #
|
|
98
|
+
##################
|
|
99
|
+
cdef extern from "coxeter/list.h" namespace "list":
|
|
100
|
+
cdef cppclass c_List_CoxWord "list::List<coxtypes::CoxWord> ":
|
|
101
|
+
c_List_CoxWord()
|
|
102
|
+
c_List_CoxWord(Ulong len)
|
|
103
|
+
c_CoxWord operator[](Ulong j)
|
|
104
|
+
Ulong size()
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
###################
|
|
108
|
+
# CoxGroup #
|
|
109
|
+
###################
|
|
110
|
+
cdef extern from "coxeter/coxgroup.h":
|
|
111
|
+
cdef cppclass c_CoxGroup "coxeter::CoxGroup":
|
|
112
|
+
c_CoxGroup()
|
|
113
|
+
c_CoxGroup(c_Type t, Rank r)
|
|
114
|
+
|
|
115
|
+
Rank rank()
|
|
116
|
+
c_Type type()
|
|
117
|
+
CoxSize order()
|
|
118
|
+
c_CoxWord reduced(c_CoxWord& res, c_CoxWord& w)
|
|
119
|
+
c_CoxWord normalForm(c_CoxWord& w)
|
|
120
|
+
c_CoxWord prod(c_CoxWord& g, c_CoxWord& h)
|
|
121
|
+
int prod_nbr "prod"(c_CoxWord& g, CoxNbr& x)
|
|
122
|
+
|
|
123
|
+
c_CoxGraph graph()
|
|
124
|
+
CoxEntry M(Generator s, Generator t)
|
|
125
|
+
CoxNbr extendContext(c_CoxWord& w)
|
|
126
|
+
c_KLPol klPol(CoxNbr& x, CoxNbr& y)
|
|
127
|
+
bint inOrder(c_CoxWord& u, c_CoxWord& w)
|
|
128
|
+
bint inOrder(CoxNbr x, CoxNbr y)
|
|
129
|
+
|
|
130
|
+
LFlags descent(c_CoxWord& w)
|
|
131
|
+
LFlags ldescent(c_CoxWord& w)
|
|
132
|
+
LFlags rdescent(c_CoxWord& w)
|
|
133
|
+
bint isDescent(c_CoxWord& w, Generator& s)
|
|
134
|
+
|
|
135
|
+
void coatoms(c_List_CoxWord& l, c_CoxWord& u)
|
|
136
|
+
|
|
137
|
+
unsigned short mu(CoxNbr& x, CoxNbr& y)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
#####################
|
|
141
|
+
# Interactive #
|
|
142
|
+
#####################
|
|
143
|
+
cdef extern from "coxeter/interactive.h" namespace "interactive":
|
|
144
|
+
c_CoxGroup* coxeterGroup(c_Type x, Rank l)
|
|
145
|
+
|
|
146
|
+
cdef extern from "coxeter/constants.h":
|
|
147
|
+
void initConstants()
|
|
148
|
+
|
|
149
|
+
###############################
|
|
150
|
+
# Finite Coxeter groups #
|
|
151
|
+
###############################
|
|
152
|
+
cdef extern from "coxeter/fcoxgroup.h" namespace "fcoxgroup":
|
|
153
|
+
ctypedef struct c_FiniteCoxGroup "fcoxgroup::FiniteCoxGroup":
|
|
154
|
+
void fullContext()
|
|
155
|
+
bint isFullContext()
|
|
156
|
+
Length maxLength()
|
|
157
|
+
c_CoxWord longest_coxword()
|
|
158
|
+
|
|
159
|
+
bint isFiniteType(c_CoxGroup *W)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
######################
|
|
163
|
+
# Sage specific #
|
|
164
|
+
######################
|
|
165
|
+
cdef extern from "coxeter/sage.h" namespace "sage":
|
|
166
|
+
void interval(c_List_CoxWord& l, c_CoxGroup& W, c_CoxWord& g, c_CoxWord& h)
|