|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
#include <momentum.hpp>
Static Public Member Functions | |
| static std::optional< RelativisticMomentum > | process (const MomentumSignal &signal) noexcept |
| static std::optional< double > | relativistic_momentum (BetaVelocity beta, double mass, double speed) noexcept |
| static std::optional< std::vector< RelativisticMomentum > > | process_series (std::span< const MomentumSignal > signals) noexcept |
Stateless utility for applying relativistic momentum corrections.
The processor translates the BetaVelocity at each bar into a Lorentz factor γ and returns the corrected signal p_rel = γ · m_eff · raw_signal.
Definition at line 62 of file momentum.hpp.
|
staticnoexcept |
Apply relativistic momentum correction to a single signal.
nullopt if effective_mass <= 0 or beta is invalid (|β| ≥ BETA_MAX_SAFE)RelativisticMomentum with adjusted_value = γ · m_eff · raw_value Definition at line 14 of file momentum_processor.cpp.
|
staticnoexcept |
Apply corrections to a full series of signals in one call.
Signals with invalid β fall back to the raw value (γ = 1 Newtonian limit).
Vector of adjusted values, same length as signals. Returns nullopt if signals is empty.
Definition at line 56 of file momentum_processor.cpp.
|
staticnoexcept |
Compute relativistic momentum magnitude: p_rel = γ(β) · mass · speed.
beta — Market velocity βmass — Effective mass m_eff > 0speed — Speed component (|raw signal| or |price velocity|)p_rel ≥ 0, or nullopt on invalid inputs.
Definition at line 37 of file momentum_processor.cpp.