@Test public void testNrows() { System.out.println("nrows"); assertEquals(3, matrix.nrows()); }
@Override public int nrows() { return m; }
FloatMatrix extends SMatrix { @Override public int nrows() { return m; } }
FloatMatrix extends SMatrix { @Override public int nrows() { return m; } FloatMatrix(int m, int n);  FloatMatrix(int m, int n, float a);  FloatMatrix(int m, int n, float[][] A);  FloatMatrix(float[][] A);  FloatMatrix(float[] A);  FloatMatrix(float[] A, int offset, int length);  FloatMatrix(int m, int n, int ld, FloatBuffer A); }
FloatMatrix extends SMatrix { @Override public int nrows() { return m; } FloatMatrix(int m, int n);  FloatMatrix(int m, int n, float a);  FloatMatrix(int m, int n, float[][] A);  FloatMatrix(float[][] A);  FloatMatrix(float[] A);  FloatMatrix(float[] A, int offset, int length);  FloatMatrix(int m, int n, int ld, FloatBuffer A); static FloatMatrix of(Layout layout, int m, int n); static FloatMatrix of(Layout layout, int m, int n, int ld, FloatBuffer A); static FloatMatrix eye(int n); static FloatMatrix eye(int m, int n); static FloatMatrix randn(int m, int n); static FloatMatrix rand(int m, int n, Distribution distribution); static FloatMatrix rand(int m, int n, float lo, float hi); static FloatMatrix diag(float[] diag); static FloatMatrix toeplitz(float[] a); static FloatMatrix toeplitz(float[] kl, float[] ku); @Override int nrows(); @Override int ncols(); @Override long size(); Layout layout(); int ld(); boolean isSubmatrix(); boolean isSymmetric(); FloatMatrix uplo(UPLO uplo); UPLO uplo(); FloatMatrix triangular(Diag diag); Diag triangular(); @Override FloatMatrix clone(); float[][] toArray(); FloatMatrix submatrix(int i, int j, int k, int l); void fill(float x); FloatMatrix transpose(); @Override boolean equals(Object o); boolean equals(FloatMatrix o, float eps); @Override float get(int i, int j); @Override FloatMatrix set(int i, int j, float x); FloatMatrix set(int i, int j, FloatMatrix B); float add(int i, int j, float b); float sub(int i, int j, float b); float mul(int i, int j, float b); float div(int i, int j, float b); FloatMatrix add(float b); FloatMatrix sub(float b); FloatMatrix mul(float b); FloatMatrix div(float b); FloatMatrix add(int i, int j, float alpha, FloatMatrix B); FloatMatrix sub(int i, int j, float alpha, FloatMatrix B); FloatMatrix mul(int i, int j, float alpha, FloatMatrix B); FloatMatrix div(int i, int j, float alpha, FloatMatrix B); FloatMatrix add(float alpha, FloatMatrix B); FloatMatrix sub(float alpha, FloatMatrix B); FloatMatrix mul(float alpha, FloatMatrix B); FloatMatrix div(float alpha, FloatMatrix B); FloatMatrix add(float alpha, FloatMatrix A, float beta, FloatMatrix B); FloatMatrix sub(float alpha, FloatMatrix A, float beta, FloatMatrix B); FloatMatrix mul(float alpha, FloatMatrix A, FloatMatrix B); FloatMatrix div(float alpha, FloatMatrix A, FloatMatrix B); double add(int i, int j, float alpha, float beta); FloatMatrix add(int i, int j, float alpha, float beta, FloatMatrix B); FloatMatrix add(float alpha, float beta, FloatMatrix B); FloatMatrix add(float alpha, float[] x, float[] y); FloatMatrix replaceNaN(float x); float sum(); float norm1(); float norm2(); float norm(); float normInf(); float normFro(); float xAx(float[] x); float[] rowSums(); float[] rowMeans(); float[] rowSds(); float[] colSums(); float[] colMeans(); float[] colSds(); FloatMatrix scale(); FloatMatrix scale(float[] center, float[] scale); FloatMatrix inverse(); void mv(Transpose trans, float alpha, FloatBuffer x, float beta, FloatBuffer y); @Override void mv(Transpose trans, float alpha, float[] x, float beta, float[] y); @Override void mv(float[] work, int inputOffset, int outputOffset); @Override void tv(float[] work, int inputOffset, int outputOffset); void mm(Transpose transA, Transpose transB, float alpha, FloatMatrix B, float beta, FloatMatrix C); FloatMatrix ata(); FloatMatrix aat(); FloatMatrix adb(Transpose transA, Transpose transB, FloatMatrix B, float[] diag); FloatMatrix mm(FloatMatrix B); FloatMatrix mt(FloatMatrix B); FloatMatrix tm(FloatMatrix B); FloatMatrix tt(FloatMatrix B); LU lu(); LU lu(boolean overwrite); Cholesky cholesky(); Cholesky cholesky(boolean overwrite); QR qr(); QR qr(boolean overwrite); SVD svd(); SVD svd(boolean vectors, boolean overwrite); EVD eigen(); EVD eigen(boolean vl, boolean vr, boolean overwrite); }
FloatMatrix extends SMatrix { @Override public int nrows() { return m; } FloatMatrix(int m, int n);  FloatMatrix(int m, int n, float a);  FloatMatrix(int m, int n, float[][] A);  FloatMatrix(float[][] A);  FloatMatrix(float[] A);  FloatMatrix(float[] A, int offset, int length);  FloatMatrix(int m, int n, int ld, FloatBuffer A); static FloatMatrix of(Layout layout, int m, int n); static FloatMatrix of(Layout layout, int m, int n, int ld, FloatBuffer A); static FloatMatrix eye(int n); static FloatMatrix eye(int m, int n); static FloatMatrix randn(int m, int n); static FloatMatrix rand(int m, int n, Distribution distribution); static FloatMatrix rand(int m, int n, float lo, float hi); static FloatMatrix diag(float[] diag); static FloatMatrix toeplitz(float[] a); static FloatMatrix toeplitz(float[] kl, float[] ku); @Override int nrows(); @Override int ncols(); @Override long size(); Layout layout(); int ld(); boolean isSubmatrix(); boolean isSymmetric(); FloatMatrix uplo(UPLO uplo); UPLO uplo(); FloatMatrix triangular(Diag diag); Diag triangular(); @Override FloatMatrix clone(); float[][] toArray(); FloatMatrix submatrix(int i, int j, int k, int l); void fill(float x); FloatMatrix transpose(); @Override boolean equals(Object o); boolean equals(FloatMatrix o, float eps); @Override float get(int i, int j); @Override FloatMatrix set(int i, int j, float x); FloatMatrix set(int i, int j, FloatMatrix B); float add(int i, int j, float b); float sub(int i, int j, float b); float mul(int i, int j, float b); float div(int i, int j, float b); FloatMatrix add(float b); FloatMatrix sub(float b); FloatMatrix mul(float b); FloatMatrix div(float b); FloatMatrix add(int i, int j, float alpha, FloatMatrix B); FloatMatrix sub(int i, int j, float alpha, FloatMatrix B); FloatMatrix mul(int i, int j, float alpha, FloatMatrix B); FloatMatrix div(int i, int j, float alpha, FloatMatrix B); FloatMatrix add(float alpha, FloatMatrix B); FloatMatrix sub(float alpha, FloatMatrix B); FloatMatrix mul(float alpha, FloatMatrix B); FloatMatrix div(float alpha, FloatMatrix B); FloatMatrix add(float alpha, FloatMatrix A, float beta, FloatMatrix B); FloatMatrix sub(float alpha, FloatMatrix A, float beta, FloatMatrix B); FloatMatrix mul(float alpha, FloatMatrix A, FloatMatrix B); FloatMatrix div(float alpha, FloatMatrix A, FloatMatrix B); double add(int i, int j, float alpha, float beta); FloatMatrix add(int i, int j, float alpha, float beta, FloatMatrix B); FloatMatrix add(float alpha, float beta, FloatMatrix B); FloatMatrix add(float alpha, float[] x, float[] y); FloatMatrix replaceNaN(float x); float sum(); float norm1(); float norm2(); float norm(); float normInf(); float normFro(); float xAx(float[] x); float[] rowSums(); float[] rowMeans(); float[] rowSds(); float[] colSums(); float[] colMeans(); float[] colSds(); FloatMatrix scale(); FloatMatrix scale(float[] center, float[] scale); FloatMatrix inverse(); void mv(Transpose trans, float alpha, FloatBuffer x, float beta, FloatBuffer y); @Override void mv(Transpose trans, float alpha, float[] x, float beta, float[] y); @Override void mv(float[] work, int inputOffset, int outputOffset); @Override void tv(float[] work, int inputOffset, int outputOffset); void mm(Transpose transA, Transpose transB, float alpha, FloatMatrix B, float beta, FloatMatrix C); FloatMatrix ata(); FloatMatrix aat(); FloatMatrix adb(Transpose transA, Transpose transB, FloatMatrix B, float[] diag); FloatMatrix mm(FloatMatrix B); FloatMatrix mt(FloatMatrix B); FloatMatrix tm(FloatMatrix B); FloatMatrix tt(FloatMatrix B); LU lu(); LU lu(boolean overwrite); Cholesky cholesky(); Cholesky cholesky(boolean overwrite); QR qr(); QR qr(boolean overwrite); SVD svd(); SVD svd(boolean vectors, boolean overwrite); EVD eigen(); EVD eigen(boolean vl, boolean vr, boolean overwrite);  }