eigen-1.1.3: Eigen C++ library (linear algebra: matrices, vectors, numerical solvers).

Safe HaskellNone
LanguageHaskell98

Data.Eigen.Parallel

Description

Some Eigen's algorithms can exploit the multiple cores present in your hardware. To this end, it is enough to enable OpenMP on your compiler, for instance: GCC: -fopenmp ICC: -openmp MSVC: check the respective option in the build properties. You can control the number of thread that will be used using setNbThreads

Synopsis

Documentation

initParallel :: IO () Source

Must be call first when calling Eigen from multiple threads

setNbThreads :: Int -> IO () Source

Sets the max number of threads reserved for Eigen