Compacting the display of tensor product
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 (11)
Commit: 
→ 885e0a96ceb9b2a0b5e68cc0632261fe09252b0b

Description: 
modified (diff)

Status: 
new →
needs_review

Description: 
modified (diff)

Description: 
modified (diff)

Milestone: 
sage9.2 →
sage9.3

Status: 
needs_review →
needs_work

Milestone: 
sage9.3 →
sage9.4

Milestone: 
sage9.4 →
sage9.5

Milestone: 
sage9.5 →
sage9.6

Milestone: 
sage9.6 →
sage9.7

Milestone: 
sage9.7 →
sage9.8

Branch pushed to git repo; I updated commit sha1. New commits:
nothing
Compact tensor product display