Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
srfm::stream::SpacetimeManifold Class Reference

Minkowski interval computer for sequential Lorentz-boosted events. More...

#include <spacetime_manifold.hpp>

Public Member Functions

 SpacetimeManifold (double epsilon=1e-6) noexcept
 Construct with a custom lightlike tolerance.
 
ManifoldResult update (double t_prime, double x_prime) noexcept
 Record a new transformed event and compute the interval from the last.
 
bool has_previous () const noexcept
 Whether at least one event has been ingested.
 
double prev_t_prime () const noexcept
 Previous boosted time coordinate.
 
double prev_x_prime () const noexcept
 Previous boosted space coordinate.
 
double epsilon () const noexcept
 Lightlike tolerance ε.
 
void reset () noexcept
 Reset all state as if no events have been seen.
 

Static Public Member Functions

static double interval (double dt, double dx) noexcept
 Compute the Minkowski interval for an arbitrary pair of events.
 
static Regime classify (double ds2, double epsilon=1e-6) noexcept
 Classify a precomputed interval value.
 

Detailed Description

Minkowski interval computer for sequential Lorentz-boosted events.

auto result = manifold.update(ev.t_prime, ev.x_prime);
// result.regime → TIMELIKE / LIGHTLIKE / SPACELIKE
// result.signal → signed sqrt of interval
Minkowski interval computer for sequential Lorentz-boosted events.
ManifoldResult update(double t_prime, double x_prime) noexcept
Record a new transformed event and compute the interval from the last.

Definition at line 72 of file spacetime_manifold.hpp.

Constructor & Destructor Documentation

◆ SpacetimeManifold()

srfm::stream::SpacetimeManifold::SpacetimeManifold ( double  epsilon = 1e-6)
inlineexplicitnoexcept

Construct with a custom lightlike tolerance.

Parameters
epsilonAbsolute |Δs²| threshold for LIGHTLIKE classification. Defaults to 1e-6 (appropriate for normalised z-score coords).

Definition at line 80 of file spacetime_manifold.hpp.

Member Function Documentation

◆ classify()

static Regime srfm::stream::SpacetimeManifold::classify ( double  ds2,
double  epsilon = 1e-6 
)
inlinestaticnoexcept

Classify a precomputed interval value.

Parameters
ds2Minkowski interval value.
epsilonLightlike tolerance.
Returns
Regime classification.
Note
noexcept.

Definition at line 190 of file spacetime_manifold.hpp.

◆ epsilon()

double srfm::stream::SpacetimeManifold::epsilon ( ) const
inlinenoexcept

Lightlike tolerance ε.

Definition at line 151 of file spacetime_manifold.hpp.

◆ has_previous()

bool srfm::stream::SpacetimeManifold::has_previous ( ) const
inlinenoexcept

Whether at least one event has been ingested.

Definition at line 142 of file spacetime_manifold.hpp.

◆ interval()

static double srfm::stream::SpacetimeManifold::interval ( double  dt,
double  dx 
)
inlinestaticnoexcept

Compute the Minkowski interval for an arbitrary pair of events.

Does not mutate any state.

Parameters
dtTime separation Δt'.
dxSpace separation Δx'.
Returns
Minkowski interval Δs² = Δt'² − Δx'².
Note
noexcept — pure arithmetic.

Definition at line 178 of file spacetime_manifold.hpp.

◆ prev_t_prime()

double srfm::stream::SpacetimeManifold::prev_t_prime ( ) const
inlinenoexcept

Previous boosted time coordinate.

Definition at line 145 of file spacetime_manifold.hpp.

◆ prev_x_prime()

double srfm::stream::SpacetimeManifold::prev_x_prime ( ) const
inlinenoexcept

Previous boosted space coordinate.

Definition at line 148 of file spacetime_manifold.hpp.

◆ reset()

void srfm::stream::SpacetimeManifold::reset ( )
inlinenoexcept

Reset all state as if no events have been seen.

Preserves the configured epsilon.

Definition at line 160 of file spacetime_manifold.hpp.

◆ update()

ManifoldResult srfm::stream::SpacetimeManifold::update ( double  t_prime,
double  x_prime 
)
inlinenoexcept

Record a new transformed event and compute the interval from the last.

On the first call (no previous event), returns LIGHTLIKE with signal = 0.

Parameters
t_primeBoosted time coordinate from LorentzTransform.
x_primeBoosted space coordinate from LorentzTransform.
Returns
ManifoldResult with ds2, regime, and signal for this step.
Note
noexcept.

Definition at line 97 of file spacetime_manifold.hpp.


The documentation for this class was generated from the following file: