Opened 2 years ago

Last modified 2 years ago

#28784 closed enhancement

Adding multiple symmetries and multiple contractions to tensors — at Version 4

Reported by: gh-LBrunswic Owned by: gh-LBrunswic
Priority: major Milestone: sage-9.0
Component: linear algebra Keywords: tensor, contraction, symmetries, manifolds
Cc: egourgoulhon Merged in:
Authors: Léo Brunswic Reviewers:
Report Upstream: N/A Work issues:
Branch: u/gh-LBrunswic/adding_multiple_symmetries_and_multiple_contractions_to_tensors (Commits, GitHub, GitLab) Commit: 1d1e4eaee5ee42864bed95a9ce10f38f2a7a95d3
Dependencies: Stopgaps:

Status badges

Description (last modified by gh-LBrunswic)

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 '}'
The 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.

Change History (4)

comment:1 Changed 2 years ago by gh-LBrunswic

  • Authors set to Léo Brunswic
  • Cc egourgoulhon added
  • Component changed from PLEASE CHANGE to linear algebra
  • Description modified (diff)
  • Keywords tensor contraction symmetries manifolds added
  • Type changed from PLEASE CHANGE to enhancement

comment:2 Changed 2 years ago by gh-LBrunswic

  • Branch set to u/gh-LBrunswic/adding_multiple_symmetries_and_multiple_contractions_to_tensors

comment:3 Changed 2 years ago by gh-LBrunswic

  • Commit set to 1d1e4eaee5ee42864bed95a9ce10f38f2a7a95d3
  • Owner changed from (none) to gh-LBrunswic

comment:4 Changed 2 years ago by gh-LBrunswic

  • Description modified (diff)
Note: See TracTickets for help on using tickets.