mir_least_squares_lm_optimize_s

Low level extern(C) wrapper instatiation.

  1. LMStatus mir_least_squares_lm_optimize_d(scope ref LeastSquaresLM!double lm, scope void* fContext, scope LeastSquaresLM!double.FunctionFunction f, scope void* gContext = null, scope LeastSquaresLM!double.JacobianFunction g = null, scope void* tmContext = null, scope LeastSquaresThreadManagerFunction tm = null)
  2. LMStatus mir_least_squares_lm_optimize_s(scope ref LeastSquaresLM!float lm, scope void* fContext, scope LeastSquaresLM!float.FunctionFunction f, scope void* gContext = null, scope LeastSquaresLM!float.JacobianFunction g = null, scope void* tmContext = null, scope LeastSquaresThreadManagerFunction tm = null)
    extern (C) @safe nothrow @nogc extern (C) pragma(inline, false)
    mir_least_squares_lm_optimize_s
    @system nothrow @nogc pure
    (
    scope ref LeastSquaresLM!float lm
    ,
    scope void* fContext
    ,
    scope LeastSquaresLM!float.FunctionFunction f
    ,
    scope void* gContext = null
    ,
    scope LeastSquaresLM!float.JacobianFunction g = null
    ,
    scope void* tmContext = null
    ,
    )
  3. alias mir_least_squares_lm_optimize(T : double) = mir_least_squares_lm_optimize_d
  4. alias mir_least_squares_lm_optimize(T : float) = mir_least_squares_lm_optimize_s

Parameters

lm
Type: LeastSquaresLM!float

Levenberg-Marquardt data structure

fContext
Type: void*

context for the function

f
Type: LeastSquaresLM!float.FunctionFunction

n -> m function

gContext
Type: void*

context for the Jacobian (optional)

g
Type: LeastSquaresLM!float.JacobianFunction

m × n Jacobian (optional)

tm

thread manager for finite difference jacobian approximation in case of g is null (optional)

Meta