// We construct a dense matrix for later multiplication
startTimer();
AMatrix t=Matrixx.createRandomMatrix(SIZE, CSIZE);
printTime("Construct dense matrix: ");
System.out.println("Dense element sum = "+t.elementSum());
// Finally compute the innerProduct (matrix multiplication) of
// sparse matrix with dense matrix
startTimer();
AMatrix result=m.innerProduct(t);
printTime("Multiply with dense matrix: ");
System.out.println("Result element sum = "+result.elementSum());
// if this demo is working, the element sum should be roughly the same before and after transformation
// (modulo some small numerical errors)
// ----------------------------------------------------------------------
// Construct another (smaller) sparse matrix.