I am working my way through a book called The Geometry of Special Relativity and am at a stage where I want to define a time unit vector that has the property that its dot product with itself is -1.
The dot product between space like unit vectors is still +1 and the for product between the time and space unit vectors is zero.
Hello John,
Many thanks for this. I tried it and it suits my needs perfectly.
David
Hello Hans,
Well,
you could consider to introduce I = Sqrt[ -1 ] or your own dot
dot[ x_ , y_ ]:= x. g .y
and define at the beginning
g={{ 1, 0, 0, 0 }, {0, 1, 0, 0 } , { 0, 0, 1, 0, }, {0, 0, 0, -1 }}
(or its negative)