mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
7edb3a6b92
The class parameter dims is a helper class that holds the parameter dimensions. The parameter dimensions are either dynamic or the sizes are known at compile time. It is used to pass parameter block dimensions around (e.g. between functions or classes). Also the dimensions of the parameter blocks are checked at compile time and must be greater than zero. This means trailing zero parameter blocks will result in a compile error. Change-Id: I4decf2f09e63fdb0fd652022b2be2a1cfd9c4478