I am Charmie

メモとログ

2012-10-26から1日間の記事一覧

Maple: for deriving objective function and jacobian function

We can generate C code of an objective function by using Maple as with(linalg); F := ...; Ffunc := unapply(convert(convert(F, vector), list), PARAMETERS); CodeGeneration[C](Ffunc, optimize); I tried the following equation $latex \frac{p_0}…

Levenberg Marquardt algorithm in C++

For start-up projects, I need a non-linear optimization C++ library, especially Levenberg Marquardt algorithm. I found two candidates: levmar and Eigen::LevenbergMarquardt. In terms of examples, levmar provides good examples homest while E…