hmatrix-morpheus alternatives and similar packages
Based on the "hmatrix" category.
Alternatively, view hmatrix-morpheus alternatives based on common mentions on social networks and blogs.
Haskell interface to the sundials suite of nonlinear and differential/algebraic equation solvers
Do you think we are missing an alternative of hmatrix-morpheus or a related project?
The library contains a bunch of cache line aware numerical algorithms suitable for using as a low-level primitives to build machine learning applications.
Naive implementations, which do not take into account cache lines, would suffer order of magnitude performance degradation if tried to traverse a row major matrix in column order.
The library functions take into account CPU cache and work well for both row major and column major matrices, as you can see from the benchmark below which measure time for finding indices of max elements for every column and every row:
|column_max_index - row_major||0.892378 ms|
|column_max_index - col_major||0.845999 ms|
|row_max_index - row_major||0.879663 ms|
|row_max_index - col_major||0.870022 ms|
Build and run tests
Build and run benchmarks
Build against OpenBLAS
brew install homebrew/science/openblas OPENBLAS=`brew --prefix openblas` make
apt-get install libopenblas-dev OPENBLAS=/usr make