U:RDoc::NormalModule[iI" Newton:EF@0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"newton.rb;To:RDoc::Markup::BlankLineo; ;[I"NSolves the nonlinear algebraic equation system f = 0 by Newton's method. ;TI"1This program is not dependent on BigDecimal.;T@o; ;[I" To call:;To:RDoc::Markup::Verbatim;[ I" n = nlsolve(f,x) ;TI"3where n is the number of iterations required, ;TI") x is the initial value vector ;TI"] f is an Object which is used to compute the values of the equations to be solved. ;T: @format0o; ;[I"+It must provide the following methods:;T@o:RDoc::Markup::List: @type: NOTE: @items[ o:RDoc::Markup::ListItem: @label[I"f.values(x);T;[o; ;[I"-returns the values of all functions at x;T@o;;[I" f.zero;T;[o; ;[I"returns 0.0;To;;[I" f.one;T;[o; ;[I"returns 1.0;To;;[I" f.two;T;[o; ;[I"returns 2.0;To;;[I" f.ten;T;[o; ;[I"returns 10.0;T@o;;[I" f.eps;T;[o; ;[I"¥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.;T@o; ;[I"'On exit, x is the solution vector.;T: @fileI",ext/bigdecimal/lib/bigdecimal/newton.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[[[I" LUSolve;To;;[;@O;0I",ext/bigdecimal/lib/bigdecimal/newton.rb;T[I" Jacobian;To;;[;@O;0@W[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[;[[I" nlsolve;F@W[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@O@OcRDoc::TopLevel