Re: associative arrays
- To: mathgroup at smc.vnet.net
- Subject: [mg58170] Re: [mg58137] associative arrays
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Tue, 21 Jun 2005 06:02:43 -0400 (EDT)
- References: <d8rnfg$l4b$1@smc.vnet.net> <200506181007.GAA08771@smc.vnet.net> <200506190744.DAA05732@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Jun 19, 2005, at 3:44 AM, Ed Peschko wrote: > hey all, > > Is there a simple way to make an associative array in mathematica? > > I noticed that there's a sparse array, but I'd like to be able to > use a non-numeric value as key.. Don't use arrays, use pattern matching eg: f[key1]=value1 f[key2]=value2
- References:
- Re: Transformation rule problem
- From: "Peltio" <peltio@trilight.zone>
- associative arrays
- From: Ed Peschko <esp5@mdssdev05.comp.pge.com>
- Re: Transformation rule problem