Reverse the direction of (an alternating electric current) each half cycle so as to produce a unidirectional current