问题描述
我想使用 。该网站建议包含类似 #include< Eigen / CXX11 / Tensor>
之类的东西,以便能够使用它。我在OS X Yosemite的Mac上通过(版本3.2.4)安装了eigen。尽管我让eigen可以正常工作,但在不受支持的文件夹中找不到必要的模块:
I would like to use eigens Tensor class from the unsupported module. This site suggests to include something like #include <Eigen/CXX11/Tensor>
to be able to use it. I installed eigen via Homebrew (Version 3.2.4) on my Mac on OS X Yosemite. Although I get eigen to work properly, I cannot find the necessary module in the unsupported folder:
#include <eigen3/unsupported/Eigen/???>
我可能忘记或做错了什么?还是我有一个过时的版本,还没有Tensor类?
What might I have forgotten or done wrong? Or do I have an outdated version which does not have yet the Tensor class?
推荐答案
不支持的Tensor模块仅在暂时不稳定版本(当前稳定版本:3.2.5)。
The unsupported Tensor module is only found in the unstable version for now (Current stable: 3.2.5).
这篇关于使用本征张量类的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!