|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Ornstein-Uhlenbeck stochastic process operator. More...


Go to the source code of this file.
Classes | |
| struct | SimOrnsteinUhlenbeckOperatorConfig |
| Configuration for the Ornstein-Uhlenbeck operator. More... | |
Typedefs | |
| typedef enum SimOrnsteinUhlenbeckComplexMode | SimOrnsteinUhlenbeckComplexMode |
| Coordinate system used when applying OU noise to complex fields. | |
| typedef struct SimOrnsteinUhlenbeckOperatorConfig | SimOrnsteinUhlenbeckOperatorConfig |
| Configuration for the Ornstein-Uhlenbeck operator. | |
Enumerations | |
| enum | SimOrnsteinUhlenbeckComplexMode { SIM_ORNSTEIN_UHLENBECK_COMPLEX_MODE_COMPONENT , SIM_ORNSTEIN_UHLENBECK_COMPLEX_MODE_POLAR } |
| Coordinate system used when applying OU noise to complex fields. More... | |
Functions | |
| SimResult | sim_add_ornstein_uhlenbeck_operator (struct SimContext *context, const SimOrnsteinUhlenbeckOperatorConfig *config, size_t *out_index) |
| Register an Ornstein-Uhlenbeck process operator. | |
| SimResult | sim_ornstein_uhlenbeck_config (struct SimContext *context, size_t operator_index, SimOrnsteinUhlenbeckOperatorConfig *out_config) |
| Copy the current OU configuration from a registered operator. | |
| SimResult | sim_ornstein_uhlenbeck_update (struct SimContext *context, size_t operator_index, const SimOrnsteinUhlenbeckOperatorConfig *config) |
| Replace the configuration of a registered OU operator. | |
Ornstein-Uhlenbeck stochastic process operator.
| SimResult sim_add_ornstein_uhlenbeck_operator | ( | struct SimContext * | context, |
| const SimOrnsteinUhlenbeckOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register an Ornstein-Uhlenbeck process operator.
| context | Simulation context that will own the operator. | |
| config | Optional OU configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_ornstein_uhlenbeck_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimOrnsteinUhlenbeckOperatorConfig * | out_config | ||
| ) |
Copy the current OU configuration from a registered operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_ornstein_uhlenbeck_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_ornstein_uhlenbeck_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimOrnsteinUhlenbeckOperatorConfig * | config | ||
| ) |
Replace the configuration of a registered OU operator.
config is required. Updating reseeds the process RNG, refreshes symbolic metadata, and validates the target field before storing the replacement.
| context | Simulation context containing the operator. |
| operator_index | Index of the OU operator to update. |
| config | Replacement OU configuration. |