Re: Only real data
- To: mathgroup at smc.vnet.net
- Subject: [mg122145] Re: Only real data
- From: dimitris <dimmechan at yahoo.com>
- Date: Sun, 16 Oct 2011 07:07:52 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j7blu7$34t$1@smc.vnet.net>
Hi. Say: lst = {2, 3/4, Pi, E, 3 + 4*I, Sqrt[-I], Sqrt[-1], 5 + Pi*I, Sin[Pi*I], Exp[I*Pi], I^I, I*Log[I], BesselJ[0, 2]}; Then one way to proceed is the following: Select[lst, Element[#,Reals] & ] {2, 3/4, Pi, E, -1, I^I, -(Pi/2), BesselJ[0, 2]} Best Regards