Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

delete something from a complex list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58075] delete something from a complex list
  • From: mark <rotree2003 at yahoo.com>
  • Date: Fri, 17 Jun 2005 05:20:41 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

hi
how to delete numbers 1 and 2 from the multilevel nested list, while preserving the structure:
{{{{1,3,2,4}},{{5,2}}},{{4,2},{6,1,7}}}
i hope the result is:
{{{{3,4}},{{5}}},{{4},{6,7}}}
i have tried delete with no success but after i have flatten the list.
thanks
 


  • Prev by Date: Mathematica 5.0 eps generation
  • Next by Date: Re: Mathematica 5.1 Cumulative Normal Definition
  • Previous by thread: Re: Mathematica 5.0 eps generation
  • Next by thread: Re: delete something from a complex list