Re: need to call data from a list as input but need it in vector form not list form
- To: mathgroup at smc.vnet.net
- Subject: [mg50674] Re: [mg50648] need to call data from a list as input but need it in vector form not list form
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Wed, 15 Sep 2004 07:55:03 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Use Flatten Bob Hanlon > > From: monster_economist at punkass.com (T.) To: mathgroup at smc.vnet.net > Date: 2004/09/15 Wed AM 01:50:17 EDT > To: mathgroup at smc.vnet.net > Subject: [mg50674] [mg50648] need to call data from a list as input but need it in vector form not list form > > Suppose I have just generated a list named "list" and the output is as > follows. > > {{0.161299}, {0.122965}, {0.055712}, {0.0448334}, {-0.00538706}} > > I want to use this data in the form > > {0.161299, 0.122965, 0.055712, 0.0448334, -0.00538706} > > however i can't call it in with list[[i]] because I just get the > {{},{},{},{}} form with those extra brackets. I guess I have a list > and I am trying to convert it to a vector form right? Sorry if my > definitions are confused. > > T. > >