commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From binodc <bin...@gmail.com>
Subject Re: [math] Newton Solver
Date Mon, 13 Feb 2012 10:59:54 GMT
Newton Solver
http://commons.apache.org/math/apidocs/org/apache/commons/math/analysis/solvers/NewtonSolver.html

My equation are currently in String[] format like this
Alex = 1 * Alex * ( 1 - Li ) / Alex * ( 1 - Li ) + Li * ( 1 - Alex )  + 2 *
Alex * ( 1 - Alex ) / Alex * ( 1 - Alex ) + Alex * ( 1 - Alex )  / ( 1 + 2
 )
Li = 1 * Li * ( 1 - Alex ) / Alex * ( 1 - Li ) + Li * ( 1 - Alex )  + 2 * 0
/ Li * ( 1 - Li ) + Li * ( 1 - Li )  / ( 1 + 2  )

This case I hv 2 equations with 2 variables.

Would like to know for 'n' equations with 'n' variables.

Best Regards
Binodc



On Mon, Feb 13, 2012 at 1:49 PM, Gilles Sadowski <
gilles@harfang.homelinux.org> wrote:

> Hello.
>
> > I am trying to implement a Newton Solver for 'n' equations with 'n'
> > variables.
> >
> > Can the current implementation of Newton Solver work for this case?
>
> Which implementation are referring to?
>
>
> Best regards,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message