public class SuperByteMatrixBuilder
public static SuperByteMatrix getInstance(int numRows, int numColumns)
This returns a SuperByteMatrix designed for better performance when column iteration loop inside row iteration loop.
numRows - number of rowsnumColumns - number of columnspublic static SuperByteMatrix getInstanceSingleValue(int numRows, int numColumns, byte value)
public static SuperByteMatrix getInstanceCopy(SuperByteMatrix matrix)
public static SuperByteMatrix getInstanceTranspose(int numRows, int numColumns)
This returns a SuperByteMatrix designed for better performance when row iteration loop inside column iteration loop.
numRows - number of rowsnumColumns - number of columnspublic static SuperByteMatrix getInstanceTranspose(SuperByteMatrix matrix)
This returns a SuperByteMatrix that performs better in the reverse row / column iteration nesting than the given matrix.
matrix - input matrix