What is the right way to do this?
Cheers
Leo
As far as I know this is the only way to compute the explicit coordinate
value of the metric determinant in a basis. If you are doing
computations involving the "epsilon tensor", then you should have a look
at the command "epsilonToetaDown" (see section 4.3 of the file
xCobaDoc.nb in the documentation directory). This command computes the
explicit relation between the "epsilon tensor" and the tensor density
arising from the wedge product of all the elements of the co-basis. In
this relation the determinant of the metric in the basis enters
explicitly (but you have to compute the actual value of the determinant
separately).
Regards,
Alfonso.
ComponentValue[DetmetricB[], ComponentArray[metric[-{a, B}, -{b, B}]]
// ToValues // Det // Simplify]
It would make sense to me to run:
MetricCompute[ metric, B, "DetmetricB"[] ]
Note: I also think that ToBasis[B][ Detmetric[] ] ought to return
DetmetricB[], whereas currently it returns Detmetric[].
Any suggestions?
Cheers,
Leo