用于矢量数学的开源C ++库 [英] Open source C++ library for vector mathematics

查看:95
本文介绍了用于矢量数学的开源C ++库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在应用程序中我需要一些基本的向量数学结构。点产品,交叉产品。找到线的交集,那种东西。

I would need some basic vector mathematics constructs in an application. Dot product, cross product. Finding the intersection of lines, that kind of stuff.

我可以自己做(事实上,已经),但不是有一个标准使用所以bug和可能的优化不会对我?

I can do this by myself (in fact, have already) but isn't there a "standard" to use so bugs and possible optimizations would not be on me?

Boost没有它。

Boost does not have it. Their mathematics part is about statistical functions, as far as I was able to see.

附录:

Boost 1.37确实似乎有。他们还优雅地在现场介绍了一些其他解决方案,为什么他们仍然去和做自己的。我喜欢这个。

Boost 1.37 indeed seems to have this. They also gracefully introduce a number of other solutions at the field, and why they still went and did their own. I like that.

推荐答案

重新检查C ++程序员的ol'good朋友叫 Boost 。它有线性代数包,可能很适合您的需求。

Re-check that ol'good friend of C++ programmers called Boost. It has a linear algebra package that may well suits your needs.

这篇关于用于矢量数学的开源C ++库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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