Help for this page

Select Code to Download


  1. or download this
    for i ( 0 .. n ) {
        f( a[i] );  // the required stuff for a[]
        f'( b[i] );  // the required stuff for b[]
        g( a[i], b[i] ); // and whilst we have them, do something to, or a
    +ccumulate some statistic, that might help the subsequent merge.
    }
    
  2. or download this
    f( a[0] ); f'( b[0] );
    for i ( 1 .. n ) {
    ...
        g( a[i], a[i-1] );
        g'( b[i], b[i-1] );
    }