| CollectTensors[expr] collects all tensorial terms in expr. |
| CollectMethod | Default | what function to apply to the tensorial terms before collecting | |
| SimplifyMethod | Simplify | what function to apply to the non-tensorial prefactors after collecting | |
| RemoveTensorWrapper | True | whether to remove the TensorWrapper heads on the tensorial terms after collecting | |
| Verbose | False | display information while computing |
| Default | use the function ToCanonical@ContractMetric@#& before collecting | |
| f | use the pure function f before collecting |
| False | leave the TensorWrapper heads after collecting | |
| True | remove the TensorWrapper heads after collecting |