Skip to main content

Crate spectrafit_solver

Crate spectrafit_solver 

Source
Expand description

spectrafit-solver — fitting engine with LM, lm-legacy (parity oracle), TRF, geodesic, dogleg, Newton-CG, IRLS, DE, VarPro, and auto routing.

Public API:

  • fit — dispatch to the appropriate solver based on FitOptionsSpec.solver
  • SolverError — solver-layer error type (boundary-crossing failures)

Enums§

SolverError
Errors originating in the solver layer.

Functions§

fit
Run a fit of graph against datasets using the solver named by options.solver (see Solver::parse for the accepted strings: lm, lm-legacy, trf, geodesic, dogleg, newton-cg, irls[:weight], global, varpro, auto).