Skip to content
Discussion options

You must be logged in to vote

Are you asking whether the parameters could be another (real) floating point type (i.e. float) or whether it could be a complex type?

The answer to the latter is that Ceres has been developed for solving real-valued problems, and the algorithms would often require some modification to correctly support complex valued types (e.g. (L)-BFGS has complex variants). Whilst that is doable, it would also have interface implications. Whilst it would be possible to template the parameter type and only explicitly instantiate it for a subset of types, ensuring correctness for all would be a significant overhead that we have not had a use-case for.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cpp977
Comment options

@cpp977
Comment options

@sandwichmaker
Comment options

Answer selected by cpp977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants