Classical and quantum-mechanical transition between regularity and irregularity in a Hamiltonian system.