End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
module · Ruby 3.2
Jacobian
3 instance methods
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).