code: def defUtilityFuncs(self):
          '''
          Defines CRRA utility function for this period (and its derivatives,
          and their inverses), saving them as attributes of self for other methods
          to use.  Extends version from ConsIndShock models by also defining inverse
          marginal utility function over medical care.
  
          Parameters
          ----------
          none
  
          Returns
          -------
          none
          '''
          ConsGenIncProcessSolver.defUtilityFuncs(self) # Do basic version
          self.uMedPinv = lambda Med : utilityP_inv(Med,gam=self.CRRAmed)
          self.uMed     = lambda Med : utility(Med,gam=self.CRRAmed)
          self.uMedPP   = lambda Med : utilityPP(Med,gam=self.CRRAmedf defUtilityFuncs(self):
          '''
          Defines CRRA utility function for this period (and its derivatives,
          and their inverses), saving them as attributes of self for other methods
          to use.  Extends version from ConsIndShock models by also defining inverse
          marginal utility function over medical care.
  
          Parameters
          ----------
          none
  
          Returns
          -------
          none
          '''
          ConsGenIncProcessSolver.defUtilityFuncs(self) # Do basic version
          self.uMedPinv = lambda Med : utilityP_inv(Med,gam=self.CRRAmed)
          self.uMed     = lambda Med : utility(Med,gam=self.CRRAmed)
          self.uMedPP   = lambda Med : utilityPP(Med,gam=self.CRRAmed)
docs: Defines CRRA utility function for this period (and its derivatives,
          and their inverses), saving them as attributes of self for other methods
          to use.  Extends version from ConsIndShock models by also defining inverse
          marginal utility function over medical care.
  
          Parameters
          ----------
          none
  
          Returns
          -------
          none