A | Quadratische Matrix, d.h. zweidimensionales Array |
<html>
<head>
<script src="taramath.js"></script>
</head>
<body>
<textarea id="output"></textarea>
<script>
var A = [
[ 1, 2, 3, 4 ],
[ 5, 6, 7, 8 ],
[ 0, 9, 8, 7 ],
[ 0, 0, 6, 5 ]
];
var T = LinearAlgebra.qr_hessenberg(A);
var Q = T[0];
var R = T[1];
Print.init("output");
Print.object(Q);
Print.object(R);
var P = LinearAlgebra.mult(Q, R);
Print.object(P);
</script>
</body>
</html>