octave-ruby 1.0.7
USAGE: require ‘octave’ engine = Octave::Engine.new engine.eval "123.456 * 789.101112" engine.rand(10) matrix = Octave::Matrix.new(20, 400) 20.times { |m| 400.times { |n| matrix[m, n] = rand } } engine.put_variable("m", matrix) engine.save "/tmp/20_x_400_matrix" == REQUIREMENTS: * Octave * GCC or some other compiler to build the included extension * Mocha (For testing only)
Gemfile:
=
Copy to clipboard
Copied!
install:
=
Development Dependencies (1):
hoe
>= 1.7.0