diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-02 15:10:13 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-02 15:10:13 +0000 |
commit | 1cc709a84a8afc8942096535c66289d04dfa2d7f (patch) | |
tree | ff04852d83425bd1511e39b66f0f05c4b2b493d4 /ext/bigdecimal/lib/bigdecimal/jacobian.rb | |
parent | 72385b042df0c69d0d74cf998eaf959f0db9b904 (diff) |
* ext/bigdecimal: update class method call style from :: to .
in documentation and usage.
* ext/bigdecimal/lib/bigdecimal/math.rb: [DOC] fix examples values.
Computations were made using ruby 2.0.0p247 to ensure
no effect of the recent BigDecimal bug.
* ext/bigdecimal/sample/nlsolve.rb: fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/lib/bigdecimal/jacobian.rb')
-rw-r--r-- | ext/bigdecimal/lib/bigdecimal/jacobian.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/jacobian.rb b/ext/bigdecimal/lib/bigdecimal/jacobian.rb index eb9b1c9fc5..d56caab0d3 100644 --- a/ext/bigdecimal/lib/bigdecimal/jacobian.rb +++ b/ext/bigdecimal/lib/bigdecimal/jacobian.rb @@ -75,7 +75,7 @@ module Jacobian # Computes the Jacobian of f at x. fx is the value of f at x. def jacobian(f,fx,x) n = x.size - dfdx = Array::new(n*n) + dfdx = Array.new(n*n) for i in 0...n do df = dfdxi(f,fx,x,i) for j in 0...n do |