int i4_abs ( int i ); void i4vec_copy ( int n, int a1[], int a2[] ); int *i4vec_copy_new ( int n, int a1[] ); int i4vec_dot_product ( int n, int x[], int y[] ); int i4vec_sum ( int n, int a[] ); void partition_brute ( int n, int w[], int c[], int &discrepancy ); int partition_count ( int n, int w[] ); void subset_next ( int n, int t[], int &rank ); void timestamp ( );