Processing data by linear transform