# coding:utf8
from numpy import *

listT = [[1,2],[2,3],[3,4],[4,5]]

listT =  mat(listT)
xTx = listT.T*listT
#print listT
#print listT.T
#print listT.I
#print xTx
#print linalg.det(xTx)
#m = shape(listT)[0]
#print mat(eye((m)))

#listY = [1,2,3,4,5]
#print mat(listY).T
listN = [[1,2],[3,4]]
print mat(listN)
print mat(listN).I















