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 | Public Attributes | List of all members
srfm::geodesic::GeodesicState Struct Reference

State of a particle on a geodesic: position x^μ and 4-velocity u^μ. More...

#include <geodesic_solver.hpp>

Public Member Functions

bool is_finite () const noexcept
 True iff all position and velocity components are finite.
 

Public Attributes

std::array< double, DIM > x {}
 Position x^μ (μ = 0…3)
 
std::array< double, DIM > u {}
 4-velocity u^μ = dx^μ/dτ
 

Detailed Description

State of a particle on a geodesic: position x^μ and 4-velocity u^μ.

The 8-dimensional phase space (x, u) is what RK4 advances each step.

Definition at line 54 of file geodesic_solver.hpp.

Member Function Documentation

◆ is_finite()

bool srfm::geodesic::GeodesicState::is_finite ( ) const
noexcept

Member Data Documentation

◆ u

std::array<double, DIM> srfm::geodesic::GeodesicState::u {}

◆ x

std::array<double, DIM> srfm::geodesic::GeodesicState::x {}

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