|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Elementwise complex math operator. More...


Go to the source code of this file.
Classes | |
| struct | SimComplexMathOperatorConfig |
| Configuration for the complex math operator. More... | |
Typedefs | |
| typedef enum SimComplexMathMode | SimComplexMathMode |
| Elementwise complex math operation. | |
| typedef enum SimComplexMathRhsSource | SimComplexMathRhsSource |
| Right-hand side source for binary ops. | |
| typedef enum SimComplexMathOutputComponent | SimComplexMathOutputComponent |
| Output component selection when writing into real fields. | |
| typedef enum SimComplexMathPhaseWrap | SimComplexMathPhaseWrap |
| Phase wrap policy for phase outputs. | |
| typedef struct SimComplexMathOperatorConfig | SimComplexMathOperatorConfig |
| Configuration for the complex math operator. | |
Functions | |
| SimResult | sim_add_complex_math_operator (struct SimContext *context, const SimComplexMathOperatorConfig *config, size_t *out_index) |
| Register a complex math operator with the provided configuration. | |
| SimResult | sim_complex_math_config (struct SimContext *context, size_t operator_index, SimComplexMathOperatorConfig *out_config) |
| Retrieve the configuration currently bound to a complex math operator. | |
| SimResult | sim_complex_math_update (struct SimContext *context, size_t operator_index, const SimComplexMathOperatorConfig *config) |
| Update an existing complex math operator in-place. | |
Elementwise complex math operator.
| enum SimComplexMathMode |
Elementwise complex math operation.
Phase wrap policy for phase outputs.
| SimResult sim_add_complex_math_operator | ( | struct SimContext * | context, |
| const SimComplexMathOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register a complex math operator with the provided configuration.
| context | Simulation context that will own the operator. | |
| config | Optional complex math configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_complex_math_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimComplexMathOperatorConfig * | out_config | ||
| ) |
Retrieve the configuration currently bound to a complex math operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_complex_math_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_complex_math_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimComplexMathOperatorConfig * | config | ||
| ) |
Update an existing complex math operator in-place.
Passing NULL for config keeps the current configuration and reapplies normalization. A successful update refreshes symbolic metadata.
| context | Simulation context containing the operator. |
| operator_index | Index of the complex math operator to update. |
| config | Optional replacement complex math configuration. |