public class CRSValues
extends java.lang.Object
Constructor and Description |
---|
CRSValues() |
CRSValues(int[] rowOffs,
int[] colIdxs,
double[] values,
int ncols) |
CRSValues(Matrix M) |
Modifier and Type | Method and Description |
---|---|
int |
colSize() |
void |
decrementIndices() |
int[] |
getColIdxs() |
int[] |
getRowIdxs() |
int[] |
getRowOffs() |
double[] |
getValues() |
void |
incrementIndices() |
int |
numNonZeros() |
int |
rowSize() |
void |
scan(ReaderTokenizer rtok) |
void |
scan(java.lang.String filename) |
void |
write(java.io.File file,
java.lang.String fmtStr) |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt) |
boolean |
write(java.lang.String fileName) |
boolean |
write(java.lang.String fileName,
java.lang.String fmtStr) |
public CRSValues()
public CRSValues(Matrix M)
public CRSValues(int[] rowOffs, int[] colIdxs, double[] values, int ncols)
public int rowSize()
public int colSize()
public int numNonZeros()
public double[] getValues()
public int[] getRowOffs()
public int[] getColIdxs()
public int[] getRowIdxs()
public void incrementIndices()
public void decrementIndices()
public boolean write(java.lang.String fileName)
public boolean write(java.lang.String fileName, java.lang.String fmtStr)
public void write(java.io.File file, java.lang.String fmtStr) throws java.io.IOException
java.io.IOException
public void write(java.io.PrintWriter pw, NumberFormat fmt) throws java.io.IOException
java.io.IOException
public void scan(ReaderTokenizer rtok) throws java.io.IOException
java.io.IOException
public void scan(java.lang.String filename)