class_docstr: .. warning::
  
      This class is deprecated, to be removed in PyOpenCL 2018.x.
  
  .. versionadded:: 2011.2
  
  .. attribute:: state
  
      A :class:`pyopencl.array.Array` containing the state of the generator.
  
  .. attribute:: nskip
  
      nskip is an integer which can (optionally) be defined in the kernel
      code as RANLUXCL_NSKIP. If this is done the generator will be faster
      for luxury setting 0 and 1, or when the p-value is manually set to a
      multiple of 24.
class_docstr_tok: ["..","warning",":",":","This","class","is","deprecated",",","to","be","removed","in","PyOpenCL","2018.x",".","..","versionadded",":",":","2011.2","..","attribute",":",":","state","A",":","class",":","`","pyopencl.array.Array","`","containing","the","state","of","the","generator",".","..","attribute",":",":","nskip","nskip","is","an","integer","which","can","(","optionally",")","be","defined","in","the","kernel","code","as","RANLUXCL_NSKIP",".","If","this","is","done","the","generator","will","be","faster","for","luxury","setting","0","and","1",",","or","when","the","p-value","is","manually","set","to","a","multiple","of","24","."]
docstr: Make a new empty array, apply :meth:`fill_uniform` to it.
          
docstr_tok: ["Make","a","new","empty","array",",","apply",":","meth",":","`","fill_uniform","`","to","it","."]
code: def uniform(self, *args, **kwargs):
      """Make a new empty array, apply :meth:`fill_uniform` to it."""
      a = kwargs.pop("a", 0)
      b = kwargs.pop("b", 1)
  
      result = cl_array.empty(*args, **kwargs)
      self.fill_uniform(result, queue=result.queue, a=a, b=b)
      return result
  
imports: import pyopencl
  import pyopencl.array
  import pyopencl.cltypes
  from pyopencl.tools import first_arg_dependent_memoize
  from pytools import memoize_method
  import numpy
label_desc: Use image node_id 5 for calling the RanluxGenerator obj's underlying member method code with example usage: obj.uniform() and returns: result