I have some data in an N-dimensional array that I would like to save to a file to use later. Do I have to convert it back to matrices before I save it? Or can I save it as an N-dimensional array?
Yes, you may save multi-dimensional arrays with the 'save' command and load them into GAUSS later with the 'load' command. The syntax is quite simple. Let us assume that you have a 12x110x9 dimensional array named 'a'. To save this to disk you would only need to enter:
This will create a file called 'a.fmt' on your hard drive. You can then load that data into a later GAUSS session like this:
This will create a new variable named 'a' in your GAUSS workspace with the contents loaded from the 'a.fmt' file you saved previously.