Skip to content

Commit

Permalink
Merge pull request #225 from ruby/pz-doc-fixes
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
hsbt authored Apr 15, 2022
2 parents 70146fb + a18522e commit f6b058e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bigdecimal/jacobian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def isEqual(a,b,zero=0.0,e=1.0e-8)
end


# Computes the derivative of f[i] at x[i].
# fx is the value of f at x.
# Computes the derivative of +f[i]+ at +x[i]+.
# +fx+ is the value of +f+ at +x+.
def dfdxi(f,fx,x,i)
nRetry = 0
n = x.size
Expand Down Expand Up @@ -75,7 +75,7 @@ def dfdxi(f,fx,x,i)
deriv
end

# Computes the Jacobian of f at x. fx is the value of f at x.
# 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)
Expand Down

0 comments on commit f6b058e

Please sign in to comment.