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 | Friends | List of all members
srfm::momentum::LorentzFactor Class Reference

Pre-computed Lorentz factor γ = 1/√(1−β²). Always ≥ 1.0. More...

#include <momentum.hpp>

Public Member Functions

 LorentzFactor () noexcept
 Default-constructs to the Newtonian identity γ = 1.
 
double value () const noexcept
 Returns the raw γ value.
 

Friends

struct srfm::simd::SimdGammaCompute
 
std::optional< LorentzFactor > lorentz_gamma (BetaVelocity beta) noexcept
 Compute Lorentz factor γ = 1/√(1−β²).
 

Detailed Description

Pre-computed Lorentz factor γ = 1/√(1−β²). Always ≥ 1.0.

Obtained exclusively from lorentz_gamma(BetaVelocity). Default value is 1.0 (the Newtonian limit at β = 0).

Examples
/home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/include/srfm/simd/simd_dispatch.hpp.

Definition at line 98 of file momentum.hpp.

Constructor & Destructor Documentation

◆ LorentzFactor()

srfm::momentum::LorentzFactor::LorentzFactor ( )
inlinenoexcept

Default-constructs to the Newtonian identity γ = 1.

Examples
/home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/src/momentum/momentum.hpp.

Definition at line 101 of file momentum.hpp.

Member Function Documentation

◆ value()

double srfm::momentum::LorentzFactor::value ( ) const
inlinenoexcept

Friends And Related Symbol Documentation

◆ lorentz_gamma

std::optional< LorentzFactor > lorentz_gamma ( BetaVelocity  beta)
friend

Compute Lorentz factor γ = 1/√(1−β²).

Parameters
betaValidated normalised market velocity.
Returns
LorentzFactor with γ ≥ 1.0, or std::nullopt if result is non-finite (unreachable after BetaVelocity validation, but explicit for defence-in-depth).
Examples
/home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/src/momentum/momentum.hpp.

Definition at line 42 of file momentum.cpp.

◆ srfm::simd::SimdGammaCompute

friend struct srfm::simd::SimdGammaCompute
friend

Internal SIMD module — constructs LorentzFactor from a pre-validated gamma value without re-computing sqrt. Caller guarantees v >= 1.0 and std::isfinite(v).

Definition at line 113 of file momentum.hpp.


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