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

Sistemas Lineares
Vive como se fosse morrer amanhã.
Estude como se fosse viver para sempre.
Einstein

Matrices

Associamos um Matriz por um Python list of lists: A=[ [ 1.0,2.0,3.0 ],[ 4.0,5.0,6.0 ],[ 7.0,8.0,9.0 ], ].
  • Visualizar:
    Python Listing: Matrix.py.
    def Matrix_Print(A):
        print "["
        for i in range( len(A) ):
            print "   ",
            Vector_Print(A[i])
    
        print "]"
    
    
  • Matrices Básicas;
  • Operações Algébricas;
  • Copiar Matriz;
  • Norma de Matriz;
  • Operações Elementares;
  • Atividades.
Messages:
0 secs.