schubmult 1.3.3__tar.gz → 1.3.5__tar.gz

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.
Files changed (31) hide show
  1. {schubmult-1.3.3 → schubmult-1.3.5}/PKG-INFO +2 -2
  2. {schubmult-1.3.3 → schubmult-1.3.5}/README.md +1 -1
  3. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q/schubmult_q.py +2 -1
  4. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_double/schubmult_q_double.py +7 -7
  5. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_yz/schubmult_q_yz.py +9 -10
  6. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/PKG-INFO +2 -2
  7. {schubmult-1.3.3 → schubmult-1.3.5}/setup.py +1 -1
  8. {schubmult-1.3.3 → schubmult-1.3.5}/LICENSE +0 -0
  9. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/__init__.py +0 -0
  10. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/perm_lib.py +0 -0
  11. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_double/__init__.py +0 -0
  12. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_double/__main__.py +0 -0
  13. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_double/schubmult_double.py +0 -0
  14. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_py/__init__.py +0 -0
  15. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_py/__main__.py +0 -0
  16. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_py/schubmult_py.py +0 -0
  17. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q/__init__.py +0 -0
  18. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q/__main__.py +0 -0
  19. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_double/__init__.py +0 -0
  20. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_double/__main__.py +0 -0
  21. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_yz/__init__.py +0 -0
  22. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_q_yz/__main__.py +0 -0
  23. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_yz/__init__.py +0 -0
  24. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_yz/__main__.py +0 -0
  25. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult/schubmult_yz/schubmult_yz.py +0 -0
  26. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/SOURCES.txt +0 -0
  27. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/dependency_links.txt +0 -0
  28. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/entry_points.txt +0 -0
  29. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/requires.txt +0 -0
  30. {schubmult-1.3.3 → schubmult-1.3.5}/schubmult.egg-info/top_level.txt +0 -0
  31. {schubmult-1.3.3 → schubmult-1.3.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: schubmult
3
- Version: 1.3.3
3
+ Version: 1.3.5
4
4
  Summary: Computing Littlewood-Richardson coefficients of Schubert polynomials
5
5
  Home-page: https://github.com/matthematics/schubmult
6
6
  Author: Matt Samuel
@@ -34,7 +34,7 @@ schubmult_double -code 0 1 1 2 - 1 0 2 3
34
34
  schubmult_yz -code 0 1 1 2 - 1 0 2 3 --display-positive
35
35
  schubmult_q -code 4 0 2 1 - 4 0 1 1
36
36
  schubmult_q_double -code 4 0 2 1 - 4 0 1 1
37
- schubmult_q_yz 5 4 0 2 1 - 1 3 --display-positive
37
+ schubmult_q_yz -code 4 0 2 1 - 1 3 --display-positive
38
38
  ```
39
39
 
40
40
  For coproducts:
@@ -21,7 +21,7 @@ schubmult_double -code 0 1 1 2 - 1 0 2 3
21
21
  schubmult_yz -code 0 1 1 2 - 1 0 2 3 --display-positive
22
22
  schubmult_q -code 4 0 2 1 - 4 0 1 1
23
23
  schubmult_q_double -code 4 0 2 1 - 4 0 1 1
24
- schubmult_q_yz 5 4 0 2 1 - 1 3 --display-positive
24
+ schubmult_q_yz -code 4 0 2 1 - 1 3 --display-positive
25
25
  ```
26
26
 
27
27
  For coproducts:
@@ -45,7 +45,8 @@ def schubmult(perm_dict,v):
45
45
  mx_th = th[index] - vdiff
46
46
  newpathsums = {}
47
47
  for up in vpathsums:
48
- newperms = elem_sym_perms_q(up,mx_th,th[index])
48
+ inv_up = inv(up)
49
+ newperms = elem_sym_perms_q(up,min(mx_th,(inv_mu-(inv_up-inv_u))-inv_vmu),th[index])
49
50
  for up2, udiff, mul_val in newperms:
50
51
  if up2 not in newpathsums:
51
52
  newpathsums[up2]={}
@@ -41,9 +41,6 @@ def main():
41
41
  if s == "-np" or s == "--no-print":
42
42
  pr = False
43
43
  continue
44
- if s == "-coprod":
45
- coprod = True
46
- continue
47
44
  if s == "-nocheck":
48
45
  check = False
49
46
  continue
@@ -60,8 +57,10 @@ def main():
60
57
  ascode = True
61
58
  continue
62
59
  if s == "--usage":
63
- print("Usage: schubmult_yz <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
64
- print("Alternative usage: schubmult_yz <-code> <--display-positive> -coprod perm - indexlist")
60
+ print("**** schubmult_q_double ****")
61
+ print("Purpose: Compute equivariant Gromov-Witten invariants, structure constants of quantum double Schubert polynomials")
62
+ print("Usage: schubmult_q_double <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
63
+ #print("Alternative usage: schubmult_yz <-code> <--display-positive> -coprod perm - indexlist")
65
64
  exit(0)
66
65
  if s == "-":
67
66
  perms += [curperm]
@@ -69,8 +68,9 @@ def main():
69
68
  continue
70
69
  curperm += [int(s)]
71
70
  except Exception:
72
- print("Usage: schubmult_q_yz <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
73
- print("Alternative usage: schubmult_yz <-code> <--display-positive> <--optimizer-message> -coprod perm - indexlist")
71
+ print("**** schubmult_q_double ****")
72
+ print("Purpose: Compute equivariant Gromov-Witten invariants, structure constants of quantum double Schubert polynomials")
73
+ print("Usage: schubmult_q_double <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
74
74
  exit(1)
75
75
 
76
76
  perms += [curperm]
@@ -15,7 +15,6 @@ var3 = symarray("z",100)
15
15
 
16
16
 
17
17
  def schubmult(perm_dict,v,var2=var2,var3=var3):
18
- vn1 = inverse(v)
19
18
  th = [len(v)-i for i in range(1,len(v))]
20
19
  mu = permtrim(uncode(th))
21
20
  vmu = permtrim(mulperm([*v],mu))
@@ -39,7 +38,7 @@ def schubmult(perm_dict,v,var2=var2,var3=var3):
39
38
  newpathsums = {}
40
39
  for up in vpathsums:
41
40
  inv_up = inv(up)
42
- newperms = elem_sym_perms_q(up,mx_th,th[index])
41
+ newperms = elem_sym_perms_q(up,min(mx_th,(inv_mu-(inv_up-inv_u))-inv_vmu),th[index])
43
42
  for up2, udiff,mul_val in newperms:
44
43
  if up2 not in newpathsums:
45
44
  newpathsums[up2]={}
@@ -93,6 +92,7 @@ def factor_out_q(poly):
93
92
 
94
93
  ret[q_part] = ret.get(q_part,0) + yz_part
95
94
  return ret
95
+
96
96
  def main():
97
97
  global var2
98
98
  try:
@@ -112,9 +112,6 @@ def main():
112
112
  if s == "-np" or s == "--no-print":
113
113
  pr = False
114
114
  continue
115
- if s == "-coprod":
116
- coprod = True
117
- continue
118
115
  if s == "-nocheck":
119
116
  check = False
120
117
  continue
@@ -131,8 +128,9 @@ def main():
131
128
  ascode = True
132
129
  continue
133
130
  if s == "--usage":
134
- print("Usage: schubmult_yz <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
135
- print("Alternative usage: schubmult_yz <-code> <--display-positive> -coprod perm - indexlist")
131
+ print("**** schubmult_q_yz ****")
132
+ print("Purpose: Compute Molev-Sagan coefficients of quantum double Schubert polynomials")
133
+ print("Usage: schubmult_q_yz <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
136
134
  exit(0)
137
135
  if s == "-":
138
136
  perms += [curperm]
@@ -140,8 +138,9 @@ def main():
140
138
  continue
141
139
  curperm += [int(s)]
142
140
  except Exception:
141
+ print("**** schubmult_q_yz ****")
142
+ print("Purpose: Compute Molev-Sagan coefficients of quantum double Schubert polynomials")
143
143
  print("Usage: schubmult_q_yz <-np|--no-print> <-code> <--display-positive> <--optimizer-message> perm1 - perm2 < - perm3 .. >")
144
- print("Alternative usage: schubmult_yz <-code> <--display-positive> <--optimizer-message> -coprod perm - indexlist")
145
144
  exit(1)
146
145
 
147
146
  perms += [curperm]
@@ -171,8 +170,8 @@ def main():
171
170
  coeff_perms.sort(key=lambda x: (inv(x),*x))
172
171
 
173
172
  for perm in coeff_perms:
174
- val = sympify(coeff_dict[perm]).simplify()
175
- if val != 0:
173
+ val = coeff_dict[perm]
174
+ if expand(val) != 0:
176
175
  notint = False
177
176
  try:
178
177
  int(val)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: schubmult
3
- Version: 1.3.3
3
+ Version: 1.3.5
4
4
  Summary: Computing Littlewood-Richardson coefficients of Schubert polynomials
5
5
  Home-page: https://github.com/matthematics/schubmult
6
6
  Author: Matt Samuel
@@ -34,7 +34,7 @@ schubmult_double -code 0 1 1 2 - 1 0 2 3
34
34
  schubmult_yz -code 0 1 1 2 - 1 0 2 3 --display-positive
35
35
  schubmult_q -code 4 0 2 1 - 4 0 1 1
36
36
  schubmult_q_double -code 4 0 2 1 - 4 0 1 1
37
- schubmult_q_yz 5 4 0 2 1 - 1 3 --display-positive
37
+ schubmult_q_yz -code 4 0 2 1 - 1 3 --display-positive
38
38
  ```
39
39
 
40
40
  For coproducts:
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text()
6
6
 
7
7
  setup(
8
8
  name="schubmult",
9
- version="1.3.3",
9
+ version="1.3.5",
10
10
  description="Computing Littlewood-Richardson coefficients of Schubert polynomials",
11
11
  long_description=long_description,
12
12
  long_description_content_type='text/markdown',
File without changes
File without changes