Registry / utility / nmatrix

nmatrix

JSON →
library0.2.4rbrubygemsunverified

NMatrix is a linear algebra library for Ruby, written mostly in C and C++.

gem install nmatrix
INSTALL
IMPORT
SIG · NMATRIX
N
nmatrix
utilityrubyv0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NMatrix
require 'nmatrix'

Create a matrix and compute its inverse.

require 'nmatrix' m = NMatrix.new([2, 2], [1, 2, 3, 4]) puts m.inverse
Debug
Known issues
breakingNMatrix may have compatibility issues with Ruby 2.7+ due to C extensions.
fix
Use a compatible version or consider using Numo::NArray as an alternative.
affects: >= 0.2.4
Upgrade
Version history
0.2.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
nmatrix — gem install nmatrix · libregistry