Expansions for spherical functions on noncompact symmetric spaces