Package eu.simuline.octave.io.impl
Class MatrixWriter
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataWriter<T>
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter<T>
-
- eu.simuline.octave.io.impl.AbstractLogicalFloatingPointWriter<OctaveDouble>
-
- eu.simuline.octave.io.impl.MatrixWriter
-
public final class MatrixWriter extends AbstractLogicalFloatingPointWriter<OctaveDouble>
The writer for the octave types "matrix" (of double) and "scalar" (of double) writing anOctaveDouble
to aWriter
.
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description MatrixWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<OctaveDouble>
javaType()
Could be OctaveScalar or OctaveMatrix.protected String
octaveMatrixType()
protected String
octaveScalarType()
-
Methods inherited from class eu.simuline.octave.io.impl.AbstractLogicalFloatingPointWriter
write
-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
saveDataVectorized
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataWriter
getOctaveDataWriter
-
-
-
-
Method Detail
-
javaType
public Class<OctaveDouble> javaType()
Description copied from class:OctaveDataWriter
Could be OctaveScalar or OctaveMatrix.- Specified by:
javaType
in classOctaveDataWriter<OctaveDouble>
- Returns:
- the
Class
of theOctaveObject
that this IO handler loads and saves
-
octaveMatrixType
protected String octaveMatrixType()
- Specified by:
octaveMatrixType
in classAbstractPrimitiveMatrixWriter<OctaveDouble>
-
octaveScalarType
protected String octaveScalarType()
- Specified by:
octaveScalarType
in classAbstractPrimitiveMatrixWriter<OctaveDouble>
-
-