在c ++中的矩阵类 [英] Matrix classes in c++

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

问题描述

我在做一些线性代数数学,并且正在寻找一些真正轻量级和简单的矩阵类,可以处理不同的维度:2x2,2x1,3x1和1x2基本上。
我认为这样的类可以实现与模板和使用一些专业化在某些情况下,性能。
任何人都知道任何简单的实现可以使用?



感谢

div class =h2_lin>解决方案

您可以尝试 Blitz ++ - 或 Boost的uBLAS


I'm doing some linear algebra math, and was looking for some really lightweight and simple to use matrix class that could handle different dimensions: 2x2, 2x1, 3x1 and 1x2 basically. I presume such class could be implemented with templates and using some specialization in some cases, for performance. Anybody know of any simple implementation available for use? I don't want "bloated" implementations, as I'll running this in an embedded environment where memory is constrained.

Thanks

解决方案

You could try Blitz++ -- or Boost's uBLAS

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

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