|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
A spacetime event: a moment in time with N asset prices. More...
#include <n_asset_interval.hpp>
Public Member Functions | |
| Eigen::VectorXd | to_coords () const noexcept |
| Concatenate (t, prices) into a single (N+1)-vector. | |
Static Public Member Functions | |
| static std::optional< NAssetEvent > | make (double t, Eigen::VectorXd prices) noexcept |
| Factory: validate and construct an NAssetEvent. | |
Public Attributes | |
| double | t |
| Time coordinate. | |
| Eigen::VectorXd | prices |
| N asset price coordinates. | |
A spacetime event: a moment in time with N asset prices.
Definition at line 54 of file n_asset_interval.hpp.
|
staticnoexcept |
Factory: validate and construct an NAssetEvent.
Validates that prices is non-empty.
| t | Time coordinate. |
| prices | Asset price vector (must be non-empty). |
Definition at line 27 of file n_asset_interval.cpp.
|
noexcept |
Concatenate (t, prices) into a single (N+1)-vector.
Definition at line 16 of file n_asset_interval.cpp.
| Eigen::VectorXd srfm::manifold::NAssetEvent::prices |
N asset price coordinates.
Definition at line 56 of file n_asset_interval.hpp.
| double srfm::manifold::NAssetEvent::t |
Time coordinate.
Definition at line 55 of file n_asset_interval.hpp.