class_docstr: Binomial Distribution 
class_docstr_tok: ["Binomial","Distribution"]
docstr: Returns pmf of distribution at x. 
code: def pmf(self, k):
      """Returns pmf of distribution at x."""
      value = np.math.factorial(self.n)
      value = value / float(
          (np.math.factorial(k) * np.math.factorial(self.n - k))
      )
      return np.asscalar(
          value * np.power(self.p, k) * np.power(1 - self.p, self.n - k)
      )
  
imports: from __future__ import absolute_import
  import numpy
  from .distribution import Discrete
  from ..exd import domains
label_desc: Use image node_id 2 for calling the Binomial obj's underlying member method code with example usage: obj.pmf(k) and returns: np