def MakePmf(self, xs, name='<STR_LIT>'):
pmf = Pmf(name=name)<EOL>for x in xs:<EOL><INDENT>pmf.Set(x, self.Density(x))<EOL><DEDENT>pmf.Normalize()<EOL>return pmf<EOL>
Makes a discrete version of this Pdf, evaluated at xs.

        xs: equally-spaced sequence of values

        Returns: new Pmf