Registry / utility / matrix

matrix

JSON →
library0.4.3rbrubygemsunverified

An implementation of Matrix and Vector classes for Ruby.

gem install matrix
INSTALL
IMPORT
SIG · MATRIX
M
matrix
utilityrubyv0.4.3
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.

Matrix
require 'matrix'

Create a matrix and compute its determinant

require 'matrix' m = Matrix[[1, 2], [3, 4]] puts m.determinant
Debug
Known issues
breakingMatrix was removed from Ruby standard library in Ruby 3.3; you must add it to your Gemfile.
fix
Add gem 'matrix' to your Gemfile.
affects: >= 3.3.0
Upgrade
Version history
0.4.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
matrix — gem install matrix · libregistry