Skip to main content

Module space_time_vector

Module space_time_vector 

Source
Expand description

Events and four-vectors in Minkowski space.

A SpaceTimeVector4D holds (t, x, y, z) with the time component t expressed in the same length unit as the spatial ones (that is, t is really c·time, with c = 1 in natural units; use SpaceTimeVector4D::from_time to convert from seconds and a speed of light). The metric signature is (-, +, +, +): the invariant interval -t² + x² + y² + z² is negative for timelike separations, positive for spacelike, and zero on the light cone.

See the book entry Space-time.

Structs§

SpaceTimeVector4D

Enums§

Causality
How a four-vector sits relative to the light cone.