Add IsParameterBlockConstant to the ceres::Problem class.

Change-Id: I7d0e828e81324443209c17fa54dd1d37605e5bfe
This commit is contained in:
Thomas Schneider
2016-04-06 10:40:29 +02:00
parent 77d94b3474
commit d61e94da52
5 changed files with 54 additions and 0 deletions
+3
View File
@@ -309,6 +309,9 @@ class CERES_EXPORT Problem {
// Allow the indicated parameter block to vary during optimization.
void SetParameterBlockVariable(double* values);
// Returns true if a parameter block is set constant, and false otherwise.
bool IsParameterBlockConstant(double* values) const;
// Set the local parameterization for one of the parameter blocks.
// The local_parameterization is owned by the Problem by default. It
// is acceptable to set the same parameterization for multiple