Re: Manipulating a list of pairs
- To: mathgroup at smc.vnet.net
- Subject: [mg19726] Re: [mg19689] Manipulating a list of pairs
- From: Ken Levasseur <Kenneth_Levasseur at uml.edu>
- Date: Mon, 13 Sep 1999 02:40:57 -0400
- Organization: UMass Lowell Mathematical Sciences
- References: <199909112035.QAA04395@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
Hans: All you need to do is turn lumpi into a pure function: Map[ {First[#], Power[2 Pi First[#],2] U / Last[#]}&, thelist] Ken Levasseur UMass Lowell Hans Steffani wrote: > > I have a list of pairs and manipulate it with things like > > lumpi[{f_, amp_}]:={f, Power[2 Pi f,2] U / amp} > Map[ lumpi, thelist] > > is there an easier way without introducing "lumpi" to do this? > > Hans Friedrich Steffani > -- > Hans Friedrich Steffani > Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz > mailto:hans.steffani at e-technik.tu-chemnitz.de > http://www.tu-chemnitz.de/~hfst/
- References:
- Manipulating a list of pairs
- From: hans.steffani@e-technik.tu-chemnitz.de (Hans Steffani)
- Manipulating a list of pairs