/** * Constructs and returns the SingularValue-decomposition of the given * matrix. */ public DenseDoubleSingularValueDecomposition svd(DoubleMatrix2D matrix) { return new DenseDoubleSingularValueDecomposition(matrix, true, true); }
/** * Constructs and returns the SingularValue-decomposition of the given * matrix. */ public DenseDoubleSingularValueDecomposition svd(DoubleMatrix2D matrix) { return new DenseDoubleSingularValueDecomposition(matrix, true, true); }
svd = new DenseDoubleSingularValueDecomposition(matrix, true, true); } catch (IllegalArgumentException exc) { buf.append("\n\n" + constructionException + " SingularValueDecomposition: " + exc.getMessage());
svd = new DenseDoubleSingularValueDecomposition(matrix, true, true); } catch (IllegalArgumentException exc) { buf.append("\n\n" + constructionException + " SingularValueDecomposition: " + exc.getMessage());
public Matrix[] svd() { DenseDoubleSingularValueDecomposition svd = new DenseDoubleSingularValueDecomposition(matrix, true, false); Matrix u = new ParallelColtDenseDoubleMatrix2D(svd.getU()); Matrix s = new ParallelColtDenseDoubleMatrix2D(svd.getS()); Matrix v = new ParallelColtDenseDoubleMatrix2D(svd.getV()); return new Matrix[] { u, s, v }; }
public Matrix[] svd() { DenseDoubleSingularValueDecomposition svd = new DenseDoubleSingularValueDecomposition(matrix, true, false); Matrix u = new ParallelColtDenseDoubleMatrix2D(svd.getU()); Matrix s = new ParallelColtDenseDoubleMatrix2D(svd.getS()); Matrix v = new ParallelColtDenseDoubleMatrix2D(svd.getV()); return new Matrix[] { u, s, v }; }