I have some external text files containing n*n matrices (one in each file).
I am able to read these files with ReadList[...,RecordLists->True] and get Eigenvalues using
the Mathematica interface.
However, if I enter the commands in a text file
which I then run with Get["program.m"]
not evaluate Eigenvalues[ReadList[...,RecordLists->True]] even if I first assign ReadList to a variable and then try to find eigenvalues on that.
Funny(!) thing is that I can then from the interface run the Eigenvaluesfunction on the variable with the matrix?!?
Any ideas would be greatly appreciated.