def get_eqs(self): """ 计算所有的仿射方程 """ eqs = [] for i in range(1,len(self.points)/3): eqs.append( solve_eq( self.points[:3,:], self.points[i*3:i*3+3,:]) ) return eqs
def get_eqs(self): """ 计算所有的仿射方程 """ eqs = [] points = np.array(self.points) for i in range(1,len(self.points)/3): eqs.append( solve_eq( points[:3], points[i*3:i*3+3]) ) return eqs