@Test public void testAAT() { System.out.println("AAT"); NLMatrix c = matrix.aat(); assertEquals(c.nrows(), 3); assertEquals(c.ncols(), 3); for (int i = 0; i < C.length; i++) { for (int j = 0; j < C[i].length; j++) { assertEquals(C[i][j], c.get(i, j), 1E-7); } } }
@Override public NLMatrix aat() { return abtmm(this); }
NLMatrix extends JMatrix { @Override public NLMatrix aat() { return abtmm(this); } }
NLMatrix extends JMatrix { @Override public NLMatrix aat() { return abtmm(this); } NLMatrix(double[][] A);  NLMatrix(double[] A);  NLMatrix(int rows, int cols);  NLMatrix(int rows, int cols, double value);  NLMatrix(int rows, int cols, double[] value); }
NLMatrix extends JMatrix { @Override public NLMatrix aat() { return abtmm(this); } NLMatrix(double[][] A);  NLMatrix(double[] A);  NLMatrix(int rows, int cols);  NLMatrix(int rows, int cols, double value);  NLMatrix(int rows, int cols, double[] value); @Override NLMatrix clone(); @Override double[] ax(double[] x, double[] y); @Override double[] axpy(double[] x, double[] y); @Override double[] axpy(double[] x, double[] y, double b); @Override double[] atx(double[] x, double[] y); @Override double[] atxpy(double[] x, double[] y); @Override double[] atxpy(double[] x, double[] y, double b); @Override NLMatrix ata(); @Override NLMatrix aat(); @Override NLMatrix abmm(DenseMatrix B); @Override NLMatrix abtmm(DenseMatrix B); @Override NLMatrix atbmm(DenseMatrix B); @Override NLMatrix atbtmm(DenseMatrix B); @Override NLMatrix transpose(); @Override LU lu(); @Override Cholesky cholesky(); @Override QR qr(); @Override SVD svd(); @Override double[] eig(); @Override EVD eigen(); }
NLMatrix extends JMatrix { @Override public NLMatrix aat() { return abtmm(this); } NLMatrix(double[][] A);  NLMatrix(double[] A);  NLMatrix(int rows, int cols);  NLMatrix(int rows, int cols, double value);  NLMatrix(int rows, int cols, double[] value); @Override NLMatrix clone(); @Override double[] ax(double[] x, double[] y); @Override double[] axpy(double[] x, double[] y); @Override double[] axpy(double[] x, double[] y, double b); @Override double[] atx(double[] x, double[] y); @Override double[] atxpy(double[] x, double[] y); @Override double[] atxpy(double[] x, double[] y, double b); @Override NLMatrix ata(); @Override NLMatrix aat(); @Override NLMatrix abmm(DenseMatrix B); @Override NLMatrix abtmm(DenseMatrix B); @Override NLMatrix atbmm(DenseMatrix B); @Override NLMatrix atbtmm(DenseMatrix B); @Override NLMatrix transpose(); @Override LU lu(); @Override Cholesky cholesky(); @Override QR qr(); @Override SVD svd(); @Override double[] eig(); @Override EVD eigen();  }