E
- 1D matrix element typepublic abstract class AbstractMatrix1DWriter<E> extends Object implements Matrix1DWriter<E>
Constructor and Description |
---|
AbstractMatrix1DWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(Matrix1D<? extends E> matrix,
File file)
Write the specified 1D matrix to the specified file.
|
void |
write(Matrix1D<? extends E> matrix,
OutputStream outputStream)
Write the specified 1D matrix to the specified output stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append
public final void write(Matrix1D<? extends E> matrix, File file) throws IOException
write
in interface Matrix1DWriter<E>
matrix
- 1D matrix to write, must not be nullfile
- file to write to, must not be nullIOException
- if an IO error occurspublic final void write(Matrix1D<? extends E> matrix, OutputStream outputStream) throws IOException
write
in interface Matrix1DWriter<E>
matrix
- 1D matrix to write, must not be nulloutputStream
- output stream to write to, 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).