List of usage examples for org.apache.commons.math.linear QRDecomposition getR
RealMatrix getR();
From source file:com.opengamma.analytics.math.linearalgebra.QRDecompositionCommonsResult.java
/** * @param qr The result of the QR decomposition, not null *//*from w w w . ja va 2 s . c o m*/ public QRDecompositionCommonsResult(final QRDecomposition qr) { Validate.notNull(qr); _h = CommonsMathWrapper.unwrap(qr.getH()); _q = CommonsMathWrapper.unwrap(qr.getQ()); _r = CommonsMathWrapper.unwrap(qr.getR()); _qTranspose = DoubleMatrixUtils.getTranspose(_q); _solver = qr.getSolver(); }