Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ constr_variations
Function
constr_variations
Singular/dyn_modules/python/symm.py:43–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
42
43
def
constr_variations():
44
return
list(map(tuple,Cartesian(list(repeat(value_range,6)))))
45
relation=EquivalenceRelation()
46
for
(a,b,c,d,e,f) in constr_variations():
47
relation[(a,b,c,d,e,f)]=(b,c,a,f,-d,-e)
Callers
1
symm.py
File · 0.85
Calls
2
list
Class · 0.85
map
Function · 0.85
Tested by
no test coverage detected