Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
srfm::manifold Namespace Reference

Classes

struct  IntervalResult
 Result of a single interval computation. More...
 
class  MarketManifold
 
struct  MetricTensor
 Symmetric 4×4 spacetime metric tensor g_{μν}. More...
 
struct  NAssetEvent
 A spacetime event: a moment in time with N asset prices. More...
 
class  NAssetInterval
 Computes spacetime intervals between N-asset events. More...
 
struct  SpacetimeEvent
 A point in 4D spacetime (t, x, y, z). More...
 
class  SpacetimeInterval
 
class  SpacetimeManifold
 

Enumerations

enum class  Regime { Newtonian , Relativistic , HighGamma , Subluminal }
 Market relativistic regime classification. More...
 
enum class  IntervalType {
  Timelike , Lightlike , Spacelike , TIMELIKE ,
  SPACELIKE , LIGHTLIKE
}
 Causal character of a spacetime interval. More...
 
enum class  IntervalType {
  Timelike , Lightlike , Spacelike , TIMELIKE ,
  SPACELIKE , LIGHTLIKE
}
 Classification of a Lorentzian spacetime interval. More...
 

Functions

const char * to_string (IntervalType t) noexcept
 Convert IntervalType to a human-readable string.
 
constexpr int christoffel_index (int lambda, int mu, int nu) noexcept
 Pack (λ, μ, ν) into flat index in [0, 64).
 

Variables

constexpr int DIM = 4
 Number of spacetime dimensions.
 
constexpr int NUM_CHRISTOFFEL = DIM * DIM * DIM
 Total Christoffel symbols: DIM³ = 64.
 
constexpr double LIGHTLIKE_THRESHOLD = 1e-10
 |ds²| below this value is classified as LIGHTLIKE.
 

Enumeration Type Documentation

◆ IntervalType [1/2]

enum class srfm::manifold::IntervalType
strong

Causal character of a spacetime interval.

Enumerator
Timelike 

ds² < 0 — causal market movement (β < c)

Lightlike 

ds² ≈ 0 — information propagation at c

Spacelike 

ds² > 0 — stochastic regime (no causal link)

TIMELIKE 

ds² < 0 (causal separation; price change < time*c_market).

SPACELIKE 

ds² > 0 (space-like; price change > time*c_market).

LIGHTLIKE 

|ds²| < threshold (on the light cone).

Definition at line 61 of file manifold.hpp.

◆ IntervalType [2/2]

enum class srfm::manifold::IntervalType
strong

Classification of a Lorentzian spacetime interval.

Enumerator
Timelike 

ds² < 0 — causal market movement (β < c)

Lightlike 

ds² ≈ 0 — information propagation at c

Spacelike 

ds² > 0 — stochastic regime (no causal link)

TIMELIKE 

ds² < 0 (causal separation; price change < time*c_market).

SPACELIKE 

ds² > 0 (space-like; price change > time*c_market).

LIGHTLIKE 

|ds²| < threshold (on the light cone).

Definition at line 81 of file n_asset_interval.hpp.

◆ Regime

enum class srfm::manifold::Regime
strong

Market relativistic regime classification.

Enumerator
Newtonian 

|β| < 0.1 — classical approximation valid

Relativistic 

0.1 ≤ |β| < 0.9 — corrections needed

HighGamma 

0.9 ≤ |β| < 0.9999 — extreme Lorentz contraction

Subluminal 

Catch-all: |β| ≥ 0 and < BETA_MAX_SAFE.

Examples
/home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/src/engine/engine.hpp, and /home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/src/manifold/spacetime_manifold.hpp.

Definition at line 97 of file spacetime_manifold.hpp.

Function Documentation

◆ christoffel_index()

constexpr int srfm::manifold::christoffel_index ( int  lambda,
int  mu,
int  nu 
)
inlineconstexprnoexcept

◆ to_string()

const char * srfm::manifold::to_string ( IntervalType  t)
noexcept

Convert IntervalType to a human-readable string.

Definition at line 13 of file spacetime_interval.cpp.

Variable Documentation

◆ DIM

constexpr int srfm::manifold::DIM = 4
inlineconstexpr

◆ LIGHTLIKE_THRESHOLD

constexpr double srfm::manifold::LIGHTLIKE_THRESHOLD = 1e-10
inlineconstexpr

|ds²| below this value is classified as LIGHTLIKE.

Definition at line 47 of file n_asset_interval.hpp.

◆ NUM_CHRISTOFFEL

constexpr int srfm::manifold::NUM_CHRISTOFFEL = DIM * DIM * DIM
inlineconstexpr