|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Batched exact integer segmented-sieve marking operator. More...


Go to the source code of this file.
Classes | |
| struct | SimSegmentedSieveMarkBatchOperatorConfig |
| Configuration for batched segmented-sieve marking over exact integer fields. More... | |
Typedefs | |
| typedef struct SimSegmentedSieveMarkBatchOperatorConfig | SimSegmentedSieveMarkBatchOperatorConfig |
| Configuration for batched segmented-sieve marking over exact integer fields. | |
Functions | |
| SimResult | sim_add_segmented_sieve_mark_batch_operator (struct SimContext *context, const SimSegmentedSieveMarkBatchOperatorConfig *config, size_t *out_index) |
| Register a batched segmented-sieve marking operator. | |
| SimResult | sim_segmented_sieve_mark_batch_config (struct SimContext *context, size_t operator_index, SimSegmentedSieveMarkBatchOperatorConfig *out_config) |
| Copy the current batched sieve-mark configuration from a registered operator. | |
| SimResult | sim_segmented_sieve_mark_batch_update (struct SimContext *context, size_t operator_index, const SimSegmentedSieveMarkBatchOperatorConfig *config) |
| Replace or renormalize a batched segmented-sieve mark configuration. | |
Batched exact integer segmented-sieve marking operator.
| SimResult sim_add_segmented_sieve_mark_batch_operator | ( | struct SimContext * | context, |
| const SimSegmentedSieveMarkBatchOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register a batched segmented-sieve marking operator.
| context | Simulation context that will own the operator. | |
| config | Optional batch mark configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_segmented_sieve_mark_batch_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimSegmentedSieveMarkBatchOperatorConfig * | out_config | ||
| ) |
Copy the current batched sieve-mark configuration from a registered operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_segmented_sieve_mark_batch_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_segmented_sieve_mark_batch_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimSegmentedSieveMarkBatchOperatorConfig * | config | ||
| ) |
Replace or renormalize a batched segmented-sieve mark configuration.
Passing NULL for config keeps the current configuration and reapplies normalization. A successful update refreshes symbolic state and invalidates the scheduler plan.
| context | Simulation context containing the operator. |
| operator_index | Index of the batch mark operator to update. |
| config | Optional replacement configuration. |