Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

算法:

Posted by JiaJunpeng at 2015-02-27 15:18:10 on Problem 3707
先用 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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator