Stability | Experimental |
---|---|
Maintainer | vandijk.roel@gmail.com, v.dijk.bas@gmail.com |
A binding to the C levmar (Levenberg-Marquardt) library
For documentation see: http://www.ics.forth.gr/~lourakis/levmar/
- _LM_VERSION :: String
- _LM_OPTS_SZ :: Int
- _LM_INFO_SZ :: Int
- _LM_ERROR_LAPACK_ERROR :: CInt
- _LM_ERROR_NO_JACOBIAN :: CInt
- _LM_ERROR_NO_BOX_CONSTRAINTS :: CInt
- _LM_ERROR_FAILED_BOX_CHECK :: CInt
- _LM_ERROR_MEMORY_ALLOCATION_FAILURE :: CInt
- _LM_ERROR_CONSTRAINT_MATRIX_ROWS_GT_COLS :: CInt
- _LM_ERROR_CONSTRAINT_MATRIX_NOT_FULL_ROW_RANK :: CInt
- _LM_ERROR_TOO_FEW_MEASUREMENTS :: CInt
- _LM_ERROR_SINGULAR_MATRIX :: CInt
- _LM_ERROR_SUM_OF_SQUARES_NOT_FINITE :: CInt
- _LM_INIT_MU :: Fractional a => a
- _LM_STOP_THRESH :: Fractional a => a
- _LM_DIFF_DELTA :: Fractional a => a
- type Model r = Ptr r -> Ptr r -> CInt -> CInt -> Ptr () -> IO ()
- type Jacobian a = Model a
- withModel :: Model a -> (FunPtr (Model a) -> IO b) -> IO b
- withJacobian :: Jacobian a -> (FunPtr (Jacobian a) -> IO b) -> IO b
- type LevMarDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarBCDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarBCDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarLecDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarLecDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarBLecDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- type LevMarBLecDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CInt
- dlevmar_der :: LevMarDer CDouble
- slevmar_der :: LevMarDer CFloat
- dlevmar_dif :: LevMarDif CDouble
- slevmar_dif :: LevMarDif CFloat
- dlevmar_bc_der :: LevMarBCDer CDouble
- slevmar_bc_der :: LevMarBCDer CFloat
- dlevmar_bc_dif :: LevMarBCDif CDouble
- slevmar_bc_dif :: LevMarBCDif CFloat
- dlevmar_lec_der :: LevMarLecDer CDouble
- slevmar_lec_der :: LevMarLecDer CFloat
- dlevmar_lec_dif :: LevMarLecDif CDouble
- slevmar_lec_dif :: LevMarLecDif CFloat
- dlevmar_blec_der :: LevMarBLecDer CDouble
- slevmar_blec_der :: LevMarBLecDer CFloat
- dlevmar_blec_dif :: LevMarBLecDif CDouble
- slevmar_blec_dif :: LevMarBLecDif CFloat
Documentation
The version of the C levmar library.
Maximum sizes of arrays.
The maximum size of the options array.
The size of the info array.
Errors.
Default values for minimization options.
_LM_INIT_MU :: Fractional a => aSource
_LM_STOP_THRESH :: Fractional a => aSource
_LM_DIFF_DELTA :: Fractional a => aSource
Model & Jacobian.
type Model r = Ptr r -> Ptr r -> CInt -> CInt -> Ptr () -> IO ()Source
Functional relation describing measurements.
Types of the Levenberg-Marquardt algorithms.
type LevMarDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarBCDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarBCDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarLecDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarLecDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarBLecDer cr = FunPtr (Model cr) -> FunPtr (Jacobian cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource
type LevMarBLecDif cr = FunPtr (Model cr) -> Ptr cr -> Ptr cr -> CInt -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> CInt -> Ptr cr -> CInt -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr cr -> Ptr () -> IO CIntSource