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
Adding multiple symmetries and multiple contractions to tensors #28784
Comments
Changed keywords from none to tensor, contraction, symmetries |
This comment has been minimized.
This comment has been minimized.
Author: Léo Brunswic |
Commit: |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Thanks for this useful enhancement! The patchbot reports some failures:
Besides, could you add a few doctests to illustrate the new functionalities? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
@egourgoulhon I'm sorry I forgot to do a doctest :$...I corrected the features that are tested and added new doctest. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
New commits:
|
Reviewer: Eric Gourgoulhon |
comment:13
Thanks for making all doctest passed.
Do you agree with the above changes? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Thanks for the PEP8 enforcement and the correction of the doctest. Of course, I agree with the changes and merged. Also, I corrected a typo and clarified two lines. |
comment:16
I would give a positive review but since I modified the code (even marginally) I think I shouldn't do it. |
comment:17
I've just checked your latest changes. Everything is OK. |
comment:18
It would be nice to add this functionality for multiple symmetrizations to the method |
comment:19
Replying to @mwageringel:
Hi! I completely agree! We should open another ticket or a discussion of devel to discuss this (I would at the very least ask Eric Gourgoulhon for validation). To begin the discussion, I see other issues with the current implementation and methods. |
comment:20
Replying to @LBrunswic:
Yes please open a ticket for this! (and continue the discussion there).
Indeed, this would be nice. |
comment:21
The new ticket is #28813. |
Changed branch from public/manifolds/tensor_multiple_symmetries_contractions-28784 to |
As of sage-9.0.beta6, applying multiple contractions or multiple symmetries to tensors in indices notation raises a NotImplementedError.
This tickets aims at removing this error by implementing the adequate behavior as well as adding a convention check on the index notation.
The index notation should allow :
Multiple contraction
Multiple symmetries
indices denoted by a non-accentuated latin caracter {a,...,z,A,...,Z} and wild card "."
covariant indices first notation as well as contravariant indices first
Latex notations '{' and '}'
if indices do not begin by
^
nor_
then contravariant indices first is assumedThe index notation should not allow :
Repeated indices of the same type
indices denoted by any other caracter
nested symmetries
unbalanced parentheses/brackets
NB : Usual index notations allows greek indices but their implementation seems more difficult and is not the goal of the ticket.
CC: @egourgoulhon
Component: linear algebra
Keywords: tensor, contraction, symmetries
Author: Léo Brunswic
Branch/Commit:
3013354
Reviewer: Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/28784
The text was updated successfully, but these errors were encountered: