Re: problem with Part function
- To: mathgroup at smc.vnet.net
- Subject: [mg18203] Re: problem with Part function
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 21 Jun 1999 22:50:43 -0400
- Organization: Universitaet Leipzig
- References: <7kho9q$qop@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Dario, you must use Sequence mat[[Sequence @@ xy]] or Part[mat,##] & @@ xy Hope that helps Jens Casubolo Dario wrote: > > Just a little problem: SNIP SNAPP SNIP SNAPP > if I write > mat[[xy]]=1; or mat[[{3,3}]]=1; it doesn't work; only mat[[3,3]]=1 > works, but I don't want rewrite all. > I think I've to use something like Map, Thread, Apply or so, but I don't > know what and how exactely; > please, someone help me. > THANK YOU > > Dario Casubolo > email: bubbola at workline.it