Expand description
Numeric evaluation surface: the numeric domain exposes numeric-diff,
integrate, ode-solve, and composed pipelines over a registry of pluggable
differentiator, quadrature, and ODE-solver backends.
A composed pipeline pairs a sim_lib_numbers_func::Func with a numeric
domain such as quadrature or ODE solving, a method such as simpson or
rk4, and a state kind. The resulting ComposedPipeline is a first-class
runtime value that can be inspected and run through numeric/run-composed.
Structs§
- Composed
Pipeline - First-class value describing a numeric pipeline composition.
- Diff
Opts - Options controlling a numeric-differentiation call.
- Numeric
Numbers Lib - Library that installs the numeric evaluation surface: the
numeric-diff,integrate,integrate-adapt,ode-solve,numeric/compose, andnumeric/run-composedcallables that dispatch to the registered numeric backends. - OdeOpts
- Options controlling an ODE-solve call.
- OdeProblem
- A first-order initial-value ODE problem
dy/dx = f(x, y)handed to anOdeSolver. - Quad
Opts - Options controlling an integration (quadrature) call.
Enums§
- Numeric
Kind - The category of numeric backend, used to route a plugin to the right slot in the registry.
- Pipeline
Kind - Numeric pipeline domain selected for a composed pipeline.
- State
Kind - Runtime state representation selected for a composed pipeline.
Traits§
- Differentiator
- A numeric differentiation backend: computes
df/dvarat a point. - Numeric
Plugin - Common interface for every numeric backend plugin: it reports its method name and the kind of operation it implements.
- OdeSolver
- A numeric ODE-solving backend: integrates an initial-value problem.
- Quadrature
- A numeric integration (quadrature) backend: computes a definite integral.
Functions§
- global_
numeric_ registry - Returns the process-global numeric registry, creating it on first access.
- integrate_
adapt_ symbol - Returns the symbol bound to the adaptive
integrate-adaptoperation. - integrate_
symbol - Returns the symbol bound to the fixed-rule
integrateoperation. - numeric_
compose_ symbol - Returns the symbol bound to the
numeric/composeoperation. - numeric_
diff_ symbol - Returns the symbol bound to the
numeric-diffoperation. - numeric_
run_ composed_ symbol - Returns the symbol bound to the
numeric/run-composedoperation. - ode_
solve_ symbol - Returns the symbol bound to the
ode-solveoperation. - register_
differentiator - Registers a differentiator backend in the global numeric registry.
- register_
ode_ solver - Registers an ODE-solver backend in the global numeric registry.
- register_
quadrature - Registers a quadrature backend in the global numeric registry.