MathGroup Archive 2008

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

Search the Archive

Re: how to get rid extra parentheses ?

  • To: mathgroup at
  • Subject: [mg92525] Re: [mg92513] how to get rid extra parentheses ?
  • From: Bob Hanlon <hanlonr at>
  • Date: Thu, 2 Oct 2008 18:48:32 -0400 (EDT)
  • Reply-to: hanlonr at

Use Part

expr = {{cb S V/2}};



expr[[1, 1]]


Bob Hanlon

---- Obaid Rehman <Obaid.Rehman at> wrote: 

Hi , there

I am wondering if some one can help me in my issue.

After some Algebraic manipulation I get the result but it is inside the
two parenthesis e.g. {{...........  }}. The problem is that Mathematica
understand it as a list or matrix entry.

If I need to use this result directly into the matrix manipulation it
gives the error. Question is how to get rid these extra parentheses in
the result that Mathematica add itself?


{{cb S V/ 2}}

U can see there is no need of these extra parenthesis


This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete the message and notify the sender. Views expressed in this
message are those of the individual sender and not necessarily the views
of the University of New South Wales.


Bob Hanlon

  • Prev by Date: Re: how to get rid of extra parentheses ?
  • Next by Date: Re: Print A Math Formula In Formatted Notebook
  • Previous by thread: Re: how to get rid of extra parentheses ?
  • Next by thread: Re: How do I create my own color gradient? Reply-To: