C ++中的矩阵数据类型 [英] Matrix Data Type in C++

查看:117
本文介绍了C ++中的矩阵数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++中有一个称为Matrix的数据类型吗?

Is there a data type called Matrix in C++?

如果是,使用哪个头文件?

If Yes, which header file should be included for using it?

推荐答案

Boost Matrix Library 提供了这一点。对于更多维度, Boost多维数组库<

The Boost Matrix Library provides this. For higher numbers of dimensions, the Boost Multidimensional Array Library is also available.

完整的示例在文档页面上提供。

Full examples are available on the documentation pages.

这篇关于C ++中的矩阵数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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