code: def gen_toyn(f, nsample, ntoy, bound, accuracy=10000, quiet=True, **kwd):
      
      return gen_toy(f, nsample * ntoy, bound, accuracy, quiet, **kwd).reshape((ntoy, nsample))
docs: just alias of gentoy for nample and then reshape to ntoy,nsample)
      :param f:
      :param nsample:
      :param bound:
      :param accuracy:
      :param quiet:
      :param kwd:
      :return: