Opened 17 months ago

Last modified 3 months ago

#29820 needs_work enhancement

Compacting the display of tensor product

Reported by: Dicolevrai Owned by:
Priority: major Milestone: sage-9.5
Component: geometry Keywords: Tensor product
Cc: egourgoulhon Merged in:
Authors: Hans Fotsing Tetsing Reviewers: Eric Gourgoulhon
Report Upstream: N/A Work issues:
Branch: public/manifolds/CompactProduct (Commits, GitHub, GitLab) Commit: 885e0a96ceb9b2a0b5e68cc0632261fe09252b0b
Dependencies: Stopgaps:

Status badges

Description (last modified by Dicolevrai)

With this ticket, through the methods :meth:`~sage.tensor.modules.free_module_tensor.FreeModuleTensor.display` and :meth:`~sage.manifolds.differentiable.tensorfield.TensorField.display`, SageMath is now able to compact the display of tensor product in the form dx^2. In the case the frame element is something like f^2, to avoid any misunderstanding in f^2^2, one can set compact_product=False in display to get the old displaying style f^2*f^2.

Raising a tensor field to a given power is also possible now. When the tensor is an automorphism field the composition law of maps is used instead of tensor product and in this case, raising to a nonpositive power is possible.

Change History (8)

comment:1 Changed 17 months ago by git

  • Commit set to 885e0a96ceb9b2a0b5e68cc0632261fe09252b0b

Branch pushed to git repo; I updated commit sha1. New commits:

b5412ccnothing
885e0a9Compact tensor product display

comment:2 Changed 17 months ago by Dicolevrai

  • Description modified (diff)
  • Status changed from new to needs_review

comment:3 Changed 17 months ago by slelievre

  • Description modified (diff)

comment:4 Changed 17 months ago by Dicolevrai

  • Description modified (diff)

comment:5 Changed 14 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:6 Changed 9 months ago by chapoton

  • Status changed from needs_review to needs_work

red branch => needs work

comment:7 Changed 7 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

comment:8 Changed 3 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

Setting a new milestone for this ticket based on a cursory review.

Note: See TracTickets for help on using tickets.