-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action of a sympy TensorSymmetry #32029
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
I'm thinking of putting this in |
Commit: |
comment:5
the symmetry group there is an arbitrary permutation group, no? So sympy has an algorithm to find the autmorphism group of a weighted hypergraph? New commits:
|
comment:6
Replying to @dimpase:
The automorphism group is the input, not the output. This code is for defining spaces of tensors with prescribed symmetries. |
comment:7
Your input is a bunch of permutations, not a group. Why do you force the user to figure them out? I'd rather see it as a group, and yes, it's perfectly possible in Sage to compute a strong generating set and a base, given a permutation group. |
comment:8
Replying to @dimpase:
Sorry, what are you referring to? The example lines on the ticket description using SymPy show the output of SymPy's In the branch attached here, the input is a symmetry specification in the style of |
comment:9
All I can see is an example with |
comment:10
OK. I will adapt documentation |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
is ambiguous. E.g. |
SymPy's
TensorSymmetry
(https://docs.sympy.org/latest/modules/tensor/tensor.html) uses a trick to represent (monoterm) tensor symmetries and antisymmetries as permutation groups: Two extra elements (in the example below, 3 and 4) keep track of the signThe 2-cycle (3 4) represents the antisymmetry. What is displayed there is the "base and strong generating system".
This trick can of course be generalized to Mathematica's "phased permutation groups" (#30276) by using longer cycles.
We define a class
TensorSymmetryGroup
sage.tensor
sym
andantisym
listssympy.tensor.tensor.TensorSymmetry
_get_action_
for acting on tensor modules / componentsCC: @tscrim @egourgoulhon @dimpase @honglizhaobob @spaghettisalat
Component: linear algebra
Branch/Commit: u/mkoeppe/action_of_a_sympy_tensorsymmetry @
3629386
Issue created by migration from https://trac.sagemath.org/ticket/32029
The text was updated successfully, but these errors were encountered: