sparse analysis with ptr info, if necessary