Skip to content

NLSModels API #39

@tmigot

Description

@tmigot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions