Re: [eigen] Use Eigen as BLAS

[ Thread Index | Date Index | More Archives ]

Yes and no. There is one BLAS API in eigen/blas, but its goal is to compile a BLAS compatible library. Converting it to a header-only lib would be a bad idea because BLAS functions are not templated, so you would end up compiling the entire blas every time... Then if you are looking for something like:

MatrixXd A, B, C;

I'm not sure to see the point.


On Sat, Feb 18, 2017 at 11:43 AM, Mathieu Dutour <mathieu.dutour@xxxxxxxxx> wrote:
I have an existing C program that is using BLAS/LAPACK as
external linear algebra library.

For various reason I would like to transform this into a header
based C++ program with no external dependency to dynamic

Obviously Eigen can fit such a role as it has all the functionality
of BLAS.

But my question is does there exist a way to have BLAS/LAPACK
like API from Eigen? At present it seems to be no, but maybe
someone has done it.


Mail converted by MHonArc 2.6.19+