Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/rbotafogo/mdarray
Browse files Browse the repository at this point in the history
Origin did not match master.  Doing a pull to fix it.
  • Loading branch information
rbotafogo committed Jan 5, 2016
2 parents f39921f + 1a0917e commit 97ddc09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/colt/matrix/test_matrix2d_floatingalgebra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ def self.apply(x, y)
assert_equal(3, chol[2, 2])

matrix = MDMatrix.double([2, 2], [2, 3, 2, 1])

# Finding Determinant
det = matrix.det
assert_equal(-4, det)

# Eigenvalue decomposition
eig = matrix.eig
p "eigen decomposition"
Expand Down

0 comments on commit 97ddc09

Please sign in to comment.