123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- // Ceres Solver - A fast non-linear least squares minimizer
- // Copyright 2023 Google Inc. All rights reserved.
- // http://ceres-solver.org/
- //
- // Redistribution and use in source and binary forms, with or without
- // modification, are permitted provided that the following conditions are met:
- //
- //
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- // POSSIBILITY OF SUCH DAMAGE.
- //
- // Author: sameeragarwal@google.com (Sameer Agarwal)
- //
- // What template specializations are available.
- //
- // ========================================
- // THIS FILE IS AUTOGENERATED. DO NOT EDIT.
- // THIS FILE IS AUTOGENERATED. DO NOT EDIT.
- // THIS FILE IS AUTOGENERATED. DO NOT EDIT.
- // THIS FILE IS AUTOGENERATED. DO NOT EDIT.
- //=========================================
- //
- // This file is generated using generate_template_specializations.py.
- #include "ceres/internal/eigen.h"
- #include "ceres/schur_templates.h"
- namespace ceres {
- namespace internal {
- void GetBestSchurTemplateSpecialization(int
- options.row_block_size =
- options.e_block_size =
- options.f_block_size =
-
-
-
- #ifndef CERES_RESTRICT_SCHUR_SPECIALIZATION
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 2) &&
- (options.f_block_size == 2)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 2) &&
- (options.f_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 2) &&
- (options.f_block_size == 4)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 2)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 3) &&
- (options.f_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 3) &&
- (options.f_block_size == 4)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 3) &&
- (options.f_block_size == 6)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 3) &&
- (options.f_block_size == 9)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 4)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 6)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 8)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 9)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 2) &&
- (options.e_block_size == 4)) {
-
-
-
- return;
- }
- if (options.row_block_size == 2) {
-
-
-
- return;
- }
- if ((options.row_block_size == 3) &&
- (options.e_block_size == 3) &&
- (options.f_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 4) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 2)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 4) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 3)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 4) &&
- (options.e_block_size == 4) &&
- (options.f_block_size == 4)) {
-
-
-
- return;
- }
- if ((options.row_block_size == 4) &&
- (options.e_block_size == 4)) {
-
-
-
- return;
- }
- #endif
- return;
- }
- } // namespace internal
- } // namespace ceres
|