Type:
Module

require 'bigdecimal/jacobian'

Provides methods to compute the Jacobian matrix of a set of equations at a point x. In the methods below:

f is an Object which is used to compute the Jacobian matrix of the equations. It must provide the following methods:

f.values(x)

returns the values of all functions at x

f.zero

returns 0.0

f.one

returns 1.0

f.two

returns 2.0

f.ten

returns 10.0

f.eps

returns the convergence criterion (epsilon value) used to determine whether two values are considered equal. If |a-b| < epsilon, the two values are considered equal.

x is the point at which to compute the Jacobian.

fx is f.values(x).

dfdxi

dfdxi(f,fx,x,i) Instance Public methods Computes the derivative of

2015-04-16 18:24:53
jacobian

jacobian(f,fx,x) Instance Public methods Computes the

2015-04-16 18:37:39
isEqual

isEqual(a,b,zero=0.0,e=1.0e-8) Instance Public methods Determines the equality

2015-04-16 18:31:05