Package eu.simuline.octave.io.impl
Class MatrixReader
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataReader
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader<OctaveDouble>
-
- eu.simuline.octave.io.impl.MatrixReader
-
public final class MatrixReader extends AbstractPrimitiveMatrixReader<OctaveDouble>
The reader for the octave type "matrix" (of double) reading anOctaveDoublefrom aBufferedReader.
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description MatrixReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) OctaveDoublecreateOctaveValue(int[] size)StringoctaveType()Could be "scalar" or "string" or something else.-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader
read, readSize2dmatrix
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataReader
getOctaveDataReader
-
-
-
-
Method Detail
-
octaveType
public String octaveType()
Description copied from class:OctaveDataReaderCould be "scalar" or "string" or something else.- Specified by:
octaveTypein classOctaveDataReader- Returns:
- the string representation of the octave type
read by this
OctaveDataReader
-
createOctaveValue
OctaveDouble createOctaveValue(int[] size)
- Specified by:
createOctaveValuein classAbstractPrimitiveMatrixReader<OctaveDouble>
-
-