bindings-levmar-0.1.0.1: A binding to the C levmar (Levenberg-Marquardt) library

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

Bindings.LevMar.CurryFriendly

Contents

Description

Curry friendly variants of the Levenberg-Marquardt algorithms in Bindings.LevMar.

(This module re-exports all the necessary types and function from Bindings.LevMar, so there's no need to import that module when you want to use this one.)

Synopsis

Documentation

_LM_VERSION :: StringSource

The version of the C levmar library.

Maximum sizes of arrays.

_LM_OPTS_SZ :: IntSource

The maximum size of the options array.

_LM_INFO_SZ :: IntSource

The size of the info array.

Errors

Default values for options.

Model & Jacobian

type Model r = Ptr r -> Ptr r -> CInt -> CInt -> Ptr () -> IO ()Source

Functional relation describing measurements.

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

Handy type synonyms used in the curry friendly types.

type BoxConstraints cr a = Ptr cr -> Ptr cr -> aSource

type LinearConstraints cr a = Ptr cr -> Ptr cr -> CInt -> aSource

type Weights cr a = Ptr cr -> aSource

Curry friendly types of the Levenberg-Marquardt algorithms.

Curry friendly variants of the Levenberg-Marquardt algorithms in Bindings.Levmar.