public abstract class AbstractMatrixMarketReader extends AbstractMatrix2DReader<Double>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
AbstractMatrixMarketReader.ReaderStrategy
Strategy for handling symmetry structure.
|
Constructor and Description |
---|
AbstractMatrixMarketReader() |
Modifier and Type | Method and Description |
---|---|
protected Double |
parse(String value)
Parse the specified value to an instance of type
E . |
Matrix2D<Double> |
read(InputStream inputStream)
Read a 2D matrix from the specified input stream.
|
createMatrix2D, read, read
protected Double parse(String value)
E
.
Not used in this implementation, parse functionality is provided by reader strategy.parse
in class AbstractMatrix2DReader<Double>
value
- value to parseE
public final Matrix2D<Double> read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an IO error occursCopyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).