您当前的位置: 首页 >  矩阵

惊鸿一博

暂无认证

  • 5浏览

    0关注

    535博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

矩阵运算_Eigen使用_基本数据类型

惊鸿一博 发布时间:2020-04-28 22:42:42 ,浏览量:5

1 简单介绍
  • 来自高翔的SLAM十四讲;
    • 代码地址:GitHub - gaoxiang12/slambook
  • 简单介绍,eigen作为矩阵运算常用库的,基本使用;
  • 细节参考注释。
2 文件结构

2.1 CMakeLists.txt
cmake_minimum_required( VERSION 2.8 )
project( useEigen )

set( CMAKE_BUILD_TYPE "Release" )
set( CMAKE_CXX_FLAGS "-O3" )

# 添加Eigen头文件
include_directories( "/usr/include/eigen3" )

# in osx and brew install
# include_directories( /usr/local/Cellar/eigen/3.3.3/include/eigen3 )

add_executable( eigenMatrix eigenMatrix.cpp )
2.2 eigenMatrix.cpp
#include 
using namespace std;
#include 
// Eigen 部分
#include 
/
关注
打赏
1663399408
查看更多评论
立即登录/注册

微信扫码登录

0.0476s