Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Namespaces | Functions
beta_calculator.cpp File Reference

Implementation of online BetaVelocity calculator (AGT-13 / SRFM). More...

#include "beta_calculator.hpp"
#include <cmath>
#include <numeric>

Go to the source code of this file.

Namespaces

namespace  srfm
 
namespace  srfm::beta_calculator
 

Functions

std::optional< double > srfm::beta_calculator::rapidity (BetaVelocity beta) noexcept
 Compute rapidity φ = atanh(β).
 
std::optional< double > srfm::beta_calculator::doppler_factor (BetaVelocity beta) noexcept
 Compute relativistic Doppler factor D(β) = √((1+β)/(1−β)).
 
std::optional< BetaVelocityResult > srfm::beta_calculator::full_beta_result (double beta_value) noexcept
 Compute full BetaVelocityResult for a given β value.
 

Detailed Description

Implementation of online BetaVelocity calculator (AGT-13 / SRFM).

See beta_calculator.hpp for the full module contract.

Definition in file beta_calculator.cpp.