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

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 (660 points)

1 Answer

+1 vote

Use collect_components(ex).

answered by (61.8k points)

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

Pull requests are gratefully accepted.