/** * * Returns the triangular factor, <tt>L'</tt>. * * @return <tt>L'</tt> */ public DoubleMatrix2D getLtranspose() { if (L == null) { L = new SparseCCDoubleMatrix2D(N.L); if (rcMatrix) { L = ((SparseCCDoubleMatrix2D) L).getRowCompressed(); } } if (rcMatrix) { return ((SparseRCDoubleMatrix2D) L).getTranspose(); } else { return ((SparseCCDoubleMatrix2D) L).getTranspose(); } }
/** * * Returns the triangular factor, <tt>L'</tt>. * * @return <tt>L'</tt> */ public DoubleMatrix2D getLtranspose() { if (L == null) { L = new SparseCCDoubleMatrix2D(N.L); if (rcMatrix) { L = ((SparseCCDoubleMatrix2D) L).getRowCompressed(); } } if (rcMatrix) { return ((SparseRCDoubleMatrix2D) L).getTranspose(); } else { return ((SparseCCDoubleMatrix2D) L).getTranspose(); } }
columnIndexesSorted = other.columnIndexesSorted; } else if (source instanceof SparseCCDoubleMatrix2D) { SparseCCDoubleMatrix2D other = ((SparseCCDoubleMatrix2D) source).getTranspose(); rowPointers = other.getColumnPointers(); columnIndexes = other.getRowIndexes();
columnIndexesSorted = other.columnIndexesSorted; } else if (source instanceof SparseCCDoubleMatrix2D) { SparseCCDoubleMatrix2D other = ((SparseCCDoubleMatrix2D) source).getTranspose(); rowPointers = other.getColumnPointers(); columnIndexes = other.getRowIndexes();
dcs = ((SparseRCDoubleMatrix2D) A).getColumnCompressed().elements(); } else { dcs = ((SparseRCDoubleMatrix2D) A).getColumnCompressed().getTranspose().elements(); dcs = (Dcs) A.elements(); } else { dcs = ((SparseCCDoubleMatrix2D) A).getTranspose().elements();
dcs = ((SparseRCDoubleMatrix2D) A).getColumnCompressed().elements(); } else { dcs = ((SparseRCDoubleMatrix2D) A).getColumnCompressed().getTranspose().elements(); dcs = (Dcs) A.elements(); } else { dcs = ((SparseCCDoubleMatrix2D) A).getTranspose().elements();
SparseCCDoubleMatrix2D AA; if (transposeA) { AA = getTranspose(); } else { AA = this; SparseCCDoubleMatrix2D AA; if (transposeA) { AA = getTranspose(); } else { AA = this; BB = BB.getTranspose();
SparseCCDoubleMatrix2D AA; if (transposeA) { AA = getTranspose(); } else { AA = this; SparseCCDoubleMatrix2D AA; if (transposeA) { AA = getTranspose(); } else { AA = this; BB = BB.getTranspose();