1 | initial version |
At the moment, all tensor fields on manifolds must have expressions in terms of coordinates in one or more charts, These expressions can involve some unspecified functions though, declared via function
. So yes, the only way to define a generic metric is what you suggest. But in practice, for dimensions larger than 2 or 3, this can lead to untractable computations.