Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BandCopy

Native copies used by the band-preparation caller #

Main results #

Copying uses only the original seven-register routine and its actual native cost. The persistent high register bank is untouched; arbitrary outside memory is preserved by the explicit copyPrefix result.

Protect the entire original initialized prefix, including header zero, with the actual native copy. Source words and all memory outside the snapshot block remain untouched.

Restore the complete original input using the reverse disjoint-copy case. This copies the actual protected words rather than reconstructing or assuming the input is unchanged.