Solution of Nonlinear System of Equations (BROYDEN etc.) [message #31910] |
Sat, 24 August 2002 21:08 |
air_jlin
Messages: 22 Registered: July 2001
|
Junior Member |
|
|
Hi all,
I've this system of nonlinear equations that I want to solve
iteratively and was planning on using BROYDEN to do it. What I'm
wondering is how do I implement the function in BROYDEN so that I can
change parameters on the fly. For instance, in the example in the
help file, one of the equations is:
3x - COS(yz) - 1/2 = 0
They then hard-wire the constants (3, 1/2, etc.) into BROYFUNC. But
let's say I want to be able to change the 3x to ax where "a" is a
constant I specify and change as the program runs. Is there a way to
do this in a way the BROYDEN call will understand? I couldn't find
the source code for BROYDEN to see if this is possible.
Thanks!
Best,
-Johnny
-------------------------------------------
Johnny Lin
CIRES, University of Colorado
Work Phone: (303) 735-1636
Web: http://cires.colorado.edu/~johnny/
-------------------------------------------
|
|
|