Re: vector function of a vector
- To: mathgroup at smc.vnet.net
- Subject: [mg84705] Re: vector function of a vector
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 10 Jan 2008 05:35:46 -0500 (EST)
- Organization: Uni Leipzig
- References: <fm4hls$722$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, and you realy think we will find it out without - knowing what tag is protected in your incomplete error message - knowing sNN,sphi or NN - knowing what PoissonEq[] does ?? not Thursdays .. Regards Jens Dmitri wrote: > Here is what I want to do > > MyPoisson[sNN_, sphi_] := > Table[PoissonEq[sNN[[i]], > sphi[[i + 1]], > sphi[[i]], > sphi[[i - 1]]], > {i, 2, NN - 1}]; > > but I get errror with "...protected tag". Here PoissonEq is just user defined delayed substitution. > > > How do I get around this? > > More generally, I can create a list (MyPoisson) without any problems and evaluate it for specific values of the variables by using ReplaceAll operation. However it is very very slow operation. I could not make it work with Block operation unfortunately. This is why I want to have a function instead. > > Thanks a lot! >