Skip to content

Commit e2d3abd

Browse files
committed
[Truffle] Adding matrix to stdlib.
1 parent bcb4f1d commit e2d3abd

30 files changed

+35
-0
lines changed

lib/ruby/truffle/mri/e2mmap.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require_relative '../../stdlib/e2mmap'

lib/ruby/truffle/mri/matrix.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require_relative '../../stdlib/matrix'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require_relative '../../../stdlib/matrix/eigenvalue_decomposition'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require_relative '../../../stdlib/matrix/lup_decomposition'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#det raises an error for rectangular matrices
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#determinant raises an error for rectangular matrices
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.diagonal? raises an error for rectangular matrices
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#/ raises a Matrix::ErrDimensionMismatch if the matrices are different sizes
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix::EigenvalueDecomposition#initialize raises an error if matrix is not square
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Matrix#** given an integer _n_ raises a ErrDimensionMismatch for non square matrices
2+
fails:Matrix#** given an integer _n_ that is <= 0 raises a ErrDimensionMismatch for irregular matrices

0 commit comments

Comments
 (0)