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?

in General questions by (1.7k points)

1 Answer

+1 vote

Use collect_components(ex).

by (82.0k points)

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

Pull requests are gratefully accepted.