Dear all,
Is there a way to control for precision in .write exports? For example, I am exporting a very large ~4000,4000 matrix (.write(t=txt)) and it's saving in double precision to the txt, and is taking up an inordinate amount of disk space and the precision is unnecessary. Any way to either compact or control for a single precision, or even fewer sig figs?
Charlie
.write precision
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: .write precision
Create a new matrix that is a rounded version of the original one, and save the new matrix.
Code: Select all
matrix b = @round(a*1000)/1000
b.write(t=text) myfile.txt
Follow us on Twitter @IHSEViews
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 21 guests