public class MatrixVectorWriter extends PrintWriter
Constructor and Description |
---|
MatrixVectorWriter(OutputStream out)
Constructor for MatrixVectorWriter
|
MatrixVectorWriter(OutputStream out,
boolean autoFlush)
Constructor for MatrixVectorWriter
|
MatrixVectorWriter(Writer out)
Constructor for MatrixVectorWriter
|
MatrixVectorWriter(Writer out,
boolean autoFlush)
Constructor for MatrixVectorWriter
|
Modifier and Type | Method and Description |
---|---|
void |
add(int num,
int[] indexes)
Shifts the indexes.
|
void |
printArray(double[] data)
Prints an array to the underlying stream.
|
void |
printArray(double[] dataR,
double[] dataI)
Prints an array to the underlying stream.
|
void |
printArray(float[] data)
Prints an array to the underlying stream.
|
void |
printArray(float[] dataR,
float[] dataI)
Prints an array to the underlying stream.
|
void |
printArray(int[] data)
Prints an array to the underlying stream.
|
void |
printArray(long[] data)
Prints an array to the underlying stream.
|
void |
printComments(String[] comments)
Prints all the comments.
|
void |
printCoordinate(int[] index,
double[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
double[] dataR,
double[] dataI)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
double[] dataR,
double[] dataI,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
double[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
float[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
float[] dataR,
float[] dataI)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
float[] dataR,
float[] dataI,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
float[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
int[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
double[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
double[] dataR,
double[] dataI)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
double[] dataR,
double[] dataI,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
double[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
float[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
float[] dataR,
float[] dataI)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
float[] dataR,
float[] dataI,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
float[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
int[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
int[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
int[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
long[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] row,
int[] column,
long[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
long[] data)
Prints the coordinate format to the underlying stream.
|
void |
printCoordinate(int[] index,
long[] data,
int offset)
Prints the coordinate format to the underlying stream.
|
void |
printMatrixInfo(MatrixInfo info)
Prints the matrix info
|
void |
printMatrixSize(MatrixSize size)
Prints the matrix size.
|
void |
printMatrixSize(MatrixSize size,
MatrixInfo info)
Prints the matrix size
|
void |
printPattern(int[] index)
Prints the coordinates to the underlying stream.
|
void |
printPattern(int[] index,
int offset)
Prints the coordinates to the underlying stream.
|
void |
printPattern(int[] row,
int[] column)
Prints the coordinates to the underlying stream.
|
void |
printPattern(int[] row,
int[] column,
int offset)
Prints the coordinates to the underlying stream.
|
void |
printVectorInfo(VectorInfo info)
Prints the vector info
|
void |
printVectorSize(VectorSize size)
Prints the vector size.
|
void |
printVectorSize(VectorSize size,
VectorInfo info)
Prints the vector size
|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, write, write, write, write, write
public MatrixVectorWriter(OutputStream out)
out
- public MatrixVectorWriter(OutputStream out, boolean autoFlush)
out
- autoFlush
- public MatrixVectorWriter(Writer out)
out
- public MatrixVectorWriter(Writer out, boolean autoFlush)
out
- autoFlush
- public void add(int num, int[] indexes)
num
- Added to every indexindexes
- indexes to shiftpublic void printMatrixInfo(MatrixInfo info)
public void printVectorInfo(VectorInfo info)
public void printMatrixSize(MatrixSize size, MatrixInfo info)
public void printMatrixSize(MatrixSize size)
public void printVectorSize(VectorSize size, VectorInfo info)
public void printVectorSize(VectorSize size)
public void printArray(float[] data)
public void printArray(double[] data)
public void printArray(float[] dataR, float[] dataI)
public void printArray(double[] dataR, double[] dataI)
public void printArray(int[] data)
public void printArray(long[] data)
public void printCoordinate(int[] index, float[] data, int offset)
public void printCoordinate(int[] index, double[] data, int offset)
public void printCoordinate(int[] index, int[] data, int offset)
public void printCoordinate(int[] index, long[] data, int offset)
public void printCoordinate(int[] row, int[] column, float[] data, int offset)
public void printCoordinate(int[] row, int[] column, double[] data, int offset)
public void printCoordinate(int[] index, float[] dataR, float[] dataI, int offset)
public void printCoordinate(int[] index, double[] dataR, double[] dataI, int offset)
public void printCoordinate(int[] row, int[] column, float[] dataR, float[] dataI, int offset)
public void printCoordinate(int[] row, int[] column, double[] dataR, double[] dataI, int offset)
public void printCoordinate(int[] row, int[] column, int[] data, int offset)
public void printCoordinate(int[] row, int[] column, long[] data, int offset)
public void printPattern(int[] row, int[] column, int offset)
public void printPattern(int[] index, int offset)
public void printCoordinate(int[] row, int[] column, float[] data)
public void printCoordinate(int[] row, int[] column, double[] data)
public void printCoordinate(int[] row, int[] column, float[] dataR, float[] dataI)
public void printCoordinate(int[] row, int[] column, double[] dataR, double[] dataI)
public void printCoordinate(int[] row, int[] column, int[] data)
public void printCoordinate(int[] row, int[] column, long[] data)
public void printPattern(int[] row, int[] column)
public void printCoordinate(int[] index, float[] data)
public void printCoordinate(int[] index, double[] data)
public void printCoordinate(int[] index, float[] dataR, float[] dataI)
public void printCoordinate(int[] index, double[] dataR, double[] dataI)
public void printCoordinate(int[] index, int[] data)
public void printCoordinate(int[] index, long[] data)
public void printPattern(int[] index)
public void printComments(String[] comments)
Jump to the Parallel Colt Homepage