用于向量和矩阵计算的高性能数学库 [英] High Performance Math Library for Vector And Matrix Calculations

查看:38
本文介绍了用于向量和矩阵计算的高性能数学库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到向量和矩阵计算的快速库?我需要高性能.

Where Can i find fast library for vector and Matrix Calculations? I need high performance.

更新:我需要它来计算游戏.

推荐答案

编辑:抱歉,我不够高,无法在任何地方添加评论,但刚刚注意到您提到它是用于游戏的,除非您在没有任何硬件加速的情况下用软件编写引擎,那么与其他代码相比,您从矩阵操作(假设它们用于 TCL)中获得的好处几乎为零.

Edit: Sorry, I'm not high enough to add comments anywhere but just noticed you mentioned it is for games, unless you are writing your engine in software without any hardware acceleration, then the benefits you will get from the matrix manipulations (assuming that they are for TCL) are about nil in comparison to the rest of your code.

我无法将您链接到任何特定的库,但是当您指定高性能时,如果没有人愿意为您提供一些库,一些建议可能会有所帮助:

I can't link you to any particular library, but as you are specifying high performance a couple of suggestions that may help if nobody is forthcoming with a few libraries for you:

  1. 利用 SSE 说明.
  2. 如果您有钱,那么英特尔数学库和他们的编译器都非常出色.
  3. 矢量和矩阵计算是 GPU 擅长的事情.不妨看看 nVidia 的 CUDA 之类的东西.

这篇关于用于向量和矩阵计算的高性能数学库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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