Comparison of the influence of acute transmural and nontransmural myocardial infarction on ventricular function