BlackHolePerturbationToolkit / GeneralRelativityTensors

Provides a set of functions for performing coordinate-based tensor calculations with a focus on general relativity and black holes in particular.
MIT License
9 stars 5 forks source link

Should MergeTensors, AddTensors, etc have an option Indices-> {...} ? #22

Open hoppese opened 4 years ago

hoppese commented 4 years ago

When you add Tab + Sba it's not clear if you want the sum to have indices ab or ba. AddTensors makes the choice by sorting them. But, it might be nice to have an option so the user can determine it. Currently, we can use ReorderTensorIndices to change the positions.