export dense smatrix