Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l-bfgs-s f & g might be mutable #5

Open
colinfang opened this issue Jan 8, 2019 · 0 comments
Open

l-bfgs-s f & g might be mutable #5

colinfang opened this issue Jan 8, 2019 · 0 comments

Comments

@colinfang
Copy link

According to the fortran code

c     f is a double precision variable.
c       On first entry f is unspecified.
c       On final exit f is the value of the function at x.
c
c     g is a double precision array of dimension n.
c       On first entry g is unspecified.
c       On final exit g is the value of the gradient at x.

It is not clear whether f & g are not modified in the subroutine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant