public virtual QRDecompositionResult apply(DoubleMatrix x) { ArgChecker.notNull(x, "x"); RealMatrix temp = CommonsMathWrapper.wrap(x); QRDecomposition qr = new QRDecomposition(temp); return(new QRDecompositionCommonsResult(qr)); }
/// <summary> /// Creates an instance. /// </summary> /// <param name="qr"> The result of the QR decomposition, not null </param> public QRDecompositionCommonsResult(QRDecomposition qr) { ArgChecker.notNull(qr, "qr"); _q = CommonsMathWrapper.unwrap(qr.Q); _r = CommonsMathWrapper.unwrap(qr.R); _qTranspose = _q.transpose(); _solver = qr.Solver; }
private void InitializeInstanceFields() { qr = new QRDecomposition(condok); result = new QRDecompositionCommonsResult(qr); }