Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
31
Task/QR-decomposition/SAS/qr-decomposition.sas
Normal file
31
Task/QR-decomposition/SAS/qr-decomposition.sas
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* See http://support.sas.com/documentation/cdl/en/imlug/63541/HTML/default/viewer.htm#imlug_langref_sect229.htm */
|
||||
|
||||
proc iml;
|
||||
a={12 -51 4,6 167 -68,-4 24 -41};
|
||||
print(a);
|
||||
call qr(q,r,p,d,a);
|
||||
print(q);
|
||||
print(r);
|
||||
quit;
|
||||
|
||||
/*
|
||||
a
|
||||
|
||||
12 -51 4
|
||||
6 167 -68
|
||||
-4 24 -41
|
||||
|
||||
|
||||
q
|
||||
|
||||
-0.857143 0.3942857 -0.331429
|
||||
-0.428571 -0.902857 0.0342857
|
||||
0.2857143 -0.171429 -0.942857
|
||||
|
||||
|
||||
r
|
||||
|
||||
-14 -21 14
|
||||
0 -175 70
|
||||
0 0 35
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue