Hello! I'm new to sage and I already searched for a solution on the web, but couldn't find any. At the moment I'm trying to load a file into sage and put its data into a matrix. The file spans a matrix of thousands of float values. columns separated by whitespaces and rows separated by newlines. I was able to load the data into a string(or list) but i couldn't find out how to put the data into a matrix. e.g. M = Matrix(10,2,(string)) is not working. anyone with ideas or solutions?
i used octave before, and it worked really easy there. unfortunately i can't use the octave load commands in sage since there are semicolons needed for the command which result in a syntax error. greetings markus --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---