bindings-levmar-0.2.0.1: Low level bindings to the C levmar (Levenberg-Marquardt) library

StabilityExperimental
Maintainervandijk.roel@gmail.com, v.dijk.bas@gmail.com

Bindings.LevMar

Contents

Description

A low level binding to the C levmar (Levenberg-Marquardt) library.

For documentation see: http://www.ics.forth.gr/~lourakis/levmar/

Synopsis

Documentation

c'LM_VERSION :: StringSource

The version of the C levmar library.

Maximum sizes of arrays.

c'LM_OPTS_SZ :: Num a => aSource

The maximum size of the options array.

c'LM_INFO_SZ :: Num a => aSource

The size of the info array.

Errors.

Default values for minimization options.

Handy type synonyms

Model & Jacobian.

type Model r = Parameters r -> Measurements r -> NrOfParameters -> NrOfMeasurements -> AData -> IO ()Source

Functional relation describing measurements.

withModel :: Model a -> (FunPtr (Model a) -> IO b) -> IO bSource

Types of the Levenberg-Marquardt algorithms.

Levenberg-Marquardt algorithms.

Jacobian verification

Utils

type LevMarStddev cr = Covar cr -> NrOfParameters -> BestFitParameterIx -> IO crSource

Standard deviation.

type LevMarCorCoef cr = Covar cr -> NrOfParameters -> BestFitParameterIx -> BestFitParameterIx -> IO crSource

Pearson's correlation coefficient for best-fit parameters.

type LevMarR2 cr = FunPtr (Model cr) -> Parameters cr -> Measurements cr -> NrOfParameters -> NrOfMeasurements -> AData -> Result cr -> IO CIntSource

Coefficient of determination (R2).