Thanks @AntoninKns for this great repo!
I was checking the BundleAdjustmentModel, which follows the NLSModel API, and I have a couple of comments:
- I think the jacobian of the residual should be described by
jac_structure_residual! and jac_coord_residual! and not jac_structure! L.159 and jac_coord! L.196.
- Adding the functions
jprod_residual!, and jtprod_residual! would be very useful.
- I might have missed it, but it could be useful to add somewhere in the documentation that the
BundleAdjustmentModel doesn't return any second-order information on the residual.
- Finally, I believe the docstring of
BundleAdjustmentModel L.5 might be misleading since the model is a nonlinear least-square optimization problem.
Thanks @AntoninKns for this great repo!
I was checking the
BundleAdjustmentModel, which follows the NLSModel API, and I have a couple of comments:jac_structure_residual!andjac_coord_residual!and notjac_structure!L.159 andjac_coord!L.196.jprod_residual!, andjtprod_residual!would be very useful.BundleAdjustmentModeldoesn't return any second-order information on the residual.BundleAdjustmentModelL.5 might be misleading since the model is a nonlinear least-square optimization problem.