Search code examples
j

How to use lbfgs from math/lbfgs?


I'm trying to use the function lbfgs_jlbfgs_ but cannot find a documentation. A naive approach to call this function without arguments gives

'"/usr/share/j/9.01/addons/math/lbfgs/lib/liblbfgs.so" lbfgs_  n *x *x *d *d *d *x *d *x *d *d *d *x'&cd

Is there any indication of n, *x and *d?

A plausible documentation is on github. The number of arguments seems to match, but the order doesn't seem to match. A specification of the particular order of the arguments would be equally helpful.


Solution

  • The math/lbfgs addon has just been updated. Look again and you should see more comments and a test folder with examples.