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 | List of all members
srfm::engine::Engine Class Reference

#include <engine.hpp>

Public Member Functions

 Engine () noexcept=default
 
std::optional< PipelineResult > process (std::string_view data) const noexcept
 Process a CSV-like byte sequence through the full pipeline.
 

Detailed Description

Definition at line 72 of file engine.hpp.

Constructor & Destructor Documentation

◆ Engine()

srfm::engine::Engine::Engine ( )
defaultnoexcept

Member Function Documentation

◆ process()

std::optional< PipelineResult > srfm::engine::Engine::process ( std::string_view  data) const
noexcept

Process a CSV-like byte sequence through the full pipeline.

Parsing rules: • Tokens are split on comma, newline, space, or tab. • Tokens that parse as finite positive doubles become price observations. • At least 2 valid price observations are required. • Non-numeric tokens are silently skipped.

Parameters
dataArbitrary byte sequence (may contain binary, NaN text, etc.)
Returns
PipelineResult, or std::nullopt if fewer than 2 prices are found or if any physics computation fails.
Examples
/home/runner/work/Special-Relativity-in-Financial-Modeling/Special-Relativity-in-Financial-Modeling/src/engine/engine.hpp.

Definition at line 60 of file engine.cpp.


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