Avoid unintentional std::vector copies Capture block structure vectors by reference instead of by value in ParallelFor lambdas inside BlockRandomAccessDiagonalMatrix and BlockCRSJacobiPreconditioner, and use explicit types instead of auto. Also bind parameter_blocks by const reference in ComputeRecursiveIndependentSetOrdering. Change-Id: I8f2d422423e5c3f58b937c4a6d52a3837068c14f
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.