-
Notifications
You must be signed in to change notification settings - Fork 39
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
fj! functions? #16
Comments
Would make our job a little bit easier :) Though it's obviously not a deal breaker if it isn't in when we change. |
Since, apart from some more tests and refactoring, I'm largely done with complex-valued Jacobians, I can now start looking at various convenience wrappers. For clarity and since I'm not too familiar with the JuliaNLSolvers API, could you give me a simple example for the feature you're looking for here? |
https://github.com/JuliaNLSolvers/NLsolve.jl/blob/master/src/autodiff.jl#L12
|
The equivalent of |
Finished as a part of #17 |
Sorry, but I don't really understand the syntax here. What is |
I'm not sure what you mean by F(x) here. In DiffEqDiffTools |
Then I think OP was misunderstood. We have function fj!(x, F, J)
... update F inplace store in F
... update J inplace store in J
end Is this what was implemented in #117? |
So, if I understand you correctly, rather than evaluating the Jacobian and the derivatives at the same time, you want to evaluate the Jacobian and the function values
could be easily added as a helper function. Since |
Yeah, that's my bad that this slipped by the review. It should be an inplace update into |
I'm not sure it makes sense to make this a part of the general For this, I think adding a helper function along the lines of what I posted previously, only with appropriate parameter constraints and default values might be the way to go. |
Well every numerical differentiation method needs to calculate |
Not really, no. Forward differences need |
Good point. I was just thinking forward differences. |
Anyway, it doesn't really matter, I can just evaluate |
It would be nice to have simultaneous
f
and Jacobian evaluations from this to match the JuliaNLSolvers APIThe text was updated successfully, but these errors were encountered: