Skip to content

Commit

Permalink
Adding Pseudo inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
Arafatk committed Feb 27, 2016
1 parent 32a49e6 commit dbba0c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/math_spec.rb
Expand Up @@ -340,14 +340,6 @@
b = NMatrix.new([2, 2], [-2, 1, 1.5, -0.5], dtype: dtype)
c = NMatrix.identity(2)

if dtype == :float32
begin
require 'nmatrix/atlas'
rescue LoadError
pending "Suppressing a LoadError when the atlas plugin is not available"
end
end

begin
expect(a.pinv).to be_within(err).of(b)
expect(a.dot(a.pinv)).to be_within(err).of(c)
Expand Down

0 comments on commit dbba0c1

Please sign in to comment.