Skip to content


Repository files navigation

Build Status Dub downloads Dub downloads License Latest version


Dlang BetterC Nonlinear Optimizers.


  • Modified Levenberg-Marquardt Algorithm (Nonlinear Least Squares).
  • Boxed Constrained Quadratic Problem Solver

See also online documentation.


  • Tiny BetterC library size
  • Based on LAPACK
  • Fast compilaiton speed. There are two (for float and double) precompiled algorithm instatiations. Generic API is a thin wrappers around them.
  • Four APIs for any purpose:
    • Extern C API
    • Powerfull high level generic D API
    • Nothrow middle level generic D API
    • Low level nongeneric D API

Required system libraries

See wiki: Link with CBLAS & LAPACK.

Our sponsors