Restricted-domain functions