Add missing include std::copy_n is defined in <algorithm>, which is not explicitly included and therefore causes compilation errors with the recent GCC 14.1 and/or CUDA 12.4.1. Change-Id: I9fcab48770ccfc5ec195dca5a190ceaad9debe81
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.