Fast Padé transform for magnetic resonance imaging and computerized tomography