linear sequence transformation