schubmult 1.3.4__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.4 → schubmult-1.3.5}/PKG-INFO +1 -1
  2. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q/schubmult_q.py +2 -1
  3. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_yz/schubmult_q_yz.py +4 -4
  4. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/PKG-INFO +1 -1
  5. {schubmult-1.3.4 → schubmult-1.3.5}/setup.py +1 -1
  6. {schubmult-1.3.4 → schubmult-1.3.5}/LICENSE +0 -0
  7. {schubmult-1.3.4 → schubmult-1.3.5}/README.md +0 -0
  8. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/__init__.py +0 -0
  9. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/perm_lib.py +0 -0
  10. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_double/__init__.py +0 -0
  11. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_double/__main__.py +0 -0
  12. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_double/schubmult_double.py +0 -0
  13. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_py/__init__.py +0 -0
  14. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_py/__main__.py +0 -0
  15. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_py/schubmult_py.py +0 -0
  16. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q/__init__.py +0 -0
  17. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q/__main__.py +0 -0
  18. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_double/__init__.py +0 -0
  19. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_double/__main__.py +0 -0
  20. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_double/schubmult_q_double.py +0 -0
  21. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_yz/__init__.py +0 -0
  22. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_q_yz/__main__.py +0 -0
  23. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_yz/__init__.py +0 -0
  24. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_yz/__main__.py +0 -0
  25. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult/schubmult_yz/schubmult_yz.py +0 -0
  26. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/SOURCES.txt +0 -0
  27. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/dependency_links.txt +0 -0
  28. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/entry_points.txt +0 -0
  29. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/requires.txt +0 -0
  30. {schubmult-1.3.4 → schubmult-1.3.5}/schubmult.egg-info/top_level.txt +0 -0
  31. {schubmult-1.3.4 → 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.4
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
@@ -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]={}
@@ -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:
@@ -170,8 +170,8 @@ def main():
170
170
  coeff_perms.sort(key=lambda x: (inv(x),*x))
171
171
 
172
172
  for perm in coeff_perms:
173
- val = sympify(coeff_dict[perm]).simplify()
174
- if val != 0:
173
+ val = coeff_dict[perm]
174
+ if expand(val) != 0:
175
175
  notint = False
176
176
  try:
177
177
  int(val)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: schubmult
3
- Version: 1.3.4
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
@@ -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.4",
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
File without changes