MathGroup Archive 2001

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

Search the Archive

Re: redundant brackets


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