List of usage examples for org.apache.commons.math3.linear QRDecomposition getQT
public RealMatrix getQT()
From source file:org.eclipse.dataset.LinearAlgebra.java
/** * Calculate QR decomposition A = Q R//from www . j a v a 2s. c o m * @param a * @return array of Q and R */ public static Dataset[] calcQRDecomposition(Dataset a) { QRDecomposition qrd = new QRDecomposition(createRealMatrix(a)); return new Dataset[] { createDataset(qrd.getQT()).getTransposedView(), createDataset(qrd.getR()) }; }