Generalizations of the Virasoro algebra and matrix Sturm–Liouville operators