numruby
numruby copied to clipboard
Fast Numerical Linear Algebra Library for Ruby. NMatrix reimplementation.
Added `sum` instance method in the elementwise module and associated tests in elementwise_test.
Currently, there is only benchmarking code for basic operations. There needs to be benchmarks for other operations such as iteration, indexing, linear algebra etc.
Marshalling in Ruby, Pickling in Python
Implement `NumRuby.triu(matrix)` and `NumRuby.tril(matrix)`.
See: https://docs.scipy.org/doc/numpy-1.13.0/neps/ufunc-overrides.html