docs: function cmax( arr ) {
  	if ( !Array.isArray( arr ) ) {
  		throw new TypeError( 'cmax()::invalid input argument. Must provide an array.' );
  	}
  	var len = arr.length,
  		v = new Array( len ),
  		max;
  
  	max = arr[ 0 ];
  	v[ 0 ] = max;
  	for ( var i = 1; i < len; i++ ) {
  		if ( arr[ i ] > max ) {
  			max = arr[ i ];
  		}
  		v[ i ] = max;
  	}
  	return v;
  }