Generalize scale(scaleinfo,A) to AbstractArrays