|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
Applies a 1+1D Lorentz boost to tick coordinates. More...
#include <lorentz_transform.hpp>
Public Member Functions | |
| LorentzTransform () noexcept=default | |
| TransformedEvent | transform (double t, double x, double beta) const noexcept |
| Compute the Lorentz-boosted coordinates for a single tick event. | |
| TransformedEvent | inverse (double t_prime, double x_prime, double beta) const noexcept |
| Inverse Lorentz boost: recover (t, x) from (t', x') given β. | |
Static Public Member Functions | |
| static double | lorentz_gamma (double beta) noexcept |
| Compute γ = 1/√(1−β²) for a given β. | |
Applies a 1+1D Lorentz boost to tick coordinates.
Maintains no persistent inter-tick state beyond what SpacetimeManifold needs. Stateless in the physics sense — transform() is a pure mathematical operation given (t, x, β).
Definition at line 73 of file lorentz_transform.hpp.
|
defaultnoexcept |
|
inlinenoexcept |
Inverse Lorentz boost: recover (t, x) from (t', x') given β.
Uses the inverse transformation: t = γ · (t' + β·x') x = γ · (x' + β·t')
Definition at line 131 of file lorentz_transform.hpp.
|
inlinestaticnoexcept |
Compute γ = 1/√(1−β²) for a given β.
Convenience function; returns 1.0 for invalid inputs.
Definition at line 116 of file lorentz_transform.hpp.
|
inlinenoexcept |
Compute the Lorentz-boosted coordinates for a single tick event.
| t | Raw time coordinate (bar index, cast to double). |
| x | Normalised space coordinate (z-score close price). |
| beta | Market velocity β ∈ (−BETA_MAX_SAFE, +BETA_MAX_SAFE). If |β| ≥ 1 or non-finite, treated as 0 (identity boost). |
Definition at line 89 of file lorentz_transform.hpp.