Created
May 18, 2011 18:52
-
-
Save NilsHaldenwang/979249 to your computer and use it in GitHub Desktop.
2d array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m = Matrix.new([[1,2], [3,4]]) | |
NameError: no constructor with arguments matching [class org.jruby.RubyArray] on object #<Java::OrgApacheCommonsMathLinear::Array2DRowRealMatrix:0x0> | |
from (irb):28:in `evaluate' | |
from org/jruby/RubyKernel.java:1088:in `eval' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:158:in `eval_input' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:271:in `signal_status' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:270:in `signal_status' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:155:in `eval_input' | |
from org/jruby/RubyKernel.java:1418:in `loop' | |
from org/jruby/RubyKernel.java:1191:in `catch' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:154:in `eval_input' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:71:in `start' | |
from org/jruby/RubyKernel.java:1191:in `catch' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/lib/ruby/1.8/irb.rb:70:in `start' | |
from /home/nils/.rvm/rubies/jruby-1.6.1/bin/irb:17:in `(root)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment