LAPACK wrappers for C/C++

£可爱£侵袭症+ 提交于 2019-12-01 11:26:02

Check out CLAPACK, lapack++, or its supposed successor Template Numerical Toolkit.

Armadillo works great for me. Good API, excellent performance.

If you are willing to use a commercial product, then I can recommend Intel Math Kernel library. It will cost you 400$ for a single user license, but you get a very fast implementation that is optimized for Intel processors.

LAPACK provides its own C bindings <lapacke.h> since version 3.4.0.

There are two binding options for each LAPACK function, either a low-level wrapper that just mimics the FORTRAN function call or a higher-level wrapper that takes care of all the workspace memory allocation for you.

Another nice touch is that you can choose whether to use column-major or row-major ordering now.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!