September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
8
Task/QR-decomposition/Zkl/qr-decomposition.zkl
Normal file
8
Task/QR-decomposition/Zkl/qr-decomposition.zkl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
var [const] GSL=Import("zklGSL"); // libGSL (GNU Scientific Library)
|
||||
A:=GSL.Matrix(3,3).set(12.0, -51.0, 4.0,
|
||||
6.0, 167.0, -68.0,
|
||||
4.0, 24.0, -41.0);
|
||||
Q,R:=A.QRDecomp();
|
||||
println("Q:\n",Q.format());
|
||||
println("R:\n",R.format());
|
||||
println("Q*R:\n",(Q*R).format());
|
||||
Loading…
Add table
Add a link
Reference in a new issue