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
_add_ method for tensors with indices #28787
Comments
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Thanks for providing this functionality! The code looks nice.
Most probably, you should prefix the string
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Thx for the review. I'm sorry, I'm still familiarizing myself with the tools involved in the review process. |
comment:13
Replying to @LBrunswic:
No problem. I fully understand this of course. To get access to the patchbot reports, click on the button with the Sage version in the top right of the ticket description panel. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:47
It seems okay to me, I thought I had asked for review after my previous commit. |
comment:49
It looks good to me, except that the patchbot "blocks" plugin reports this error. |
comment:50
This is likely a doc problem: - ``permutation`` -- permutation that has to be applied to the indices
- the input should be a ``list`` containing the second line of the permutation
- in Cauchy notation.
+ the input should be a ``list`` containing the second line of the permutation
+ in Cauchy notation |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:53
Thanks for the changes. The (relevant) patchbot in now all green. Thanks for this nice enhancement! |
Reviewer: Eric Gourgoulhon, Travis Scrimshaw |
comment:54
Thanks! I understand the importance of the constraints on the docstrings but it's plainful to get blocked for a whitespace. |
comment:55
On Python 2:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from public/manifolds/add_tensor_with_indices-28787 to |
One may want to add/contract tensors with indices in the following way :
T["<sup>ijklm_m]+T["</sup>mklij_m"]
This entails to implement
_get_item_
method_set_item_
method_add_
methodwhich all keep track of the indices names.
CC: @egourgoulhon
Component: linear algebra
Keywords: tensor, contraction, symmetries, tensor with indices
Author: Léo Brunswic
Branch/Commit:
a1b9630
Reviewer: Eric Gourgoulhon, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/28787
The text was updated successfully, but these errors were encountered: