Operational amplifiers can be combined with diodes and resistors to perform nearly ideal rectification, satisfying eo = |ei|. The diodes are situated within the feedback loop, so that the diode forward voltage drop is reduced at the output by the feedback factor. Read full article