code: def samples(self, nsamples, rstate=None):
          
  
          if rstate is None:
              rstate = np.random
  
          xs = np.array([self.sample(rstate=rstate) for i in range(nsamples)])
  
          return xs
docs: Draw `nsamples` samples randomly distributed within the unit cube.
  
          Returns
          -------
          x : `~numpy.ndarray` with shape (nsamples, ndim)
              A collection of coordinates within the unit cube.