matrixQR function

QR matrixQR(
  1. Array2d a
)

Generate a QR decomposition of the matrix

Examples

var a = Array2d([
  Array([2.123456789, 2.123456789, 2.123456789]),
  Array([2.123456789, 2.123456789, 2.123456789]),
  Array([2.123456789, 2.123456789, 2.123456789])
]);
var qr = QRDecomposition(a);

Implementation

QR matrixQR(Array2d a) {
  a.isMatrix();
  return QR(a);
}