Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
算法:先用 givens正交变换 把 矩阵P和Q 变成上三角矩阵P’,Q’,P’,Q’对角线为正数 P’=X*P, Q’=Y*Q ,X,Y是正交矩阵 当且仅当P’==Q’ 有解 ans=rev(Y)*X 一开始看着道题 还以为要gauss_elimination完全没有必要 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator