Re: Importing text file as machine-precision array
- To: mathgroup at smc.vnet.net
- Subject: [mg118060] Re: Importing text file as machine-precision array
- From: Sidney Cadot <sidney.cadot at gmail.com>
- Date: Mon, 11 Apr 2011 07:05:29 -0400 (EDT)
- References: <inpfu3$9as$1@smc.vnet.net> <inqkt3$e73$1@smc.vnet.net>
> The only way that you will obtain an array as compact as you calculate > (plus a small overhead) is to use the function Developer`ToPackedArray > on the result after applying N. Thanks for the hint -- I didn't know about thgat package. As I discovered by trial and error, this also works: data = data + ConstantArray[0., Dimensions[data]]; Regards Sidney