编译Ceres需要的第三方库及编译好的Ceres库


vs2015 64bit下编译Ceres库所需的第三方库及编译完的Ceres库
资源截图
代码片段和文件信息
// This file is part of Eigen a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 Benoit Jacob 
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file You can obtain one at http://mozilla.org/MPL/2.0/.

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#include 

using namespace std;

const int default_precision = 4;

// see --only-cubic-sizes
bool only_cubic_sizes = false;

// see --dump-tables
bool dump_tables = false;

uint8_t log2_pot(size_t x) {
  size_t l = 0;
  while (x >>= 1) l++;
  return l;
}

uint16_t compact_size_triple(size_t k size_t m size_t n)
{
  return (log2_pot(k) << 8) | (log2_pot(m) << 4) | log2_pot(n);
}

// just a helper to store a triple of KMN sizes for matrix product
struct size_triple_t
{
  uint16_t k m n;
  size_triple_t() : k(0) m(0) n(0) {}
  size_triple_t(size_t _k size_t _m size_t _n) : k(_k) m(_m) n(_n) {}
  size_triple_t(const size_triple_t& o) : k(o.k) m(o.m) n(o.n) {}
  size_triple_t(uint16_t compact)
  {
    k = 1 << ((compact & 0xf00) >> 8);
    m = 1 << ((compact & 0x0f0) >> 4);
    n = 1 << ((compact & 0x00f) >> 0);
  }
  bool is_cubic() const { return k == m && m == n; }
};

ostream& operator<<(ostream& s const size_triple_t& t)
{
  return s << “(“ << t.k << “ “ << t.m << “ “ << t.n << “)“;
}

struct inputfile_entry_t
{
  uint16_t product_size;
  uint16_t pot_block_size;
  size_triple_t nonpot_block_size;
  float gflops;
};

struct inputfile_t
{
  enum class type_t {
    unknown
    all_pot_sizes
    default_sizes
  };

  string filename;
  vector entries;
  type_t type;

  inputfile_t(const string& fname)
    : filename(fname)
     type(type_t::unknown)
  {
    ifstream stream(filename);
    if (!stream.is_open()) {
      cerr << “couldn‘t open input file: “ << filename << endl;
      exit(1);
    }
    string line;
    while (getline(stream line)) {
      if (line.empty()) continue;
      if (line.find(“BEGIN MEASUREMENTS ALL POT SIZES“) == 0) {
        if (type != type_t::unknown) {
          cerr << “Input file “ << filename << “ contains redundant BEGIN MEASUREMENTS lines“;
          exit(1);
        }
        type = type_t::all_pot_sizes;
        continue;
      }
      if (line.find(“BEGIN MEASUREMENTS DEFAULT SIZES“) == 0) {
        if (type != type_t::unknown) {
          cerr << “Input file “ << filename << “ contains redundant BEGIN MEASUREMENTS lines“;
          exit(1);
        }
        type = type_t::default_sizes;
        continue;
      }
      

      if (type == type_t::unknown) {
        continue;
      }
      switch(type) {
        case type_t::all_pot_sizes: {
          unsigned int product_size block_size;
          float gf

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   14208512  2018-10-04 15:37  编译好的库Ceresinceres-debug.dll

     文件    2204160  2018-10-04 15:32  编译好的库Ceresinceres.dll

     文件      19566  2018-10-04 15:24  编译好的库CeresCMakeCeresConfig.cmake

     文件       2663  2018-10-04 15:21  编译好的库CeresCMakeCeresConfigVersion.cmake

     文件        929  2018-10-04 15:24  编译好的库CeresCMakeCeresTargets-debug.cmake

     文件        917  2018-10-04 15:24  编译好的库CeresCMakeCeresTargets-release.cmake

     文件       3072  2018-10-04 15:24  编译好的库CeresCMakeCeresTargets.cmake

     文件      12795  2018-10-01 14:28  编译好的库CeresCMakeFindEigen.cmake

     文件      27685  2018-10-01 14:28  编译好的库CeresCMakeFindGflags.cmake

     文件      16008  2018-10-01 14:28  编译好的库CeresCMakeFindGlog.cmake

     文件      10902  2018-10-01 14:28  编译好的库Ceresincludeceresautodiff_cost_function.h

     文件       6397  2018-10-01 14:28  编译好的库Ceresincludeceresautodiff_local_parameterization.h

     文件       2689  2018-10-01 14:28  编译好的库Ceresincludeceresceres.h

     文件       4221  2018-10-01 14:28  编译好的库Ceresincludeceresconditioned_cost_function.h

     文件       6362  2018-10-01 14:28  编译好的库Ceresincludecerescost_function.h

     文件      21622  2018-10-01 14:28  编译好的库Ceresincludecerescost_function_to_functor.h

     文件      18974  2018-10-01 14:28  编译好的库Ceresincludecerescovariance.h

     文件       3125  2018-10-01 14:28  编译好的库Ceresincludecerescrs_matrix.h

     文件      15962  2018-10-01 14:28  编译好的库Ceresincludecerescubic_interpolation.h

     文件       5938  2018-10-01 14:28  编译好的库Ceresincludeceresc_api.h

     文件      10582  2018-10-01 14:28  编译好的库Ceresincludeceresdynamic_autodiff_cost_function.h

     文件       2405  2018-10-01 14:28  编译好的库Ceresincludeceresdynamic_cost_function.h

     文件       7728  2018-10-01 14:28  编译好的库Ceresincludeceresdynamic_cost_function_to_functor.h

     文件       7530  2018-10-01 14:28  编译好的库Ceresincludeceresdynamic_numeric_diff_cost_function.h

     文件       2870  2018-10-01 14:28  编译好的库Ceresincludeceresfpclassify.h

     文件       6473  2018-10-01 14:28  编译好的库Ceresincludeceresgradient_checker.h

     文件       5001  2018-10-01 14:28  编译好的库Ceresincludeceresgradient_problem.h

     文件      15238  2018-10-01 14:28  编译好的库Ceresincludeceresgradient_problem_solver.h

     文件      14165  2018-10-01 14:28  编译好的库Ceresincludeceresinternalautodiff.h

     文件       4170  2018-10-04 15:24  编译好的库Ceresincludeceresinternalconfig.h

............此处省略4403个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)