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

Internal factory helper for constructing LorentzFactor objects from pre-computed gamma scalars (friend of LorentzFactor). More...

#include <simd_dispatch.hpp>

Static Public Member Functions

static srfm::momentum::LorentzFactor make (double gamma_val) noexcept
 

Detailed Description

Internal factory helper for constructing LorentzFactor objects from pre-computed gamma scalars (friend of LorentzFactor).

This struct is an implementation detail of the SIMD dispatch layer. It is declared here (in the public header) solely because friend declarations in LorentzFactor must refer to a fully-qualified name. Do NOT use this struct in application code.

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

Definition at line 56 of file simd_dispatch.hpp.

Member Function Documentation

◆ make()

static srfm::momentum::LorentzFactor srfm::simd::SimdGammaCompute::make ( double  gamma_val)
inlinestaticnoexcept

Wrap a pre-validated gamma value in a LorentzFactor. Precondition: gamma_val >= 1.0 && std::isfinite(gamma_val).

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

Definition at line 60 of file simd_dispatch.hpp.


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