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 anOctaveDouble
from 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) OctaveDouble
createOctaveValue(int[] size)
String
octaveType()
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:OctaveDataReader
Could be "scalar" or "string" or something else.- Specified by:
octaveType
in classOctaveDataReader
- Returns:
- the string representation of the octave type
read by this
OctaveDataReader
-
createOctaveValue
OctaveDouble createOctaveValue(int[] size)
- Specified by:
createOctaveValue
in classAbstractPrimitiveMatrixReader<OctaveDouble>
-
-