Popularity
1.2
Declining
Activity
0.0
Stable
1
1
0

Monthly Downloads: 25
Programming language: C
License: BSD 3-clause "New" or "Revised" License
Tags: Math     Hmatrix    
Latest version: v0.1.1.1

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.

Do you think we are missing an alternative of hmatrix-morpheus or a related project?

Add another 'hmatrix' Package

README

morpheus

Build Status

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:

Benchmark Time
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

make test

Build and run benchmarks

make bench

Build against OpenBLAS

macOS

  • Homebrew:
brew install homebrew/science/openblas
OPENBLAS=`brew --prefix openblas` make

Linux

  • Debian/Ubuntu:
apt-get install libopenblas-dev
OPENBLAS=/usr make

Generate documentation

make docs

requires doxygen