Skip to main content

Module codegen

Module codegen 

Source
Expand description

Code-generation options and compiled numeric functions. Rust source code generation from symbolic expressions.

Converts an expression tree into a Rust function body string. Uses CSE (common subexpression elimination) for efficiency.

Structs§

CodegenOptions
Configuration for Rust code generation.

Enums§

MathBackend
Math function dispatch strategy for generated code.
Precision
Floating-point precision for generated code.
UnitAnnotation
Unit annotation style for generated code.