Writing kernel modules in Haskell
Writing kernel modules in Haskell
Posted Sep 15, 2009 12:01 UTC (Tue) by jbh (guest, #494)In reply to: Writing kernel modules in Haskell by sagrailo
Parent article: Writing kernel modules in Haskell
Interesting! I've wanted to look into Eigen as well, which is another
template linear algebra library (http://eigen.tuxfamily.org). It seems to
hold up pretty well against Atlas (on Thinkpad T60, compiled with -msse2
flag):
template linear algebra library (http://eigen.tuxfamily.org). It seems to
hold up pretty well against Atlas (on Thinkpad T60, compiled with -msse2
flag):
ATLAS: 0.43s
TNT: 32.25s
Eigen: 0.76s
The major additions to your test program are (in different places):
#include <Eigen/Core>
--
MatrixXf Aeig(N,N), Beig(N,N), Ceig(N,N);
Aeig.setOnes(); // or Aeig = MatrixXf::Ones(N,N);
Beig.setOnes();
Ceig.setZero();
--
Ceig = Aeig * Beig;
--
assert(Ceig(i,j) == N);
