Re: call by reference with MMA
- To: mathgroup at smc.vnet.net
- Subject: [mg6771] Re: [mg6734] call by reference with MMA
- From: jpk at max.mpae.gwdg.de
- Date: Fri, 18 Apr 1997 02:37:36 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
> From etk10906 at rpool14.rus.uni-stuttgart.de Tue Apr 15 10:59:23 1997 > Date: Tue, 15 Apr 1997 02:51:27 -0400 (EDT) > From: etk10906 at rpool14.rus.uni-stuttgart.de (Arnold Erbsloeh) > Subject: [mg6734] call by reference with MMA > > Hi everybody, > > I want to call a function with a parameter. The parameter is a matrix with > about 40,000 numbers. A normal parameter call copies the whole matrix every > time I call the function. Is it possible to call a function with a pointer > or a reference like in C? > > Please send an E-Mail to > > erbsloeh at studbox.uni-stuttgart.de > > Thanks! > > Arnold Erbsloeh > > Set the attribute HoldFist to that function. Hope that helps Jens