public FilterMatrix(int rows, int cols) {  if ((rows <= 0) || (cols <= 0)) { throw new IllegalArgumentException("Illegal dimensions:("+rows+","+cols+")"); }  this.internalMatrix = new ComplexNumber[rows][cols]; this.internalSizeRows = rows; this.internalSizeCols = cols;  for (int i=0; i<rows; i++) { for (int j=0; j<cols; j++) { this.internalMatrix[i][j] = ComplexNumber.ZERO; } }
FilterMatrix() { super();
    public FilterMatrix(int rows, int cols) {	// a little sanity check to make sure we aren't starting with negative dimensions	if ((rows <= 0) || (cols <= 0)) {	    throw new IllegalArgumentException("Illegal dimensions:("+rows+","+cols+")");	}	// instantiate the internal matrix, and save the dimensions 	this.internalMatrix = new ComplexNumber[rows][cols];	this.internalSizeRows = rows;	this.internalSizeCols = cols;	// initialize all to 0 	for (int i=0; i<rows; i++) {	    for (int j=0; j<cols; j++) {		this.internalMatrix[i][j] = ComplexNumber.ZERO;	    }	}	//checkRep();    }