SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Matrices
Life is a mystery to be lived.
Not a problem to be solved.
Søren Kierkegaard.

Print Matriz

Python Listing: ../../Code/Matrix.py.
    def __str__(A):
        ## Matrix print: print as list of Vectors.
        text=[]
        for i in range( len(A) ):
            text.append( A[i].__str__() )

        return "{\n   "+",\n   ".join(text)+"\n}"
    
Messages:
0 secs.