Data Layout row col reshape split concat subtoind indtosub stack flatten unstack riffle matrix unmatrix lines unlines unzip findsub randsample randperm flip