require both large and sparse ssystem for using the sparse linear solver in sp_expm