add sparse_real for real sparse matrix