#include "apply.h" void apply( Int2Int& f, int A[], int n) { for (int i=0 ; i < n ; i++) { A[i] = f( A[i] ) ; } }