Constructor and Description |
---|
NoTransform() |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
File |
transform(File inputMatrixFile,
MatrixIO.Format format)
Transforms the matrix in the file using the an implemented method and
returns a temporary file containing the result.
|
void |
transform(File inputMatrixFile,
MatrixIO.Format inputFormat,
File outputMatrixFile)
Transforms the input matrix using the implemented method and writes the
result to the file for the output matrix.
|
Matrix |
transform(Matrix input)
Returns a transformed matrix based on the given matrix.
|
Matrix |
transform(Matrix input,
Matrix output)
Returns a transformed matrix based on the given matrix.
|
public File transform(File inputMatrixFile, MatrixIO.Format format) throws IOException
transform
in interface Transform
inputMatrixFile
- a file containing a matrix in the specified formatformat
- the format of the matrixIOException
- if any error occurs while reading the input matrix or
writing the output matrixpublic void transform(File inputMatrixFile, MatrixIO.Format inputFormat, File outputMatrixFile) throws IOException
transform
in interface Transform
inputMatrixFile
- a file containing a matrix in the specified formatinputFormat
- the format of the input matrix, and the format in
which the output matrix will be writtenoutputMatrixFile
- the file to which the transformed matrix will be
writtenIOException
- if any error occurs while reading the input matrix or
writing the output matrixpublic Matrix transform(Matrix input)
public Matrix transform(Matrix input, Matrix output)
Copyright © 2012. All Rights Reserved.