Class LorentzTransformation

java.lang.Object
org.episteme.natural.physics.relativity.LorentzTransformation

public class LorentzTransformation extends Object
Lorentz Transformation utilities for Special Relativity.

Handles boosting of spacetime events between inertial reference frames.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • gamma

      public static Real gamma(Real v)
      Calculates the Lorentz factor (gamma).
      Parameters:
      v - velocity magnitude (m/s)
      Returns:
      gamma = 1 / sqrt(1 - v^2/c^2)
    • boostX

      public static Vector<Real> boostX(Real t, Real x, Real v)
      Transforms an event (t, x, y, z) from frame S to S' moving with velocity v along x-axis.
      Parameters:
      t - time in S
      x - position x in S
      v - relative velocity of S' wrt S (along x)
      Returns:
      new coordinates [t', x'] (y and z are unchanged)
    • boost

      public static Object[] boost(Real t, Vector<Real> r, Vector<Real> v)
      General Lorentz boost for arbitrary velocity vector.
      Parameters:
      t - time in S
      r - position vector in S
      v - relative velocity vector of S' wrt S
      Returns:
      new coordinates [t', r']