comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Pass variables into Newton or BROYDEN for solving non-linear equations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Pass variables into Newton or BROYDEN for solving non-linear equations [message #77929 is a reply to message #77928] Mon, 17 October 2011 16:13 Go to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
On Oct 18, 6:24 am, Zhang Bo <bzhang20071...@gmail.com> wrote:
> I have a non-linear equations system to solve in every loop step. I
> have 4 equations with 8 variables. 4 of the variables are known and
> calculated in each loop. I cannot find a way to pass the known
> variables(which are different in each loop) into a BROYDEN or NEWTON
> function to solve the system. If I put all 8 variables as input guess,
> it won't calculate for me because there are 8 variables and 4
> equations. I kind of stuck here.

When I encountered a similiar issue using AMOEBA, the only solution I
could see was to cover myself with garlic and use a COMMON block. I
set the extra variables I want to send to each call before making that
call and have the COMMON block visible from within the user defined
function you send to NEWTON or whatever.

Does that make sense?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: fitting many linear eqs simultaneously with outliers
Next Topic: Re: compute quartiles of a distribution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 13:48:34 PDT 2025

Total time taken to generate the page: 2.08271 seconds