-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rectangular Jacobian matrices support #10
Comments
Thank you for reporting your issue. You should be able to use Before I do that, I would like you to double check something. Notably, you need to make sure that your If you check the above and that all seems correct, let me know, and I can investigate further. If you have a code sample that fails, I would appreciate that as well, but simply verifying for me that those things are true should be helpful. Thanks! |
Thanks a lot, the problem was that the residuals I returned was the same size as the parameters. So I had 2 residuals, 2 parameters but a 2x1 Jacobian. Maybe a message in the form of |
Opened #11 to improve this error message. |
Thanks for the highly underrated library, it's very nice to use.
It would be nice to be able to return a non-square Jacobian matrix from the
LeastSquaresProblem::jacobian()
function. Whenever I try it I get atermination: WrongDimension("jacobian")
as part of the report.At least a mention of this limitation in the documentation would be nice.
Also, for my understanding: is this a mathematical limitation, a missing implementation, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: