[ruby/bigdecimal] Fix docs
rdoc parses f[i] as a link, which results in a broken link. https://github.com/ruby/bigdecimal/commit/a18522e9ca
This commit is contained in:
parent
92361ad9c6
commit
c69bdcf80c
@ -42,8 +42,8 @@ module Jacobian
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# Computes the derivative of f[i] at x[i].
|
# Computes the derivative of +f[i]+ at +x[i]+.
|
||||||
# fx is the value of f at x.
|
# +fx+ is the value of +f+ at +x+.
|
||||||
def dfdxi(f,fx,x,i)
|
def dfdxi(f,fx,x,i)
|
||||||
nRetry = 0
|
nRetry = 0
|
||||||
n = x.size
|
n = x.size
|
||||||
@ -75,7 +75,7 @@ module Jacobian
|
|||||||
deriv
|
deriv
|
||||||
end
|
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)
|
def jacobian(f,fx,x)
|
||||||
n = x.size
|
n = x.size
|
||||||
dfdx = Array.new(n*n)
|
dfdx = Array.new(n*n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user