Hi!
Yes, multiplying with constants and collecting constants is a
useful method. The constant can be replaced with 1 after the
collection too.
Also note that Collect works with patterns too, so you can do
something like
Collect[%, {PD[_][PD[_][f[]]]}]
However, this will not bundle together expressions like this with
different indices.
The function IndexCollect tries to handle that kind of problem
though.
Regards
Thomas
--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xact/81956733-5d99-49b4-9e6f-41be185b415dn%40googlegroups.com.