return sm;
}
public static void main(String[] args) {
SparseRowMatrix sm=createMatrix();
System.out.println(sm.nonZeroCount() +" elements are non-zero out of " + sm.elementCount()+" total elements");
AMatrix smm=sm.innerProduct(sm);
System.out.println(smm.nonZeroCount() +" elements are non-zero in the product.");
}