Re: arguments
- To: mathgroup at smc.vnet.net
- Subject: [mg5124] Re: arguments
- From: haberndt at dnai.com (Harald Berndt)
- Date: Wed, 30 Oct 1996 22:04:57 -0500
- Organization: DNAI ( Direct Network Access )
- Sender: owner-wri-mathgroup at wolfram.com
In article <556p2s$p3a at dragonfly.wolfram.com>, Guy Delamarter
<delamart at holly.pas.rochester.edu> wrote:
> I am using FindRoot to solve a system of nonlinear algebraic
> equations.
> [... stuff cut ... ]
>
I believe you already have the answer here withour realizing it:
> Ideally I would like a way to have a list be interpreted as a sequence
--------
> of arguments - but I have found no clear way to do this in the book
> and I am wondering if it may not be possible.
>
Take your list of arguments, say aL = {{var1, est1}, {var2, est2}, ...}
amd pass it to FindRoot in the appropriate position, but with head
Sequence applied to the list:
FindRoot[ eqList, Sequence[aL] ...]
I believe that will work.
--
Harald Berndt, Ph.D. Research Specialist,
Voice: 510-652-5974 Consultant
FAX: 510-215-4299