MathGroup Archive 2011

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

Search the Archive

Re: Importing text file as machine-precision array

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118041] Re: Importing text file as machine-precision array
  • From: Sidney Cadot <sidney.cadot at gmail.com>
  • Date: Sat, 9 Apr 2011 17:58:50 -0400 (EDT)
  • References: <inpfu3$9as$1@smc.vnet.net>

As a follow-up: I can achieve the intended effect by executing

data = data + ConstantArray[0., Dimensions[data]];

However, I hope there is a more elegant way of doing this (preferable,
without creating a temporary variable data that takes ten times the
amount of memory compared to the definitive array).


  • Prev by Date: Re: from Rumen, MEXICO, petition
  • Next by Date: StyleSheet -> SubInput & SubOutput
  • Previous by thread: Importing text file as machine-precision array
  • Next by thread: Re: Importing text file as machine-precision array