public InMemoryJBlasMatrix(final int rowNum, final int colNum,
final ErrorProcessor errorProcessor) {
if (errorProcessor != null) {
this.errorProcessor = errorProcessor;
} else {
this.errorProcessor = new SystemErrorProcessor();
}
if (rowNum == 0 && colNum == 0) {
throw new UnsupportedOperationException(
"Matrix should have more than zero elements.");