commit | 00404345077a7379554bf3f733189f41bcc5045f | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Fri Oct 05 17:43:26 2018 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Wed Oct 10 10:56:13 2018 -0700 |
tree | 9b8e1fc0d90f109ff910b8326f5cfb9a0feb00fd | |
parent | 7edb3a6b928b2b4faa8b9592750c58106e120940 [diff] |
Add ParameterBlock::IsSetConstantByUser() Introduce IsSetConstantByUser method which indicates whether the user set the parameter block constant or not. Changed the definition of IsConstant() to indicate if the parameter block is effectively constant or not, which is now the uniion of two conditions - the user set it to be constant or the local tangent space is of size zero. Currently this change has no effect as we do not allow local parameterizations with zero tangent space size, but thats an inconsistency we are working on fixing. A variety of code cleans up to parameter_block.h 1. Remove an old TODO comment which is not really actionable. 2. Remove Init() method. 3. NULL -> nullptr 4. memcpy -> std::copy Change-Id: I12973ee0f053fa22f09908cf36e9aa57d9d8dd74
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.