示例#1
0
文件: Matrix.py 项目: olesmith/SmtC
 def Matrix_Line(A,i):
     v=Vector()
     v.__Alloc__(len(A))
     for j in range( len(v) ):
         v[j]=A[i][j]
     return v
示例#2
0
文件: Matrix.py 项目: olesmith/SmtC
 def Matrix_Column(A,i):
     v=Vector()
     v.__Alloc__(len(A[i]))
     for j in range( len(v) ):
         v[j]=A[j][i]
     return v