Example usage for org.apache.commons.math.linear QRDecomposition getH

List of usage examples for org.apache.commons.math.linear QRDecomposition getH

Introduction

In this page you can find the example usage for org.apache.commons.math.linear QRDecomposition getH.

Prototype

RealMatrix getH();

Source Link

Document

Returns the Householder reflector vectors.

Usage

From source file:com.opengamma.analytics.math.linearalgebra.QRDecompositionCommonsResult.java

/**
 * @param qr The result of the QR decomposition, not null
 *//* w w  w  .  java 2 s.com*/
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();
}