nmatrix icon indicating copy to clipboard operation
nmatrix copied to clipboard

Dense and sparse linear algebra library for Ruby via SciRuby

Results 76 nmatrix issues
Sort by recently updated
recently updated
newest added

Extconf uses `Dir.exists?` which was removed in Ruby 3.2 ([ruby-lang issue](https://bugs.ruby-lang.org/issues/17391)) https://github.com/SciRuby/nmatrix/blob/beb266ed1ae56206af73f8f94bf9956213f9997b/ext/nmatrix/extconf.rb#L57-L64 To those running into this problem here's a monkey patch gem [file_exists](https://github.com/Largo/file_exists) which is really just this [alias_method](https://github.com/Largo/file_exists/blob/main/lib/file_exists.rb)

I can't seem to find a way to install nmatrix (a version that works) for both MacOSX and Ubuntu. Our dev team has MacOSX machines for local deployment and our...

Line 203 in shortcuts.rb gives this warning: "Using the last argument as keyword parameters is deprecated". Just splat it instead now.

Current implementation supports g++ 4.x only, when checking c++11 support. Fix assumes that any g++ newer than 4 does support c++11. It allows compiling nmatrix on modern g++ versions. fixes...

I ran across it in these two spots: ``` /.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nmatrix-0.2.4/lib/nmatrix/shortcuts.rb:203: warning: Using the last argument as keyword parameters is deprecated /.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nmatrix-0.2.4/lib/nmatrix/shortcuts.rb:233: warning: Using the last argument as keyword parameters is...

This condition in lib/nmatrix/mkmf.rb fails its purpose for cpp versions of more than one digit. For instance in Debian Bullseye it is 10.2.1 and "gem install nmatrix" fails.

## Why this pull request? :heavy_check_mark: Readability :heavy_check_mark: Maintainability :heavy_check_mark: Consistent syntax :heavy_check_mark: More secure (because it helps to prevent usually bad practices) ## Todo - [x] Install `standard` gem...

I need to use the matrix exponential operation as can be seen here: https://www.mathworks.com/help/matlab/ref/expm.html There is a method for this operation in nmatrix? If is not, how can I implement...

**OS: Ubuntu 17.10 Ruby -v : ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu] NMATRIX (0.2.4)** HI , For some reason i am getting a segmentation fault in my code At first i thought...

bug
skill: C/C++

On ruby version ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] when nmatrix is required, the following code: ` File.open(file).each do |line| ``` line.chomp! puts line + '-' fields = line.split("\t") puts...

bug