Dynamic mapping of adaptive computations onto linear arrays