title: How to rotate an array by ± 180° in an efficient way?
body: <p>What is the best algorithm to rotate a non-square M×N array by 180° around its center, using the least memory and operations, for C langages and derivatives (Python, Cython, pure C) ?</p>