[−][src]Crate nalgebra_spacetime
Spacetime Extension for nalgebra
Present Features
- Minkowski space as $n$-dimensional
LorentzianMN
space. - Raising/Lowering tensor indices,
dual()
/r_dual()
/c_dual()
. - Metric contraction of degree-1/degree-2 tensors,
contr()
/scalar()
. - Spacetime
interval()
withLightCone
depiction. - Inertial
FrameN
of reference holding boost parameters. - Lorentz boost as
new_boost()
matrix. - Direct Lorentz
boost()
tocompose()
velocities. - Wigner
rotation()
andaxis_angle()
between to-be-composed boosts.
Future Features
Event4
/Velocity4
/Momentum4
equivalents ofPoint4
and so on.- Categorize
Rotation4
andPureBoost4
asBoost4
and so on. - Wigner
rotation()
andaxis_angle()
of an already-composedBoost4
.
Structs
FrameN | Inertial frame of reference in $n$-dimensional Lorentzian space $\R^{-,+} = \R^{1,n-1}$. |
Enums
LightCone | Spacetime regions regarding an event's light cone. |
Traits
LorentzianMN | Extension for $n$-dimensional Lorentzian space $\R^{-,+} = \R^{1,n-1}$ with metric signature in spacelike sign convention. |
Type Definitions
Frame2 | Inertial frame of reference in $2$-dimensional Lorentzian space $\R^{-,+} = \R^{1,1}$. |
Frame3 | Inertial frame of reference in $3$-dimensional Lorentzian space $\R^{-,+} = \R^{1,2}$. |
Frame4 | Inertial frame of reference in $4$-dimensional Lorentzian space $\R^{-,+} = \R^{1,3}$. |