使用本征张量类的问题 [英] Problems using eigens Tensor class

查看:127
本文介绍了使用本征张量类的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用来自不受支持模块的特征张量类 。该网站建议包含类似 #include< Eigen / CXX11 / Tensor> 之类的东西,以便能够使用它。我在OS X Yosemite的Mac上通过 Homebrew (版本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).

这篇关于使用本征张量类的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆