Example usage for org.apache.commons.math.linear SingularValueDecomposition getVT

List of usage examples for org.apache.commons.math.linear SingularValueDecomposition getVT

Introduction

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

Prototype

RealMatrix getVT();

Source Link

Document

Returns the transpose of the matrix V of the decomposition.

Usage

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

/**
 * @param svd The result of the SV decomposition, not null
 *///from  w w w  . ja v  a2 s.co  m
public SVDecompositionCommonsResult(final SingularValueDecomposition svd) {
    Validate.notNull(svd);
    _condition = svd.getConditionNumber();
    _norm = svd.getNorm();
    _rank = svd.getRank();
    _s = CommonsMathWrapper.unwrap(svd.getS());
    _singularValues = svd.getSingularValues();
    _u = CommonsMathWrapper.unwrap(svd.getU());
    _uTranspose = CommonsMathWrapper.unwrap(svd.getUT());
    _v = CommonsMathWrapper.unwrap(svd.getV());
    _vTranspose = CommonsMathWrapper.unwrap(svd.getVT());
    _solver = svd.getSolver();
}