@Test public void testNrows() { System.out.println("nrows"); assertEquals(3, sparse.nrows()); }
@Override public int nrows() { return m; }
SparseMatrix extends DMatrix implements Iterable<SparseMatrix.Entry> { @Override public int nrows() { return m; } }
SparseMatrix extends DMatrix implements Iterable<SparseMatrix.Entry> { @Override public int nrows() { return m; } private  SparseMatrix(int m, int n, int nvals);  SparseMatrix(int m, int n, double[] nonzeros, int[] rowIndex, int[] colIndex);  SparseMatrix(double[][] A);  SparseMatrix(double[][] A, double tol); }
SparseMatrix extends DMatrix implements Iterable<SparseMatrix.Entry> { @Override public int nrows() { return m; } private  SparseMatrix(int m, int n, int nvals);  SparseMatrix(int m, int n, double[] nonzeros, int[] rowIndex, int[] colIndex);  SparseMatrix(double[][] A);  SparseMatrix(double[][] A, double tol); @Override SparseMatrix clone(); @Override int nrows(); @Override int ncols(); @Override long size(); Stream<Entry> nonzeros(); Stream<Entry> nonzeros(int beginColumn, int endColumn); @Override Iterator<Entry> iterator(); Iterator<Entry> iterator(int beginColumn, int endColumn); void forEachNonZero(DoubleConsumer consumer); void forEachNonZero(int beginColumn, int endColumn, DoubleConsumer consumer); double get(int index); double set(int index, double value); @Override double get(int i, int j); @Override SparseMatrix set(int i, int j, double x); @Override void mv(Transpose trans, double alpha, double[] x, double beta, double[] y); @Override void mv(double[] work, int inputOffset, int outputOffset); @Override void tv(double[] work, int inputOffset, int outputOffset); SparseMatrix transpose(); SparseMatrix mm(SparseMatrix B); SparseMatrix ata(); SparseMatrix aat(); @Override double[] diag(); static SparseMatrix harwell(Path path); static SparseMatrix rutherford(Path path); static SparseMatrix text(Path path); }
SparseMatrix extends DMatrix implements Iterable<SparseMatrix.Entry> { @Override public int nrows() { return m; } private  SparseMatrix(int m, int n, int nvals);  SparseMatrix(int m, int n, double[] nonzeros, int[] rowIndex, int[] colIndex);  SparseMatrix(double[][] A);  SparseMatrix(double[][] A, double tol); @Override SparseMatrix clone(); @Override int nrows(); @Override int ncols(); @Override long size(); Stream<Entry> nonzeros(); Stream<Entry> nonzeros(int beginColumn, int endColumn); @Override Iterator<Entry> iterator(); Iterator<Entry> iterator(int beginColumn, int endColumn); void forEachNonZero(DoubleConsumer consumer); void forEachNonZero(int beginColumn, int endColumn, DoubleConsumer consumer); double get(int index); double set(int index, double value); @Override double get(int i, int j); @Override SparseMatrix set(int i, int j, double x); @Override void mv(Transpose trans, double alpha, double[] x, double beta, double[] y); @Override void mv(double[] work, int inputOffset, int outputOffset); @Override void tv(double[] work, int inputOffset, int outputOffset); SparseMatrix transpose(); SparseMatrix mm(SparseMatrix B); SparseMatrix ata(); SparseMatrix aat(); @Override double[] diag(); static SparseMatrix harwell(Path path); static SparseMatrix rutherford(Path path); static SparseMatrix text(Path path);  }