MathGroup Archive 2006

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

Search the Archive

Re: Output Table Format Change


Narasimham schrieb:
> Is there a command   for  removal of  brackets  automatically from
> output ?
> 
> tbl = Table[ N[ {Sin[u+v],Cos[u-v]}],{u,0, Pi,Pi/6},{v,0, Pi,Pi/6}] ;
> 
> ListPlot[tb,PlotJoined->True,AspectRatio->Automatic];
> 
> tb is same as tbl from which extra curly brackets {  } are manually
> removed. (tbl output  is deleted here). 
> 
> Thanks in advance.
> 
There are at least three simple methods to yield the desired result:


Flatten[tbl,1]===Join@@tbl===Sequence@@@tbl
--> True

The first one should be the fastest for huge list constructs.


  • Prev by Date: Re: Prefix function syntax f @ x
  • Next by Date: Re: Prefix function syntax f @ x
  • Previous by thread: Re: Output Table Format Change
  • Next by thread: Re: Output Table Format Change