Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Hello!
If I want to sum several tensors, for example
enter image description here
, how can I do this, so that I get one tensor?

asked in General questions by (550 points)

1 Answer

+1 vote

Use collect_components(ex).

answered by (60.9k points)

Thank you! There is no such command on manual page by the way.

Pull requests are gratefully accepted.

...