LilOpt
LilOpt copied to clipboard
Cannot use for problems which have a variable number of residuals
Is there a way to use this for an optimisation problem where you do not know the number of residuals until you read the data? e.g. Feature matching in images you never know how many matches you are going to get, so you do not know the number of residuals.
The template arguments of LilOpt::IErrorFunction<> does not seem to work as I cannot hard code the residuals and due to types it will not accept a non-const input.