Re: unmap or remove header command
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: unmap or remove header command
- From: "Lawrence M. Seiford, IEOR, UMass, (413) 545-1658." <SEIFORD at ecs.umass.edu>
- Date: Tue, 20 Aug 1991 09:17 -0500
>If you have a coordinate set lst={{1,1,1},{1,2,3},...,{0,2,3}} you can map: > > Map[Point,lst] >to get a list of points: > > {Point[{1,1,1}],Point[{1,2,3}],...,Point[{0,2,3}]} > >What is the command to reverse the map operation? That is, how can you >remove a header and retrieve just coordinates? Solution is to use Apply with the Identity as in mapped=Map[Point,lst] unmapped=Apply[Identity,mapped,{1}] larry