当前位置:网站首页>win10上vs2017配置Eigen3开发环境
win10上vs2017配置Eigen3开发环境
2022-06-21 06:42:00 【alex1801】
1、Eigen简介
Eigen是一个高层次的C ++库,支持线性代数,矩阵和矢量运算,数值分析及其相关的算法。是一个由头文件组成的库,可以不用编译,直接下载,加载到本地项目。
官网下载地址:http://eigen.tuxfamily.org/index.php?title=Main_Page,目前最新版本为3.4.0,我们就下载对应的zip即可。

解压后,目录里面有很多文件,其中包含Eigen库。

2、vs2017属性表单配置
step1、新建项目,名为test_eigen。

step2、平台选为Debug, x64,项目->属性->属性配置->VC++目录,选择包含目录,

添加Eigen库目录,D:\env\slam\eigen-3.4.0,目录内容如下:

3、测试
新建test.cpp,内容如下:
#include<iostream>
#include<Eigen/Dense>
#include<Eigen/Core>
using namespace std;
int main()
{
Eigen::Matrix<float, 3, 3>matrix_33;
matrix_33 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
cout << matrix_33 << endl;
system("pause");
return 0;
}结果:

边栏推荐
- 关于#mysql#的问题,如何解决?
- Matplotlib subgraph beautification
- [MySQL] database function clearance Tutorial Part I (aggregation, mathematics, string, date, control flow function)
- 【FPGA小波变换】基于FPGA的图像9/7整数小波变换verilog实现
- Lnc2Meth:与疾病相关的lncRNA上的甲基化位点
- I2C驱动实现的两种思路(i2c-dev.c和i2c-core.c)
- Required Integer parameter ‘XXX‘ is not present
- 152-Solana入门(十六)- 创建MetaplexNFT
- Argo CD 使用
- PostgreSQL和MySQL应该如何选择
猜你喜欢

Innovation project training: Data crawling

How to solve the problem of MySQL?

PyG教程(1):初识Pytorch Geometric

使用cell ranger进行单细胞转录组定量分析

Dynamic planning exercises (II)
![[MySQL] database multi table operation customs clearance tutorial (foreign key constraint, multi table joint query)](/img/d9/919687856f0da02f5ae837cb62a4a3.png)
[MySQL] database multi table operation customs clearance tutorial (foreign key constraint, multi table joint query)

GEO2R:对GEO数据库中的数据进行差异分析
![[MySQL] database function clearance Tutorial Part I (aggregation, mathematics, string, date, control flow function)](/img/43/f7066e3aaeba0128ebdb18a56c913c.png)
[MySQL] database function clearance Tutorial Part I (aggregation, mathematics, string, date, control flow function)
![Markdown mathematical grammar [detailed summary]](/img/c2/7aff61f7e82595a9d22c2d593148f0.png)
Markdown mathematical grammar [detailed summary]

关于#mysql#的问题,如何解决?
随机推荐
Small program [phase I]
matplotlib子图美化操作
Modbus poll v9.9.2 build 1690 MODBUS test tool single file version
浅了解泛型机制
Modbus Poll v9.9.2 Build 1690 Modbus测试工具单文件版
网格搜索法
Candy tunnel JS special effect code
152 Solana getting started (16) - create a metaplexnft
154 Solana distribution token
Filtre Bloom
使用Loupe Cell Browser查看10X单细胞转录组分析结果
【input】输入框事件总结
[query the data in the third row of the data table]
老用户回来看看
【GNN】GNN图神经网络工具箱的应用和matlab仿真
[input] input box event summary
The database has the problem of user changing password
152-Solana入门(十六)- 创建MetaplexNFT
From stream to kotlin to spl
lombok之@NonNull注解