MathGroup Archive 1997

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

Search the Archive

outputting lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9836] outputting lists
  • From: Zahir Bishnani <zahir.bishnani at tao.j-sainsbury.co.uk>
  • Date: Fri, 28 Nov 1997 05:35:49 -0500
  • Organization: J Sainsbury plc
  • Sender: owner-wri-mathgroup at wolfram.com

I have a simple problem,

Suppose I have a mathematica list that represents a number of
n-dimensional vectors. e.g. {{2,3},{3,2},{6,5},{7,7},{1,1}}
which represents five 2d vectors.

Does anyone know an easy way of outputting this list to a file so that
each line contains just a single n-dim vector with elements seperated
by either spaces or commas.
e.g. for the above example the file should be:

2 3
3 2
6 5
7 7
1 1

Or

2,3
3,2
6,5
7,7
1,1

thanks,

Zahir


  • Prev by Date: Differential Equations
  • Next by Date: Re: subscripted variables
  • Previous by thread: Differential Equations
  • Next by thread: Re: outputting lists