Closed Greg1950 closed 3 years ago
@abrombo says:
You need to calculate the eigenvalues of the metric tensor. If you can you count the signs of the value to get the signature. I don't know any other way of doing it but googling metric tensor signature might give you some suggestions. For simple special cases one of the members of the metric class is the function signature. Look in metric.py to see what it does.
I'm trying to write a function on
galg
, a GAlgebra model of $\mathbb{G}^{p,q}$, the computational details of which function will depend on the signature $(p,q)$ ofgalg
.Maybe something like
galg.sig
? If so, I haven't been able to find it in the documentation.If this is the wrong forum in which to pose questions about GAlgebra, can someone point me to an appropriate one?