public class Dataset extends Object
| Constructor and Description |
|---|
Dataset(float[][] matrix) |
Dataset(int rows,
int cols) |
public Dataset(int rows,
int cols)
public Dataset(float[][] matrix)
public void setColLabel(int n,
String label)
public void setRowLabel(int n,
String label)
public String getRowTitle()
public String getColTitle()
public void setColTitle(String colTitle)
public void setRowTitle(String rowTitle)
public int getNbRows()
public int getNbCols()
public String getFormat()
public void setFormat(String format)
public String[][] getMatrix()
public void addValueToMatrix(int row,
int coll,
float value)
public void addValueToMatrix(int row,
int coll,
String value)
throws ParseException
ParseExceptionpublic boolean containsNonZeroValues()
public void flipRowCols()
public ByteArrayOutputStream exportAsCSV() throws IOException
IOExceptionCopyright © 2022 LYRASIS. All rights reserved.