Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: redundant brackets

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27005] Re: redundant brackets
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Tue, 30 Jan 2001 23:22:23 -0500 (EST)
  • References: <9560t8$51@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Joerg:

Flatten[{{0}, {{{{{{14}}}}}, {{{3}}}}}]

        {0, 14, 3}


Flatten[{{0}, {{{{{{14}}}}}, {{{3}}}}}, 3]


        {0, {{{14}}}, {3}}

 Also check FlattenAt.


--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Joerg Reinnarth" <reinnart at iskp.uni-bonn.de> wrote in message
news:9560t8$51 at smc.vnet.net...
> Dear Groups,
>
> I produce a table in a function.
>
> The entries of the table contain redundant brackets.
>
> For example  { {0}, {{{{{{14}}}}}, {{{3}}} }.
>
> I want to get these brackets away, but using Simplify or FullSimplify does
not help.
>
> Joerg Reinnarth
>
> University of Bonn
>
>
>
>




  • Prev by Date: Re: Q: Factor with Polynominals?
  • Next by Date: Re: Saving notebooks without graphics
  • Previous by thread: RE: redundant brackets
  • Next by thread: Re: redundant brackets